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 920}}
+
--></noinclude>{{<includeonly>subst:</includeonly>#switch:{{<includeonly>subst:</includeonly>#expr:({{<includeonly>subst:</includeonly>CURRENTWEEK}}*{{<includeonly>subst:</includeonly>CURRENTYEAR}}) mod 945}}
  
 
| 0 = Batter's Helmet
 
| 0 = Batter's Helmet
Line 1,122: Line 1,122:
  
 
| 920 = Nabler
 
| 920 = Nabler
 +
 +
| 921 = Jungle Booty
 +
| 922 = Crown of the Old Kingdom
 +
| 923 = Tomb Readers
 +
| 924 = Brimstone
 +
 +
| 925 = Brooklyn Booties
 +
| 926 = Thermal Tracker
 +
| 927 = Coldfront Curbstompers
 +
| 928 = Condor Cap
 +
| 929 = Mistaken Movember
 +
| 930 = Screamin' Eagle
 +
| 931 = North Polar Fleece
 +
| 932 = Wartime Warmth
 +
| 933 = Bomber's Bucket Hat
 +
| 934 = Double Dog Dare Demo Pants
 +
| 935 = Double Dynamite
 +
| 936 = Snow Sleeves
 +
| 937 = Fur-lined Fighter
 +
| 938 = Hunter Heavy
 +
| 939 = Sleeveless in Siberia
 +
| 940 = Insulated Inventor
 +
| 941 = Snow Stompers
 +
| 942 = Boxcar Bomber
 +
| 943 = Coldsnap Cap
 +
| 944 = Flashdance Footies
 +
| 945 = Winter Woodsman
 
}}<noinclude><!--
 
}}<noinclude><!--
  

Revision as of 09:48, 10 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 24, June 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.