Template:Wiki banner: Difference between revisions
Jump to navigation
Jump to search
(test from q) |
m (..) |
||
(9 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: |
<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 9: | Line 9: | ||
|Template:Wiki banners |
|Template:Wiki banners |
||
}}]] |
}}]] |
||
desc none}}</td></tr>{{#if:{{{nolinks|}}}||<tr><td>[[Template:Wiki banner|<font color="{{{linkcolor|#002bb8}}}">Wiki Banners</font>]]</td><td style="text-align: right"> [{{fullurl:Image:wiki-banner{{{banner|{{#expr:{{NUMBEROFEDITS:R}} mod 7}}}}}.{{#switch:{{{banner|{{#expr:{{NUMBEROFEDITS:R}} mod 7}}}}}|4|5|8=png|gif}}}} <font color="{{{linkcolor|#002bb8}}}">file info</font>] {{#if:{{{banner|}}}||– [{{fullurl:{{FULLPAGENAME}}|action=purge}} <font color="{{{linkcolor|#002bb8}}}">show another</font>]}} – #{{{banner|{{#expr:{{NUMBEROFEDITS:R}} mod 7}}}}}</td></tr>}}</table></includeonly>< |
desc none}}</td></tr>{{#if:{{{nolinks|}}}||<tr><td>[[Template:Wiki banner|<font color="{{{linkcolor|#002bb8}}}">Wiki Banners</font>]]</td><td style="text-align: right"> [{{fullurl:Image:wiki-banner{{{banner|{{#expr:{{NUMBEROFEDITS:R}} mod 7}}}}}.{{#switch:{{{banner|{{#expr:{{NUMBEROFEDITS:R}} mod 7}}}}}|4|5|8=png|gif}}}} <font color="{{{linkcolor|#002bb8}}}">file info</font>] {{#if:{{{banner|}}}||– [{{fullurl:{{FULLPAGENAME}}|action=purge}} <font color="{{{linkcolor|#002bb8}}}">show another</font>]}} – #{{{banner|{{#expr:{{NUMBEROFEDITS:R}} mod 7}}}}}</td></tr>}}</table></includeonly><noinclude> |
||
Documentation: see [[Template:wiki banner/doc]]. |
|||
This relies on |
|||
: NUMBEROFEDITS : {{NUMBEROFEDITS}} |
|||
: NUMBEROFEDITS:R : {{NUMBEROFEDITS:R}} |
|||
: #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}} |
|||
</noinclude> |
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 :
<imagemap>Image:wiki-banner-1.gif
default Barnstars desc none</imagemap> | |
Wiki Banners | file info – #1 |