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

From Team Fortress Wiki
Jump to: navigation, search
 
(7 intermediate revisions 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 1002}}
+
--></noinclude>{{<includeonly>subst:</includeonly>#switch:{{<includeonly>subst:</includeonly>#expr:({{<includeonly>subst:</includeonly>CURRENTWEEK}}*{{<includeonly>subst:</includeonly>CURRENTYEAR}}) mod 1098}}
  
 
| 0 = Batter's Helmet
 
| 0 = Batter's Helmet
Line 1,222: Line 1,222:
 
| 1001 = Space Hamster Hammy
 
| 1001 = Space Hamster Hammy
 
| 1002 = Invasion Community Update Medal
 
| 1002 = Invasion Community Update Medal
 +
 +
| 1003 = B'aaarrgh-n-Bicorne
 +
| 1004 = B'aaarrgh-n-Britches
 +
| 1005 = Death Racer's Helmet
 +
| 1006 = Thrilling Tracksuit
 +
| 1007 = Hellmet
 +
| 1008 = Arthropod's Aspect
 +
| 1009 = Crusader's Getup
 +
| 1010 = Face of Mercy
 +
| 1011 = Neptune's Nightmare
 +
| 1012 = El Caballero
 +
| 1013 = El Patron
 +
| 1014 = Dead'er Alive
 +
| 1015 = Iron Lung
 +
| 1016 = Roboot
 +
| 1017 = Smokey Sombrero
 +
| 1018 = Catastrophic Companions
 +
| 1019 = Duck Billed Hatypus
 +
| 1020 = Grim Tweeter
 +
| 1021 = Prehistoric Pullover
 +
 +
| 1022 = Xephos' Philanthropic Physiognomy
 +
| 1023 = Honeydew's Charitable Countenance
 +
 +
| 1024 = Fear Monger
 +
| 1025 = Arkham Cowl
 +
| 1026 = Firefly
 +
| 1027 = Teufort Knight
 +
| 1028 = Pocket Villians
 +
| 1029 = Batbelt
 +
| 1030 = Buttler
 +
| 1031 = Batter's Bracers
 +
| 1032 = Sidekick's Side Slick
 +
| 1033 = Bat Backup
 +
| 1034 = Crook Combatant
 +
| 1035 = Caped Crusader
 +
| 1036 = Hood of Sorrows
 +
| 1037 = Special Snowflake
 +
| 1038 = Gift of Giving
 +
 +
| 1039 = Scoped Spartan
 +
| 1040 = Demo's Dustcatcher
 +
| 1041 = Surgical Survivalist
 +
| 1042 = Squire's Sabatons
 +
| 1043 = Courtly Cuirass
 +
| 1044 = Airdog
 +
| 1045 = Patriot's Pouches
 +
| 1046 = Gauzed Gaze
 +
| 1047 = Lurking Legionnaire
 +
| 1048 = Herald's Helm
 +
| 1049 = Dad Duds
 +
| 1050 = Dayjogger
 +
| 1051 = Dead Head
 +
| 1052 = Bedouin Bandana
 +
 +
| 1053 = Altruist's Adornment
 +
| 1054 = Civilian Grade JACK Hat
 +
| 1055 = Military Grade JACK Hat
 +
| 1056 = PASS Time Early Participation Pin
 +
| 1057 = PASS Time Miniature Half JACK
 +
| 1058 = Prinny Hat
 +
| 1059 = Prinny Pouch
 +
| 1060 = Prinny Machete
 +
 +
| 1061 = Combustible Cutie
 +
| 1062 = Class Crown
 +
| 1063 = Burly Beast
 +
| 1064 = Pestering Jester
 +
| 1065 = Mo'Horn
 +
| 1066 = Toadstool Topper
 +
| 1067 = Big Topper
 +
| 1068 = Heavy Tourism
 +
| 1069 = Corpus Christi Cranium
 +
| 1070 = Spirit of the Bombing Past
 +
| 1071 = Lil' Bitey
 +
| 1072 = Colossal Cranium
 +
| 1073 = Showstopper
 +
| 1074 = Cranial Carcharodon
 +
| 1075 = Spooktacles
 +
| 1076 = El Paso Poncho
 +
| 1077 = Wide-Brimmed Bandito
 +
| 1078 = Nasty Norsemann
 +
| 1079 = Surgeon's Sidearms
 +
| 1080 = Mad Mask, Wing Mann
 +
 +
| 1081 = Unusual Cap
 +
 +
| 1082 = Handy Canes
 +
| 1083 = Reader's Choice
 +
| 1084 = Brain-Warming Wear
 +
| 1085 = Packable Provisions
 +
| 1086 = Elf Esteem
 +
| 1087 = Sweet Smissmas Sweater
 +
| 1088 = Santarchimedes
 +
| 1089 = Socked and Loaded
 +
| 1090 = Flammable Favor
 +
| 1091 = Bomb Beanie
 +
| 1092 = Electric Twanger
 +
| 1093 = Woolen Warmer
 +
| 1094 = Snowwing
 +
| 1095 = Pyro the Flamedeer
 +
| 1096 = Head Prize
 +
| 1097 = Bomber Knight
 +
| 1098 = Snowmann
 
}}<noinclude><!--
 
}}<noinclude><!--
  

Latest revision as of 11:50, 2 January 2017

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.