Difference between revisions of "Template:Common Names"
From PlantUse English
MarcBrugman (Talk | contribs) (Undo revision 143 by Rémy Doyen (talk)) |
MarcBrugman (Talk | contribs) (Undo revision 141 by Rémy Doyen (talk)) |
||
Line 1: | Line 1: | ||
<includeonly><h2> Names in common use </h2>{{#vardefine: i|1}}{{#vardefine: max|20}}{{#vardefine: Right|}}{{#vardefine: Left|}}{{#while:|{{#ifexpr:{{#var:i}}<={{#var:max}}|true}}|{{#if:{{{group{{#var:i}}|}}}|{{#switch:{{IsPair|{{#var:i}}}}|true={{#vardefine:Right|{{#var:Right}}{{{group{{#var:i}}}}}<br><br>}}|{{#vardefine:Left|{{#var:Left}}{{{group{{#var:i}}}}}<br><br>}}}}|}} | <includeonly><h2> Names in common use </h2>{{#vardefine: i|1}}{{#vardefine: max|20}}{{#vardefine: Right|}}{{#vardefine: Left|}}{{#while:|{{#ifexpr:{{#var:i}}<={{#var:max}}|true}}|{{#if:{{{group{{#var:i}}|}}}|{{#switch:{{IsPair|{{#var:i}}}}|true={{#vardefine:Right|{{#var:Right}}{{{group{{#var:i}}}}}<br><br>}}|{{#vardefine:Left|{{#var:Left}}{{{group{{#var:i}}}}}<br><br>}}}}|}} | ||
{{#vardefine:i|{{#expr:{{#var:i}}+1}}}} }}<div style="width:50%;clear:right;float:right;">{{#var:Right}}</div><div style="width:50%;clear:left;float:left;">{{#var:Left}}</div>{{#if:{{{sources|}}}|<br><div style="width:100%;clear:both;"><h2> Sources and commentaries </h2>{{{sources}}}</div>|}}[[category:Common Names]]</includeonly><noinclude> | {{#vardefine:i|{{#expr:{{#var:i}}+1}}}} }}<div style="width:50%;clear:right;float:right;">{{#var:Right}}</div><div style="width:50%;clear:left;float:left;">{{#var:Left}}</div>{{#if:{{{sources|}}}|<br><div style="width:100%;clear:both;"><h2> Sources and commentaries </h2>{{{sources}}}</div>|}}[[category:Common Names]]</includeonly><noinclude> | ||
− | == | + | ==Parametres== |
* groupX = languages group content (X values from 0 to 20) (mendatory) | * groupX = languages group content (X values from 0 to 20) (mendatory) | ||
* sources = sources category content (facultatif) | * sources = sources category content (facultatif) | ||
[[fr:Modèle:NomsCommuns]] | [[fr:Modèle:NomsCommuns]] | ||
</noinclude> | </noinclude> |
Revision as of 10:58, 11 May 2011
Parametres
- groupX = languages group content (X values from 0 to 20) (mendatory)
- sources = sources category content (facultatif)