Difference between revisions of "User:Cooper Kid/Misc image generator"

From Team Fortress Wiki
Jump to: navigation, search
m (Updated.)
m
Line 10: Line 10:
 
</noinclude>
 
</noinclude>
  
'''{{#switch:{{#expr:({{CURRENTWEEK}}*{{CURRENTYEAR}}) mod 114}}
+
'''{{#switch:{{#expr:({{CURRENTWEEK}}*{{CURRENTYEAR}}) mod 115}}
  
 
| 1 = {{Misc of the month image|Gentle Manne's Service Medal|Soldiermedal.png}}
 
| 1 = {{Misc of the month image|Gentle Manne's Service Medal|Soldiermedal.png}}
Line 163: Line 163:
  
 
| 114 = {{Misc of the month image|Nine-Pipe Problem|Nine-Pipe Problem.png}}
 
| 114 = {{Misc of the month image|Nine-Pipe Problem|Nine-Pipe Problem.png}}
 +
 +
| 115 = {{Misc of the month image|Scrap Pack|Scrap Pack.png}}
 
}}'''
 
}}'''
  

Revision as of 00:22, 26 March 2012

This template's purpose is to select a random image every week to be displayed on the misc page.

A random miscellaneous item is selected every Monday. The Misc of the Month template can then be changed manually.

It is currently: Week 1, January 2025 (this is here to avoid any discrepancies between client time and server time).

The items are listed in the code in chronological order, grouped by update, so adding more is easy. However the mod digit must be altered to reflect the new number of items whenever more are added.

The program changes whenever new items are added; as such the list should only be updated at the end of each week to avoid confusion.


Template:Misc of the month image


Image Log

Image Generator Log
2017 Cosmetic
Week 1 Dadliest Catch
Week 2 Angel of Death

Notes:
Italic text indicates repeated items.
Green text indicates Christmas themed items.
Purple text indicates Halloween themed items.

See Also