Difference between revisions of "Template:Taxon name"

From Species-ID
Jump to: navigation, search
m (added title attributes to <sup>)
m (Layout)
Line 1: Line 1:
{{#ifeq:{{{1|}}} | {{PAGENAME}} | {{{2|{{{1|}}}}}} | [[{{{1|}}}|{{{2|{{{1|}}}}}}]] }}{{
+
<includeonly>{{#ifeq:{{{1|}}} | {{PAGENAME}} | {{{2|{{{1|}}}}}}<!--
#if:{{{ZooBank LSID|}}}|<sup title="Zoological Nomenclature (ZooBank)">[http://zoobank.org/?lsid={{{ZooBank LSID}}} ZBK]</sup>}}{{
+
  Link to be displyed
#if:{{{Hymenoptera Nameserver LSID|}}}|<sup title="Hymenoptera Name Server">[http://osuc.biosci.ohio-state.edu/hymenoptera/nomenclator.lsid_entry?lsid={{{Hymenoptera Nameserver LSID}}} HNS]</sup>}}<noinclude>
+
then -->| [[{{{1|}}}|{{{2|{{{1|}}}}}}]] }}<!--
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''"
+
  external links
 +
-->{{
 +
#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:<br />
 
Example:<br />
<code><nowiki>{{Taxon name|Anochetus boltoni Fisher|''Anochetus boltoni'' Fisher
+
<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></code>results in:
+
</pre>
 +
…results in:
  
 
{{Taxon name|Anochetus boltoni Fisher|''Anochetus boltoni'' Fisher
 
{{Taxon name|Anochetus boltoni Fisher|''Anochetus boltoni'' Fisher
Line 20: Line 34:
 
}}
 
}}
  
Later add semantic properties, etc.!  
+
Later add semantic properties, etc.!
  
  

Revision as of 22:25, 2 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.!