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

From Team Fortress Wiki
Jump to: navigation, search
m
 
(One intermediate revision by the same user not shown)
Line 12: Line 12:
 
{{Item image|<!--***Do not remove the includeonly or subst tags, they allow for it to be embedded properly. They have no effect on the page appearance.***
 
{{Item image|<!--***Do not remove the includeonly or subst tags, they allow for it to be embedded properly. They have no effect on the page appearance.***
  
--></noinclude>{{<includeonly>subst:</includeonly>#switch:{{<includeonly>subst:</includeonly>#expr:({{<includeonly>subst:</includeonly>CURRENTWEEK}}*{{<includeonly>subst:</includeonly>CURRENTYEAR}}) mod 365}}
+
--></noinclude>{{<includeonly>subst:</includeonly>#switch:{{<includeonly>subst:</includeonly>#expr:({{<includeonly>subst:</includeonly>CURRENTWEEK}}*{{<includeonly>subst:</includeonly>CURRENTYEAR}}) mod 387}}
  
 
| 0 = Gentle Manne's Service Medal
 
| 0 = Gentle Manne's Service Medal
Line 449: Line 449:
 
| 365 = Glitched Circuit Board
 
| 365 = Glitched Circuit Board
  
 +
| 366 = Portable Smissmas Spirit Dispenser
 +
| 367 = War on Smissmas Battle Socks
 +
| 368 = Sack Fulla Smissmas
 +
 +
| 369 = Sub Zero Suit
 +
| 370 = Dictator
 +
| 371 = Trail-Blazer
 +
| 372 = Dead of Night
 +
| 373 = Snow Scoper
 +
| 374 = Angel of Death
 +
| 375 = Five-Month Shadow
 +
| 376 = Mann Of House
 +
| 377 = Chucklenuts
 +
| 378 = Tiny Timber
 +
| 379 = Face Full of Festive
 +
| 380 = Ruffled Ruprecht
 +
| 381 = Golden Garment
 +
| 382 = Little Drummer Mann
 +
| 383 = Extra Layer
 +
| 384 = Dogfighter
 +
| 385 = Antarctic Parka
 +
| 386 = Highland High Heels
 +
| 387 = Marshall's Mutton Chops
 
}}<noinclude><!--
 
}}<noinclude><!--
  

Latest revision as of 12:16, 23 December 2013

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 Week 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.

Image Log

Current Misc of the Week:                
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