User:Seb26/Item infobox/2

From Team Fortress Wiki
Jump to: navigation, search

Parameters to be changed

In desired order. Bullet indenting indicates there should be spacing in front of | (pref 1 space). [No change] indicates the value itself should not be altered.

  • Weapon infobox, Hat infobox, Tool infobox → Item infobox
  • 'weapon-name-override', 'hat-name-override', 'tool-name-override', 'NAME', 'name-override' → 'name'
  • 'game' = 'TFC' on Classic pages (can be retrieved from Category:Weapons (Classic) but leaves out some pages, willfix.)
  • 'type' needs value (perhaps run check for category Hats, Weapons, and Taunts etc?)
What are all the possible types and their corresponding category? — Wind 01:40, 13 November 2010 (UTC)
Category:Hats = hat
Category:Weapons = weapon
Category:Taunts = taunt – careful with these, there are a lot of pages with both weapon and taunt categories.
Category:Miscellaneous items = misc item
Category:Tools = tools
Action items AFAIK are not categorized and share the tools category. Need to get list directly from the Action items page. seb26 [talk] 01:51, 13 November 2010 (UTC)
  • 'weapon-image', 'hat-image', 'tool-image' → 'image'
  • 'has-team-colors' → 'team-colors'
  • 'has-two-models' → 'two-models'
  • [no change] 'used-by'
  • 'weapon-slot', 'hat-slot', 'tool-slot'[?] → 'slot'
Needs to check for 'Primary' or 'Secondary' or any other variation & output 'primary', 'secondary', etc. Classic pages use non-standard slots (and do not categorise based on it) so any value changing of 'slot' on these pages should be skipped.
What are all the possible variations and their corresponding output (just lowercase version of the input?)? And no touchie when it's a Classic page at all? — Wind 01:40, 13 November 2010 (UTC)
Category:Primary weapons, Category:Secondary weapons, Category:Melee weapons, Category:PDA1 weapons, Category:PDA2 weapons. But there is a lot of variance when it comes to the links themselves. Some are Primenwaffle, others are just Primary or Primary, and I've seen some as Primära. As for Classic pages, yes, they should just be left alone. seb26 [talk] 01:51, 13 November 2010 (UTC)
  • [no change] 'contributed-by'
  • [no change] 'released'
  • [no change] 'availability'
  • [remove if='{{item price|all}}'] 'price'
What? — Wind 01:40, 13 November 2010 (UTC)
If price is set to {{item price|all}} (some pages are when the price template was in early development), then the price parameter should be removed. seb26 [talk] 01:51, 13 November 2010 (UTC)
  • 'tradable' → 'trade'
  • 'craftable' → 'craft'
  • 'paintable' → 'paint'
  • 'name-tag', 'nametag' → 'rename'
Issue: the above 4 may need changes. In the past the words "Yes" and "No" have been translated, WindBOT may need to distinguish somehow between the two and apply "yes" and "no" in English. Alternative solution is to use the value from the English page directly.
Will use the value from the English page directly, if available — Wind 01:40, 13 November 2010 (UTC)
  • [no change] 'ammo-loaded'
  • [no change] 'ammo-carried'
If 'ammo-loaded' or 'ammo-carried' = 1 (see also Category:Weapon infobox using parameter with value: ammo-loaded, 1), then ammo should be removed entirely and 'show-ammo' with value of 'off' should be added in place.
  • [no change] 'ammo-type'
  • [no change] 'reload', 'reload-type' (alias param)
Perhaps rename all instances of 'reload-type' to 'reload'? — Wind 01:40, 13 November 2010 (UTC)
Yeah good idea. seb26 [talk] 01:51, 13 November 2010 (UTC)
  • 'display-loadout-stats- → 'loadout'
    • 'level-and-type' → 'level'
    • attributes
Example
| positive-attributes = Kills target on hit
20% damage increase
| att-1-positive = Kills target on hit
| att-2-positive = 20% damage increase
(Assuming all loadout parameters have +2 spaces of indentation) — Wind 01:40, 13 November 2010 (UTC)
Yep seb26 [talk] 01:51, 13 November 2010 (UTC)
  • [END]

Order

{{Item infobox
| name = 
| game = 
| type = 
| image = 
| imagewidth = 
| team-colors = 
| two-models = 
| skin-image-red = 
| skin-image-blu = 
| TFC-model = 
| QTF-model = 
| kill-icon-1 = 
| kill-text-1 = 
| kill-icon-6 = 
| kill-text-6 = 
| used-by = 
| slot = 
| contributed-by = 
| released = 
| availability = 
| trade = 
| craft = 
| paint = 
| rename = 
| ammo-loaded = 
| ammo-carried = 
| ammo-type = 
| reload = 
| loadout = 
 | level = 
 | att-1-positive = 
 | att-6-negative = 
 | item-description = 
 | item-uses = 
 | item-flags = 
}}