Difference between revisions of "Template:Cite DIB/doc"
imported>PBS (icon paramter) |
imported>John of Reading (→Usage: Copyedited the "wstitle" description) |
||
| Line 20: | Line 20: | ||
In addition to the full range of parameters provided by [[WP:CS1]] there are some specialised parameters | In addition to the full range of parameters provided by [[WP:CS1]] there are some specialised parameters | ||
| − | *{{para|wstitle}} — links to | + | *{{para|wstitle}} — links to a [[S:Dictionary of Indian Biography|Dictionary of Indian Biography]] article on [[Wikisource]]; an alternative to the standard parameter{{tlx|title}}. |
*{{para|display}} — will display the text assigned to it in place of that for {{para|wstitle}}. This is useful for hiding disambiguation extensions. | *{{para|display}} — will display the text assigned to it in place of that for {{para|wstitle}}. This is useful for hiding disambiguation extensions. | ||
*{{para|short}} — if set to anything it will prevent certain fields from being displayed. Useful to reduce verbiage when the template is used in the "External links" section. | *{{para|short}} — if set to anything it will prevent certain fields from being displayed. Useful to reduce verbiage when the template is used in the "External links" section. | ||
Latest revision as of 08:48, 4 November 2020
| This is a documentation subpage for Template:Cite DIB. It contains usage information, categories and other content that is not part of the original template page. |
| This template is a Citation Style 1 wrapper template based on {{Cite encyclopedia}}. For centralised Citation Style 1 discussions, see Help talk:Citation Style 1. |
This template provides a quick, standard method of citing the Dictionary of Indian Biography
It is a wrapper around the standard citation template {{cite encyclopedia}}. As such it fills out some {{cite encyclopedia}} parameters, but the full range of parameters provided by WP:CS1 are available. To change the appearance of the output to that of {{citation}} use the parameter |mode=cs2.
Usage
All parameters apart from |title= or |wstitle= are optional:
{{cite DIB |title=Abadie, Henry Richard}}
Buckland, C.E. (1906). "Abadie, Henry Richard". Dictionary of Indian Biography. London: Swan Sonnenschein & Co. Lim.
{{cite DIB |wstitle=Abadie, Henry Richard}}
Buckland, C.E. (1906). "Abadie, Henry Richard". Dictionary of Indian Biography. London: Swan Sonnenschein & Co. Lim.
Some parameters are pre-set:
|last=— is set to "Buckland"|first=— is set to "C.E."|date=— is set to "1906"|encyclopedia=— is set to "Dictionary of Indian Biography"|location=— is set to "London"|publisher=— is set to "Swan Sonnenschein & Co. Lim"
In addition to the full range of parameters provided by WP:CS1 there are some specialised parameters
|wstitle=— links to a Dictionary of Indian Biography article on Wikisource; an alternative to the standard parameter{{title}}.|display=— will display the text assigned to it in place of that for|wstitle=. This is useful for hiding disambiguation extensions.|short=— if set to anything it will prevent certain fields from being displayed. Useful to reduce verbiage when the template is used in the "External links" section.|noicon=y (or any other text) — this hides the icon at the start of the citation. It is not the same as the standard wikisource icon as found in{{cite wikisource}}which has been disabled in this template
Maintenance categories
For maintenance categories see: