Difference between revisions of "Template:Common Names"

From PlantUse English
Jump to: navigation, search
(Created page with "<includeonly><h2> Names in common use </h2>{{#vardefine: i|1}}{{#vardefine: max|20}}{{#vardefine: Right|}}{{#vardefine: Left|}} {{#while: |{{#ifexpr:{{#var:i}}<={{#var:max}}|true...")
 
Line 2: Line 2:
 
{{#while:
 
{{#while:
 
|{{#ifexpr:{{#var:i}}<={{#var:max}}|true}}
 
|{{#ifexpr:{{#var:i}}<={{#var:max}}|true}}
|{{#if:{{{group{{#var:i}}|}}}|{{#switch:{{EstPair|{{#var:i}}}}|true={{#vardefine:Right|{{#var:Right}}{{{group{{#var:i}}}}}<br><br>}}|{{#vardefine:Left|{{#var:Left}}{{{group{{#var:i}}}}}<br><br>}}}}|}}
+
|{{#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}}}}  
 
{{#vardefine:i|{{#expr:{{#var:i}}+1}}}}  
 
}}
 
}}

Revision as of 09:40, 11 May 2011


Parametres

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