Template:Wiki banner: Difference between revisions

From OLPC
Jump to navigation Jump to search
(.)
m (..)
 
(3 intermediate revisions by the same user not shown)
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}}
: #tag:imagemp : {{#tag:imagemap|image:wiki-banner-1.gif}}
:: or < tag > ?
<imagemap>
image:wiki-banner-1.gif
rect 0 0 468 60 [[:metaWikimedia:Wikimania 2008]]
</imagemap>


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

Latest revision as of 02:47, 14 February 2008


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

NUMBEROFEDITS : 325,733
NUMBEROFEDITS:R : 325733
#expr:" " mod N : 2
#tag:imagemp : <imagemap>image:wiki-banner-1.gif</imagemap>
or < tag > ?

<imagemap> image:wiki-banner-1.gif rect 0 0 468 60 metaWikimedia:Wikimania 2008 </imagemap>

For instance, see 1 :