Jump to content

Template:Wikipedia ads: Difference between revisions

From Wikipedia, the free encyclopedia
Content deleted Content added
Neurolysis (talk | contribs)
in the spirit of gurch's edit :P (seriously, I'll get on making a replacement tonight)
No edit summary
Line 3: Line 3:
When updating this template, remember to also update any instance of "mod ###". ### should be equal to the number of ads plus one. (i.e., if the highest-numbered ad is 151, ### should be 152.) There are a total of FIVE of these, two before the switch statement, and three after. If you forget to update even one, something's not going to work correctly.
When updating this template, remember to also update any instance of "mod ###". ### should be equal to the number of ads plus one. (i.e., if the highest-numbered ad is 151, ### should be 152.) There are a total of FIVE of these, two before the switch statement, and three after. If you forget to update even one, something's not going to work correctly.


--><table class="plainlinks qxz-ads" style="margin:auto; color:{{{color|#555555}}}; border:none; background:{{{background|transparent}}}; float:{{{float|none}}}; line-height:1em; font-size:90%"><tr><td colspan="2">{{#tag:imagemap|File:Qxz-ad{{{ad|{{#expr:{{NUMBEROFEDITS:R}} mod 172}}}}}.{{#switch:{{{ad|{{#expr:{{NUMBEROFEDITS:R}} mod 172}}}}}|4|5|8|17|21|39|97|114|147|151=png|75=PNG|gif}}
--><table class="plainlinks qxz-ads" style="margin:auto; color:{{{color|#555555}}}; border:none; background:{{{background|transparent}}}; float:{{{float|none}}}; line-height:1em; font-size:90%"><tr><td colspan="2">{{#tag:imagemap|File:Qxz-ad{{{ad|{{#expr:{{NUMBEROFEDITS:R}} mod 172}}}}}.{{#switch:{{{a|{{#expr:{{NUMBEROFEDITS:R}} mod 172}}}}}|4|5|8|17|21|39|97|114|147|151=png|75=PNG|gif}}
default [[{{#switch:{{{ad|{{#expr:{{NUMBEROFEDITS:R}} mod 172}}}}}
default [[{{#switch:{{{ad|{{#expr:{{NUMBEROFEDITS:R}} mod 172}}}}}
|0=Template:Wikipedia ads
|0=Template:Wikipedia ads

Revision as of 20:51, 17 February 2009