Difference between revisions of "Template:ITIS"

From blackwiki
Jump to navigation Jump to search
(oops)
imported>Graham
(made taxon name and access date optional paramaters; added param list)
Line 1: Line 1:
[http://www.itis.usda.gov/servlet/SingleRpt/SingleRpt?search_topic=TSN&search_value={{{ID}}} ''{{{taxon}}}'' (TSN {{{ID}}})]. ''[[Integrated Taxonomic Information System]].'' Accessed on [[{{{date}}}]] [[{{{year}}}]].<noinclude>
+
[http://www.itis.usda.gov/servlet/SingleRpt/SingleRpt?search_topic=TSN&search_value={{{ID}}} {{ #ifeq: {{{taxon| }}}|{{{taxon|u}}}|{{{taxon}}}  ''{{{taxon}}}'' (TSN {{{ID}}})|TSN {{{ID}}}}}]. ''[[Integrated Taxonomic Information System]].'' {{ #ifeq: {{{date| }}}|{{{date|u}}}|{{{date}}}  Accessed on [[{{{date}}}]] [[{{{year}}}]].|}}<noinclude>
 
==Purpose and description==
 
==Purpose and description==
 
This template creates a link to the [[Integrated Taxonomic Information System]] (ITIS), a database containing scientific names of biological [[taxon|taxa]].  
 
This template creates a link to the [[Integrated Taxonomic Information System]] (ITIS), a database containing scientific names of biological [[taxon|taxa]].  
Line 9: Line 9:
 
creates
 
creates
 
:{{ITIS|ID=506801|taxon=Camellia sinensis|year=2006|date=16 February}}
 
:{{ITIS|ID=506801|taxon=Camellia sinensis|year=2006|date=16 February}}
 +
 +
You can also use this as a TSN reference only by leaving out the taxon name; you may choose this format when you're using this template on second reference. For example:
 +
 +
:<nowiki>{{ITIS|ID=506801}}</nowiki>
 +
creates
 +
:{{ITIS|ID=506801}}
 +
 +
==Parameters==
 +
*'''ID''': The Taxonomic Serial Number (TSN) of the [[taxon]] in [[ITIS]].
 +
*'''taxon''' (Optional): The taxon's name. (Should be included, but in some cases, the taxon's name will be implicit from context.
 +
*'''date''', '''year''' (optional): The date the report was retrieved from [[ITIS]].
 +
 
[[Category:External link templates|{{PAGENAME}}]]
 
[[Category:External link templates|{{PAGENAME}}]]
 
[[Category:Citation templates|{{PAGENAME}}]]
 
[[Category:Citation templates|{{PAGENAME}}]]
 
[[fr:Modèle:ITIS]]
 
[[fr:Modèle:ITIS]]
 
</noinclude>
 
</noinclude>

Revision as of 18:26, 25 August 2006

TSN {{{ID}}}. Integrated Taxonomic Information System.

Purpose and description

This template creates a link to the Integrated Taxonomic Information System (ITIS), a database containing scientific names of biological taxa.

Use and example

To use the template, you first need to search ITIS to find the taxon's ID number. The example wiki text

{{ITIS|ID=506801|taxon=Camellia sinensis|year=2006|date=16 February}}

creates

Camellia sinensis Camellia sinensis (TSN 506801). Integrated Taxonomic Information System. 16 February Accessed on 16 February 2006.

You can also use this as a TSN reference only by leaving out the taxon name; you may choose this format when you're using this template on second reference. For example:

{{ITIS|ID=506801}}

creates

TSN 506801. Integrated Taxonomic Information System.

Parameters

  • ID: The Taxonomic Serial Number (TSN) of the taxon in ITIS.
  • taxon (Optional): The taxon's name. (Should be included, but in some cases, the taxon's name will be implicit from context.
  • date, year (optional): The date the report was retrieved from ITIS.

fr:Modèle:ITIS