Difference between revisions of "Template:PortalBar"

From PlantUse English
Jump to: navigation, search
Line 11: Line 11:
 
{{#vardefine: i | 0 }}{{
 
{{#vardefine: i | 0 }}{{
 
   #while:
 
   #while:
   | {{ #ifexpr: {{ #var: i }} < 50 | true }}
+
   | {{ #ifexpr: {{ #expr: {{ #var: i }} }} }} < 50 | true }}
   | {{#if:{{{{{ #var: i }}|}}} | [[Portal:{{{{{ #var: i }}}}}|Portal about {{{{{ #var: i }}}}};]]}}
+
   | {{#if:{{{{{ #expr: {{ #var: i }} }} }}|}}} | [[Portal:{{{{{ #expr: {{ #var: i }} }} }}}}}|Portal about {{{{{ #expr: {{ #var: i }} }} }}}}};]]}}
 
{{ #vardefine: i | {{ #expr: {{ #var: i }} + 1 }} }}
 
{{ #vardefine: i | {{ #expr: {{ #var: i }} + 1 }} }}
 
}}
 
}}
 
}}
 
}}
 
</includeonly>
 
</includeonly>

Revision as of 14:23, 26 September 2011

Template used to create links to portal pages.

from : http://fr.wikipedia.org/w/index.php?title=Mod%C3%A8le:Portail&action=edit