Difference between revisions of "Template talk:Hat Nav"

From Team Fortress Wiki
Jump to: navigation, search
(Consider changing? This template is getting huge: new section)
(Consider changing? This template is getting huge)
Line 92: Line 92:
  
 
Should we consider splitting this into several class-specific templates or similar? After the Polycount update, this has mutated out of control. It often takes up more space than the content of the actual pages now. ~ <code>[[User:Lhavelund|<font color=red><span style="font-size: 1.2em;">'''lhavelund'''</span></font>]]</code> <sup>([[User_talk:lhavelund|t]] ▪ [[Special:Contributions/lhavelund|c]])</sup> 19:14, 13 October 2010 (UTC)
 
Should we consider splitting this into several class-specific templates or similar? After the Polycount update, this has mutated out of control. It often takes up more space than the content of the actual pages now. ~ <code>[[User:Lhavelund|<font color=red><span style="font-size: 1.2em;">'''lhavelund'''</span></font>]]</code> <sup>([[User_talk:lhavelund|t]] ▪ [[Special:Contributions/lhavelund|c]])</sup> 19:14, 13 October 2010 (UTC)
 +
:At the very least, I think the template should have a separate section for hatless items, like there's a category at the bottom for Misc. items. What bothers me most about this template isn't its size so much as it is flatout unorganized and just looks messy. I feel like just shifting things around and organizing the template would make it much more manageable in terms of size, but honestly I don't know much about editing templates so I'm afraid to mess with it myself. [[User:Evang7|Evang7]] 17:57, 21 October 2010 (UTC)

Revision as of 17:57, 21 October 2010

Demoman's Fro

Should this be considered hatless or not? --Jordan 22:57, 8 October 2010 (UTC)

Capitalization

Needs proper capitalization for names of hats. They're proper nouns. Words after the first one deserve a capital letter.

--Mhmm 03:40, 1 July 2010 (UTC)

No. -- Smashman... (ts) 03:47, 1 July 2010 (UTC)
I have a copy of the HatNav with capitalisation. All that's needed is the capitalised versions of all the hats to be moved to the non-capitalised ones before I implement it. I see you're getting on with some of that now, I'll help you. --RJackson 03:56, 1 July 2010 (UTC)
It seems consensus has been reach to change to proper capitalisation. Previously the policy was different to keep consistency. Feel free to update this template. -- Pilk (talk) 04:01, 1 July 2010 (UTC)

Category: Hats

Currently the template includes Category:Hats on every page it is transcluded in. While this is, for the most part, a good thing, there are a number of miscellaneous items where including Cat:Hats is probably a bad thing, as they are not hats. It's been a while since I've used parserfunctions, and I'm a little rusty with them, but I believe something like the below would not include Cat:Hats if the parameter category was passed to the template args, and was not blank? I guess it could be expanded so that if the category parameter is passed then the value of the category parameter is the name of the category included, but I cant remember how the switch statements worked either.

{{#if:{{{category|}}}|<includeonly>{{lang cat|Hats}}</includeonly>|}}

In other words, could someone a little more experienced check it over before I go causing havok? Cheers. Lamb 22:08, 2 October 2010 (UTC)

Your syntax would work perfectly, however, it'd probably be better if we just remove {{lang cat}} from the hat nav altogether, considering that pages are placed in Hat and Misc categories automatically by the infobox. Thanks for the suggestion, though. seb26 [talk] 22:12, 2 October 2010 (UTC)
Fair enough, I had not noticed that the infobox also included the categories. Lamb 22:15, 2 October 2010 (UTC)

Splitting badges from misc. items

Just like hatless and polycount are separated from hats. Looks like crap here but you'll get the point.

Misc. Items - Gentle Manne's Service Medal Whiskered Gentleman - - - Physician's Procedure Mask - Camera Beard Earbuds Polycount Pin
Badges - - - - - - - - - Primeval
Warrior
Platinum
Dueling badge
- - - - - - - - - Grizzled
Veteran
Gold
Dueling badge
- - - - - - - - - Soldier
of Fortune
Silver
Dueling badge
- - - - - - - - - Mercenary Bronze
Dueling badge

--Kid Of The Century 16:34, 4 October 2010 (UTC)

Consider changing? This template is getting huge

Should we consider splitting this into several class-specific templates or similar? After the Polycount update, this has mutated out of control. It often takes up more space than the content of the actual pages now. ~ lhavelund (tc) 19:14, 13 October 2010 (UTC)

At the very least, I think the template should have a separate section for hatless items, like there's a category at the bottom for Misc. items. What bothers me most about this template isn't its size so much as it is flatout unorganized and just looks messy. I feel like just shifting things around and organizing the template would make it much more manageable in terms of size, but honestly I don't know much about editing templates so I'm afraid to mess with it myself. Evang7 17:57, 21 October 2010 (UTC)