Difference between revisions of "Template:Taxon name"

From Species-ID
Jump to: navigation, search
(remove line break)
 
(4 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{#ifeq:{{{1|}}} | {{PAGENAME}} | {{{2|{{{1|}}}}}} | [[{{{1|}}}|{{{2|{{{1|}}}}}}]] }}
+
<includeonly>{{#ifeq:{{{1|}}} | {{PAGENAME}} | {{{2|{{{1|}}}}}}<!--
 
+
  Link to be displyed
{{#if:{{{ZooBank LSID|}}}|<sup>[http://zoobank.org/?lsid={{{ZooBank LSID}}} ZBK]</sup>}}
+
then -->| [[{{{1|}}}|{{{2|{{{1|}}}}}}]] }}<!--
{{#if:{{{Hymenoptera Nameserver LSID|}}}|<sup>[http://osuc.biosci.ohio-state.edu/hymenoptera/nomenclator.lsid_entry?lsid={{{Hymenoptera Nameserver LSID}}} HNS]</sup>}}
+
  external links
<noinclude>
+
-->{{
First parameter is unformatted taxon name, e.g. "1=Aus bus subsp. cus", second parameter is formatted or abbreviated taxon name, e.g., "2=''A. bus'' subsp. ''cus''"
+
#if:{{{ZooBank LSID|}}}<!--
 +
then -->|<sup title="Zoological Nomenclature (ZooBank)">[http://zoobank.org/?lsid={{{ZooBank LSID}}} ZBK]</sup>}}<!--
 +
-->{{
 +
#if:{{{Hymenoptera Nameserver LSID|}}}<!--
 +
then -->|<sup title="Hymenoptera Name Server">[http://osuc.biosci.ohio-state.edu/hymenoptera/nomenclator.lsid_entry?lsid={{{Hymenoptera Nameserver LSID}}} HNS]</sup>}}</includeonly><noinclude>
  
 +
Parameter:
 +
# unformatted taxon name, e.g. "1=Aus bus subsp. cus",
 +
# formatted or abbreviated taxon name, e.g., "2=''A. bus'' subsp. ''cus''"
 
This also supports external taxonomic databases. Currently:
 
This also supports external taxonomic databases. Currently:
* ZooBank LSID =  
+
* [http://zoobank.org ZooBank LSID] =
* Hymenoptera Nameserver LSID =  
+
* [http://osuc.biosci.ohio-state.edu/Hymenoptera Nameserver LSID] =
  
Example:
+
 
<nowiki>{{Taxon name|Anochetus boltoni Fisher|''Anochetus boltoni'' Fisher
+
Example:<br />
 +
<pre style="border:0px none;">
 +
{{Taxon name
 +
|Anochetus boltoni Fisher |''Anochetus boltoni'' Fisher
 
|ZooBank LSID = urn:lsid:zoobank.org:act:B6C072CF-1CA6-40C7-8396-534E91EF7FBB
 
|ZooBank LSID = urn:lsid:zoobank.org:act:B6C072CF-1CA6-40C7-8396-534E91EF7FBB
 
|Hymenoptera Nameserver LSID = urn:lsid:biosci.ohio-state.edu:osuc_concepts:235700
 
|Hymenoptera Nameserver LSID = urn:lsid:biosci.ohio-state.edu:osuc_concepts:235700
 
}}
 
}}
</nowiki>
+
</pre>
results in:
+
…results in:
 +
 
 
{{Taxon name|Anochetus boltoni Fisher|''Anochetus boltoni'' Fisher
 
{{Taxon name|Anochetus boltoni Fisher|''Anochetus boltoni'' Fisher
 
|ZooBank LSID = urn:lsid:zoobank.org:act:B6C072CF-1CA6-40C7-8396-534E91EF7FBB
 
|ZooBank LSID = urn:lsid:zoobank.org:act:B6C072CF-1CA6-40C7-8396-534E91EF7FBB
Line 22: Line 33:
 
}}
 
}}
  
Later add semantic properties, etc.!  
+
Later add semantic properties, etc.!
  
  

Latest revision as of 21:45, 13 August 2012


Parameter:

  1. unformatted taxon name, e.g. "1=Aus bus subsp. cus",
  2. formatted or abbreviated taxon name, e.g., "2=A. bus subsp. cus"

This also supports external taxonomic databases. Currently:


Example:

{{Taxon name
|Anochetus boltoni Fisher |''Anochetus boltoni'' Fisher
|ZooBank LSID = urn:lsid:zoobank.org:act:B6C072CF-1CA6-40C7-8396-534E91EF7FBB
|Hymenoptera Nameserver LSID = urn:lsid:biosci.ohio-state.edu:osuc_concepts:235700
}}

…results in:

Anochetus boltoni Fisher ZBKHNS

Later add semantic properties, etc.!