Difference between revisions of "Template:PortalBar"

From PlantUse English
Jump to: navigation, search
 
(5 intermediate revisions by the same user not shown)
Line 8: Line 8:
 
</noinclude>
 
</noinclude>
 
<includeonly>
 
<includeonly>
{{frame|color = lightblue |bgcol = lightyellow|content = Related portals : {{#if:{{{1|}}} | [[Portal:{{{1}}}|Portal about {{{1}}};]] |<strong class="error">Error in the use of [[Template:PortalBar]] : mandatory parameter missing</strong></li> }}
+
{{frame|color = lightblue |bgcol = lightyellow|content = Related portals : {{#if:{{{1|}}} | [[Portal:{{{1}}}|Portal about {{{1}}}; ]] |<strong class="error">Error in the use of [[Template:PortalBar]] : mandatory parameter missing</strong></li> }}
{{#vardefine: i | 0 }}{{
+
{{#vardefine: i | 2 }}{{
 
   #while:
 
   #while:
   | {{ #ifexpr: {{ #expr: {{ #var: i }} }} < 50 | true }}
+
   | {{ #ifexpr: {{ #var: i }} < 50 | true }}
   | {{#if:{{{{{ #expr: {{ #var: i }} }} |}}} | [[Portal:{{{ {{ #expr: {{ #var: i }} }} }}}|Portal about {{{{{ #expr: {{ #var: i }} }}}}};]]}}
+
   | {{#if:{{{{{ #var: i }} |}}} | [[Portal:{{{ {{ #var: i }} }}}|Portal about {{{ {{ #var: i }} }}}; ]]}}
 
{{ #vardefine: i | {{ #expr: {{ #var: i }} + 1 }} }}
 
{{ #vardefine: i | {{ #expr: {{ #var: i }} + 1 }} }}
 
+
}}
 +
}}
 
</includeonly>
 
</includeonly>

Latest revision as of 14:47, 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