• Home
  • Random
  • Nearby
  • Log in
  • Settings
Donate Now If this site has been useful to you, please give today.
  • About Wikispecies
  • Disclaimers
Wikispecies

Template:Reftemp

  • Language
  • Watch
  • Edit
Template documentation[view] [edit] [history] [purge]

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

edit

Here 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>&nbsp;<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
    • Find all Wikispecies pages which cite this reference.
Category: Reference templates

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. 

See also

edit
  • Wikispecies Help, Reference section: Reference Templates.
The above documentation is transcluded from Template:Reftemp/doc. (edit | history)
Editors can experiment in this template's sandbox (edit | diff) and testcases (create) pages.
Add categories to the /doc subpage. Subpages of this template.
Retrieved from "https://species.wikimedia.org/w/index.php?title=Template:Reftemp&oldid=8072816"
Last edited on 31 October 2020, at 07:19

Languages

      This page is not available in other languages.

      Wikispecies
      • Wikimedia Foundation
      • Powered by MediaWiki
      • This page was last edited on 31 October 2020, at 07:19.
      • Content is available under CC BY-SA 4.0 unless otherwise noted.
      • Privacy policy
      • About Wikispecies
      • Disclaimers
      • Code of Conduct
      • Developers
      • Statistics
      • Cookie statement
      • Terms of Use
      • Desktop