Template:Wiki banner: Difference between revisions

From OLPC
Jump to navigation Jump to search
(.)
m (..)
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:wiki-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 15: Line 15:
: NUMBEROFEDITS : {{NUMBEROFEDITS}}
: NUMBEROFEDITS : {{NUMBEROFEDITS}}
: NUMBEROFEDITS:R : {{NUMBEROFEDITS:R}}
: NUMBEROFEDITS:R : {{NUMBEROFEDITS:R}}
: " " mod N : {{{{NUMBEROFEDITS:R}} mod 7}}
: expr:" " mod N : {{#expr:{{NUMBEROFEDITS:R}} mod 7}}


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

Revision as of 02:43, 14 February 2008


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

NUMBEROFEDITS : 325,733
NUMBEROFEDITS:R : 325733
expr:" " mod N : 2

For instance, see 1 :