m (Added __NOEDITSECTION__ to hide section edit links.)
m (q)
Line 306: Line 306:
 
| Has taxonomy name={{PAGENAME}}
 
| Has taxonomy name={{PAGENAME}}
 
| Has search name={{lc:{{PAGENAME}} }}
 
| Has search name={{lc:{{PAGENAME}} }}
}}<!--
+
}}<!--{{#ifeq:{{{taxonomic rank|}}}|species|  }}{{#ifeq:{{{taxonomic rank|}}}|subspecies|}}{{#ifeq:{{{taxonomic rank|}}}|variety|}}}--><!--
 
-->{{#arraymap:{{lc:{{{common|}}} }}|,|@@|{{#set:Has search name=@@ }}<!--
 
-->{{#arraymap:{{lc:{{{common|}}} }}|,|@@|{{#set:Has search name=@@ }}<!--
  
Line 315: Line 315:
 
<!-- SEMANTIC DATA -->
 
<!-- SEMANTIC DATA -->
 
<!-- TAXONOMY -->
 
<!-- TAXONOMY -->
 +
{#set:Has binomial name={{#if:{{{binomial|}}} | {{{binomial|}}} | {{PAGENAME}} }} }}
 +
{{#set: Has taxonomic rank={{#if: {{{taxonomic rank|}}} | {{{taxonomic rank}}} | species}} }}
 +
{{#if:{{{subspecific epithet|}}} | {{#set: Has subspecific epithet={{{subspecific epithet|}}} }} }}
 
{{#if:{{{genus|}}} | {{#set:Belongs to genus={{{genus}}} }}[[Category:{{{genus}}}]] | {{#set:Belongs to genus={{#explode: {{PAGENAME}} | | 0}} }} [[Category:{{#explode: {{PAGENAME}} | | 0}}]] }}
 
{{#if:{{{genus|}}} | {{#set:Belongs to genus={{{genus}}} }}[[Category:{{{genus}}}]] | {{#set:Belongs to genus={{#explode: {{PAGENAME}} | | 0}} }} [[Category:{{#explode: {{PAGENAME}} | | 0}}]] }}
{{#if:{{{binomial|}}} | {#set:Has binomial name={{{binomial|}}} }} | {{#set: Has binomial name={{PAGENAME}} }} }}
+
{{#if:{{{family|}}} | {{#set:Belongs to family={{{family|}}} }}[[Category:{{{family|}}}]] }}
{{#set:Belongs to family={{{family|}}} }}[[Category:{{{family|}}}]]
+
 
{{#if:{{{cultivar|}}} | {{#set:Has cultivar name={{{cultivar|}}} }} }}
 
{{#if:{{{cultivar|}}} | {{#set:Has cultivar name={{{cultivar|}}} }} }}
 
{{#if: {{{cultivar group|}}} | {{#set:Has cultivar group name={{{cultivar group|}}} }} }}
 
{{#if: {{{cultivar group|}}} | {{#set:Has cultivar group name={{{cultivar group|}}} }} }}

Revision as of 11:19, 30 May 2013

This is the Plant template. It is used in combination with the Plant form to generate plant articles.

It defines the following semantic properties:

  • to-do - list semantic properties!