Difference between revisions of "Template:PortalBar"
From PlantUse English
Rémy Doyen (Talk | contribs) |
Rémy Doyen (Talk | contribs) |
||
(26 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
+ | <noinclude> | ||
<!-- IMPORTANT | <!-- IMPORTANT | ||
* Ne pas insérer de retour à la ligne en dehors des bornes «noinclude», à cause de bogue 9207 [https://bugzilla.wikimedia.org/show_bug.cgi?id=9207] | * Ne pas insérer de retour à la ligne en dehors des bornes «noinclude», à cause de bogue 9207 [https://bugzilla.wikimedia.org/show_bug.cgi?id=9207] | ||
Line 5: | Line 6: | ||
from : http://fr.wikipedia.org/w/index.php?title=Mod%C3%A8le:Portail&action=edit | from : http://fr.wikipedia.org/w/index.php?title=Mod%C3%A8le:Portail&action=edit | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
</noinclude> | </noinclude> | ||
+ | <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> }} | ||
+ | {{#vardefine: i | 2 }}{{ | ||
+ | #while: | ||
+ | | {{ #ifexpr: {{ #var: i }} < 50 | true }} | ||
+ | | {{#if:{{{{{ #var: i }} |}}} | [[Portal:{{{ {{ #var: i }} }}}|Portal about {{{ {{ #var: i }} }}}; ]]}} | ||
+ | {{ #vardefine: i | {{ #expr: {{ #var: i }} + 1 }} }} | ||
+ | }} | ||
+ | }} | ||
+ | </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