Difference between revisions of "Template talk:Hat Nav"
(→Category: Hats) |
(→Category: Hats) |
||
Line 16: | Line 16: | ||
In other words, could someone a little more experienced check it over before I go causing havok? Cheers. [[User:Lamb|Lamb]] 22:08, 2 October 2010 (UTC) | In other words, could someone a little more experienced check it over before I go causing havok? Cheers. [[User:Lamb|Lamb]] 22:08, 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) | :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) |
Revision as of 22:15, 2 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... (t • s) 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)
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)