Template:Reftemp/doc
This is a documentation subpage for Template:Reftemp. It contains usage information, categories, and other content that is not part of the original template page. |
Use as {{subst:reftemp}}
on reference template pages to substitute link to reference page, link to "Find all Wikispecies pages which cite this reference", and add [[Category:Reference templates]]. The {{subst:reftemp}}
code string should always be added as the very last part of a reference template page, without any leading space.
Example
editHere is an example reference template, in this particular case named Template:Günther, 1858a. The code {{subst:reftemp}}
is added at the end of the reference:
* {{a|Albert Günther|Günther, A.}} 1858. {{lang|de|Neue Schlangenarten in der Sammlung des britischen Museums}}. ''[[ISSN 0365-6136|Archiv für Naturgeschichte]]'' 24(1): 221–243. {{BHL page|13715157}}{{subst:reftemp}}
When the template is published, extra code is automatically added:
* {{a|Albert Günther|Günther, A.}} 1858. {{lang|de|Neue Schlangenarten in der Sammlung des britischen Museums}}. ''[[ISSN 0365-6136|Archiv für Naturgeschichte]]'' 24(1): 221–243. {{BHL page|13715157}} <includeonly>[[Template:Günther, 1858a|{{int:Reference page}}]].</includeonly> <noinclude> ** [[Special:WhatLinksHere/Template:{{BASEPAGENAME}}|{{int:Find all Wikispecies pages which cite this reference}}]]. [[Category:Reference templates]]</noinclude>
In Template:Günther, 1858a, a link to "Find all Wikispecies pages which cite this reference" and the category [[Category:Reference templates]] have been added:
- Günther, A. 1858. Neue Schlangenarten in der Sammlung des britischen Museums. Archiv für Naturgeschichte 24(1): 221–243. BHL
When included in a page, the {{Günther, 1858a}}
template will display as:
- Günther, A. 1858. Neue Schlangenarten in der Sammlung des britischen Museums. Archiv für Naturgeschichte 24(1): 221–243. BHL Reference page.