Template talk:Class infobox
Contents
DISPLAYTITLE instead of BASEPAGENAME
Hi, I'd like to find a way to show the page's displayed title instead of the base page name in this template. Basically I'm translating the Scout's page and I set the displayed title as "Esploratore". Unfortunately the template still uses the original base name of the page "Scout". Is there any way to modify it? --Kid Of The Century 22:15, 14 July 2010 (UTC)
- Create a new template for your language (eg: Template:Infobox_class/es for the spanish version), copy this templates source code and change the ! colspan="2" | {{#if:{{{title|}}} | {{{title}}} | {{#titleparts:{{BASEPAGENAME}}|1}}}}
- into
- ! colspan="2" | {{#if:{{{title|}}} | {{{title}}} | {{#titleparts:{{{classname}}}|1}}}}
- and add
- classname=Esploratore
- to the informations --Picard 16:02, 18 July 2010 (UTC)
- Thanks. Unfortunately I'm not very practical with such deep wiki formatting, so if you may direct me to a exhaustive tutorial, I'll be very glad to learn it.--Kid Of The Century 10:54, 20 July 2010 (UTC)
- I made a pic to show you how it works. In this example I wanted the site to say "Scout" instead of "Scout/de" (the BASEPAGENAME): click here --Picard 08:46, 30 July 2010 (UTC)
- Thanks! Just tried and it works! Again, if you know any source for learning advanced wiki formatting I'll be very glad (and hope I'll bother you less).--Kid Of The Century 09:41, 30 July 2010 (UTC)
- I made a pic to show you how it works. In this example I wanted the site to say "Scout" instead of "Scout/de" (the BASEPAGENAME): click here --Picard 08:46, 30 July 2010 (UTC)
- Thanks. Unfortunately I'm not very practical with such deep wiki formatting, so if you may direct me to a exhaustive tutorial, I'll be very glad to learn it.--Kid Of The Century 10:54, 20 July 2010 (UTC)
Categorization
Template needs to place articles in Category:Classes/language instead of just dumping them all in Category:Classes. -- Nineaxis 23:42, 10 August 2010 (UTC)
- Good catch there, Nine. I'll work on it. -- Smashman... (t • s) 00:23, 11 August 2010 (UTC)
User pages
This and {{Class bio}}
are being used on User pages. I'm going to start putting my foot down. These should only be used on Class pages. So, I'm going to go through the User pages that use these and remove them, and delete any images that they call. -- Smashman... (t • s) 00:20, 21 August 2010 (UTC)
Infobox health and speed
My original message on the Talk:Demoman page:
"Just wondering if this variant of the infobox health and speed part may be more informative than the current one. Technically meant for all classes, I posted it here due to the many variables the Demo has.--Kid Of The Century 14:22, 13 August 2010 (UTC)"
I reckon there are many variables on the health nowadays (buffed, with weapon X equipped, buffed + weapon X, etc.) So I'd like to know your thoughts. Is it too much complicated?--Kid Of The Century 08:11, 7 September 2010 (UTC)
Class infobox | |
---|---|
Basic Information | |
Health: | 175 / 260 150 / 225 with the Eyelander equipped 225 / 335 with the Eyelander fully charged |
Speed: | 93% 79% with the Scotsman's Skullcutter equipped 123% with the Eyelander fully charged |
- I think you would need a better way to indicate that the second value is overhealed, but I like the rest of the changes. -- Pilk (talk) 08:14, 7 September 2010 (UTC)
- Thanks. I honestly don't know how to make it clearer. Is the "1" too confusing? Will an asterisk be better? I thought about coloring the overhealed value, but I'm not such a fan of colored text...--Kid Of The Century 08:44, 7 September 2010 (UTC)
- "Now that's a fine piece 'a work!". Should I apply the change ASAP or wait for others to comment?--Kid Of The Century 09:08, 7 September 2010 (UTC)
- Go right ahead. :) -- Pilk (talk) 09:20, 7 September 2010 (UTC)
- Could something like this also be added to "Speed:": Speed: - as there's no clear reference point for those percentages here. -RJackson 09:27, 7 September 2010 (UTC)
- More like Speed: xx% / yyyv--Kid Of The Century 10:47, 7 September 2010 (UTC)
- Could something like this also be added to "Speed:": Speed: - as there's no clear reference point for those percentages here. -RJackson 09:27, 7 September 2010 (UTC)
- Go right ahead. :) -- Pilk (talk) 09:20, 7 September 2010 (UTC)
I think you should align the 'Health' and 'Speed' labels to the top. So that it's clear what's what. – Smashman (talk) 09:42, 7 September 2010 (UTC)
- Yes, but I'm afraid to mess with the template itself. I could screw all the pages at once.--Kid Of The Century 10:47, 7 September 2010 (UTC)
Add voice_actor field?
Every single class appears to have "The <class>
is voiced by <voice actor>
. What do you guys think of adding a voice_actor
field? If you give me the thumbs up, I'll get started when there's been some ample discussion on it. It seems to make much more sense to place it in an infobox than to have it in trivia sections, which we're trying to cut down on anyway. ~ lhavelund
(t ▪ c) 07:02, 14 October 2010 (UTC)
- Support It's useful information found on every class page, no reason not to put it in the infobox. --Subtlefuge 07:05, 14 October 2010 (UTC)
- Support I've actually moved all of the voice actor mentions out of the trivia sections and up into the initial summary of the class, but putting it in the infobox would be a much more elegant solution. Conversely, the Bio box might edited instead since it could equally fit in there. --Alex2539 07:17, 14 October 2010 (UTC)
- Support Hahaha, I just came here to suggest this. MK 03:29, 8 November 2010 (UTC)