Difference between revisions of "Template:Common Names"

From PlantUse English
Jump to: navigation, search
Line 2: Line 2:
 
{{#while:
 
{{#while:
 
|{{#ifexpr:{{#var:i}}<={{#var:max}}|true}}
 
|{{#ifexpr:{{#var:i}}<={{#var:max}}|true}}
|{{#if:{{{group{{#var:i}}|}}}|{{#switch:{{IsEven|{{#var:i}}}}|true=<div style="width:50%;clear:right;float:right;">
+
|{{#if:{{{group{{#var:i}}|}}}|{{#switch:{{IsEven|{{#var:i}} }}|true=<div style="width:50%;clear:right;float:right;">
{{{group{{#var:i}}}}}<br><br>}}</div>|#default=<div style="width:50%;clear:left;float:left;">
+
{{{group{{#var:i}} }}}</div>|#default=<div style="width:50%;clear:left;float:left;">
{{{group{{#var:i}}}}}<br><br>}}</div>}}|}}
+
{{{group{{#var:i}} }}}</div>}}|}}
 
{{#vardefine:i|{{#expr:{{#var:i}}+1}}}}  
 
{{#vardefine:i|{{#expr:{{#var:i}}+1}}}}  
 
}}
 
}}

Revision as of 15:21, 11 May 2011


Parametres

  • groupX = languages group content (X values from 0 to 20) (mendatory)
  • sources = sources category content (facultatif)