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 808}}
+
--></noinclude>{{<includeonly>subst:</includeonly>#switch:{{<includeonly>subst:</includeonly>#expr:({{<includeonly>subst:</includeonly>CURRENTWEEK}}*{{<includeonly>subst:</includeonly>CURRENTYEAR}}) mod 852}}
  
 
| 0 = Batter's Helmet
 
| 0 = Batter's Helmet
Line 1,003: Line 1,003:
 
| 807 = Der Maschinensoldaten-Helm
 
| 807 = Der Maschinensoldaten-Helm
 
| 808 = Die Regime-Panzerung
 
| 808 = Die Regime-Panzerung
 +
 +
| 809 = Argyle Ace
 +
| 810 = Frickin' Sweet Ninja Hood
 +
| 811 = Paisley Pro
 +
| 812 = Pomade Prince
 +
| 813 = Red Socks
 +
| 814 = Southie Shinobi
 +
| 815 = Classified Coif
 +
| 816 = Man in Slacks
 +
| 817 = Spook Specs
 +
| 818 = Combustible Kabuto
 +
| 819 = Employee of the Mmmph
 +
| 820 = Frymaster
 +
| 821 = Gas Guzzler
 +
| 822 = Lunatic's Leathers
 +
| 823 = Senguko Scorcher
 +
| 824 = Smoking Skid Lid
 +
| 825 = Allbrero
 +
| 826 = Frontier Djustice
 +
| 827 = Razor Cut
 +
| 828 = Seeing Double
 +
| 829 = Six Pack Abs
 +
| 830 = Yuri's Revenge
 +
| 831 = Danger
 +
| 832 = Egghead's Overalls
 +
| 833 = Endothermic Exowear
 +
| 834 = Joe-on-the-Go
 +
| 835 = Level Three Chin
 +
| 836 = Lonesome Loafers
 +
| 837 = Peacenik's Ponytail
 +
| 838 = Tools of the Trade
 +
| 839 = Chronoscarf
 +
| 840 = Medicine Manpurse
 +
| 841 = Ze Übermensch
 +
| 842 = Scoper's Smoke
 +
| 843 = Triggerman's Tacticals
 +
| 844 = Au Courant Assassin
 +
| 845 = Aviator Assassin
 +
| 846 = Rogue's Robe
 +
| 847 = Sky Captain
 +
| 848 = Merc's Mohawk
 +
| 849 = Bruiser's Bandanna
 +
| 850 = Eye-Catcher
 +
| 851 = Tipped Lid
 +
| 852 = Vive La France
 
}}<noinclude><!--
 
}}<noinclude><!--
  

Revision as of 09:20, 25 June 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.