Template:Wiki banner: Difference between revisions

From OLPC
Jump to navigation Jump to search
(..)
(..)
Line 1: Line 1:
<includeonly><table class="plainlinks qxz-ads" style="margin: auto; color: {{{color|#555555}}}; border: none; background: {{{background|transparent}}}; line-height: 1em; font-size: 90%"><tr><td colspan="2">{{#tag:imagemap|Image:olpc-banner{{{banner|{{#expr:{{NUMBEROFEDITS:R}} mod 7}}}}}.{{#switch:{{{banner|{{#expr:{{NUMBEROFEDITS:R}} mod 7}}}}}|4|5|8=png|gif}}
<includeonly><table class="plainlinks qxz-ads" style="margin: auto; color: {{{color|#555555}}}; border: none; background: {{{background|transparent}}}; line-height: 1em; font-size: 90%"><tr><td colspan="2">{{#tag:imagemap|Image:wiki-banner{{{banner|{{#expr:{{NUMBEROFEDITS:R}} mod 7}}}}}.{{#switch:{{{banner|{{#expr:{{NUMBEROFEDITS:R}} mod 7}}}}}|4|5|8=png|gif}}
default [[{{#switch:{{{banner|{{#expr:{{NUMBEROFEDITS:R}} mod 7}}}}}
default [[{{#switch:{{{banner|{{#expr:{{NUMBEROFEDITS:R}} mod 7}}}}}
|0|1=Barnstars
|0|1=Barnstars
Line 17: Line 17:
: " " mod N : {{{{NUMBEROFEDITS:R}} mod 7}}
: " " mod N : {{{{NUMBEROFEDITS:R}} mod 7}}


For instance, see 1 : {{olpc-banner|banner=1}}
For instance, see 1 : {{wiki-banner|banner=1}}


</noinclude>
</noinclude>

Revision as of 02:41, 14 February 2008


Documentation: see Template:wiki banner/doc. This relies on

NUMBEROFEDITS : 325,733
NUMBEROFEDITS:R : 325733
" " mod N : Template:325733 mod 7

For instance, see 1 : Template:Wiki-banner