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

From Team Fortress Wiki
Jump to: navigation, search
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 945}}
+
--></noinclude>{{<includeonly>subst:</includeonly>#switch:{{<includeonly>subst:</includeonly>#expr:({{<includeonly>subst:</includeonly>CURRENTWEEK}}*{{<includeonly>subst:</includeonly>CURRENTYEAR}}) mod 974}}
  
 
| 0 = Batter's Helmet
 
| 0 = Batter's Helmet
Line 1,149: Line 1,149:
 
| 944 = Flashdance Footies
 
| 944 = Flashdance Footies
 
| 945 = Winter Woodsman
 
| 945 = Winter Woodsman
 +
 +
| 946 = Co-Pilot
 +
| 947 = Courtier's Collar
 +
| 948 = Harlequin's Hooves
 +
| 949 = Mountebank's Masque
 +
| 950 = Skullcap
 +
| 951 = Black Knight's Bascinet
 +
| 952 = Charred Chainmail
 +
| 953 = Pyromancer's Hood
 +
| 954 = Pyromancer's Raiments
 +
| 955 = Torcher's Tabard
 +
| 956 = Scot Bonnet
 +
| 957 = Storm Stompers
 +
| 958 = Valhalla Helm
 +
| 959 = Old Man Frost
 +
| 960 = Siberian Facehugger
 +
| 961 = Clubsy The Seal
 +
| 962 = Conagher's Combover
 +
| 963 = Cop Caller
 +
| 964 = Holstered Heaters
 +
| 965 = Thermal Insulation Layer
 +
| 966 = Surgeon's Shako
 +
| 967 = Unknown Mann
 +
| 968 = Bushman's Bristles
 +
| 969 = Marksman's Mohair
 +
| 970 = Professional's Ushanka
 +
| 971 = Wally Pocket
 +
| 972 = Pocket Momma
 +
| 973 = Puffy Provocateur
 +
| 974 = Stealthy Scarf
 
}}<noinclude><!--
 
}}<noinclude><!--
  

Revision as of 23:42, 26 December 2014

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

A random cosmetic item is selected every Monday. The Featured cosmetic template can then be changed manually.

It is currently: Week 52, December 2024 (this is here to smooth out 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 and selects a new item whenever new ones are added; as such the list should only be updated at the end of each week to avoid confusion.

Image Log

Current Featured cosmetic:                  
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.