Difference between revisions of "Template talk:Hat Nav"

From Team Fortress Wiki
Jump to: navigation, search
(Category: Hats)
m
Line 17: Line 17:
 
:Your syntax would work perfectly, however, it'd probably be better if we just remove {{tl|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. [[User:Seb26|<font color="#0B61A4">'''seb26'''</font>]] [[User talk:Seb26|<span style="font-size:95%;">[talk]</span>]] 22:12, 2 October 2010 (UTC)
 
:Your syntax would work perfectly, however, it'd probably be better if we just remove {{tl|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. [[User:Seb26|<font color="#0B61A4">'''seb26'''</font>]] [[User talk:Seb26|<span style="font-size:95%;">[talk]</span>]] 22:12, 2 October 2010 (UTC)
 
::Fair enough, I had not noticed that the infobox also included the categories. [[User:Lamb|Lamb]] 22:15, 2 October 2010 (UTC)
 
::Fair enough, I had not noticed that the infobox also included the categories. [[User:Lamb|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.
 +
 +
{| class="wikitable collapsible" cellpadding="1" align="center" style="text-align:center; font-size:90%; margin-bottom:1em;"
 +
! style="background-color:#FFCC66;" rowspan="1" | Misc. Items
 +
| valign="top" | -
 +
| valign="top" | [[Gentle Manne's Service Medal]]
 +
| valign="top" | [[Whiskered Gentleman]]
 +
| valign="top" | -
 +
| valign="top" | -
 +
| valign="top" | -
 +
| valign="top" | [[Physician's Procedure Mask]]
 +
| valign="top" | -
 +
| valign="top" | [[Camera Beard]]
 +
| valign="top" | [[Earbuds]]
 +
| valign="top" | [[Polycount Pin]]
 +
|-
 +
! style="background-color:#FFCC66;" rowspan="4" | Badges
 +
| valign="top" | -
 +
| valign="top" | -
 +
| valign="top" | -
 +
| valign="top" | -
 +
| valign="top" | -
 +
| valign="top" | -
 +
| valign="top" | -
 +
| valign="top" | -
 +
| valign="top" | -
 +
| valign="top" | [[Primeval Warrior|Primeval<br/>Warrior]]
 +
| valign="top" | [[Platinum Dueling Badge|Platinum<br/>Dueling badge]]
 +
|-
 +
| valign="top" | -
 +
| valign="top" | -
 +
| valign="top" | -
 +
| valign="top" | -
 +
| valign="top" | -
 +
| valign="top" | -
 +
| valign="top" | -
 +
| valign="top" | -
 +
| valign="top" | -
 +
| valign="top" | [[Grizzled Veteran|Grizzled<br/>Veteran]]
 +
| valign="top" | [[Gold Dueling Badge|Gold<br/>Dueling badge]]
 +
|-
 +
| valign="top" | -
 +
| valign="top" | -
 +
| valign="top" | -
 +
| valign="top" | -
 +
| valign="top" | -
 +
| valign="top" | -
 +
| valign="top" | -
 +
| valign="top" | -
 +
| valign="top" | -
 +
| valign="top" | [[Soldier of Fortune|Soldier<br/>of Fortune]]
 +
| valign="top" | [[Silver Dueling Badge|Silver<br/>Dueling badge]]
 +
|-
 +
| valign="top" | -
 +
| valign="top" | -
 +
| valign="top" | -
 +
| valign="top" | -
 +
| valign="top" | -
 +
| valign="top" | -
 +
| valign="top" | -
 +
| valign="top" | -
 +
| valign="top" | -
 +
| valign="top" | [[Mercenary]]
 +
| valign="top" | [[Bronze Dueling Badge|Bronze<br/>Dueling badge]]
 +
|}
 +
--[[User:Kid Of The Century|Kid Of The Century]] 16:34, 4 October 2010 (UTC)

Revision as of 16:34, 4 October 2010

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)