Difference between revisions of "Template talk:Class infobox"
m (moved Template talk:Infobox class to Template talk:Class infobox) |
|||
Line 11: | Line 11: | ||
::::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).--[[User:Kid Of The Century|Kid Of The Century]] 09:41, 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).--[[User:Kid Of The Century|Kid Of The Century]] 09:41, 30 July 2010 (UTC) | ||
:::::Wikipedia is an immense resource to learn this stuff. -- [[User:Pilk|Pilk]] <sub>([[User talk:Pilk|talk]])</sub> 16:42, 30 July 2010 (UTC) | :::::Wikipedia is an immense resource to learn this stuff. -- [[User:Pilk|Pilk]] <sub>([[User talk:Pilk|talk]])</sub> 16:42, 30 July 2010 (UTC) | ||
+ | |||
+ | == Categorization == | ||
+ | Template needs to place articles in Category:Classes/language instead of just dumping them all in [[:Category:Classes]]. -- [[User:Nineaxis|<span style="color:#FF8C00;font-weight:bold">Nineaxis</span>]] {{mod}} [[File:User Nineaxis sig duck.png|12px]] 23:42, 10 August 2010 (UTC) |
Revision as of 23:42, 10 August 2010
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)