w:c:strategywiki>Prod mNo edit summary |
w:c:strategywiki>Prod (switch to using DISPLAYTITLE and adding in namespace, help from WP:Template:Lowercase) |
||
Line 1: | Line 1: | ||
:''The correct title of this {{{2|game}}} is '''{{{1|{{lcfirst:{{PAGENAME}}}}}}}'''. The initial letter is capitalized due to technical restrictions.''{{ | :''The correct title of this {{{2|game}}} is '''{{{1|{{#if:{{NAMESPACE}}|{{NAMESPACE}}:|}}{{lcfirst:{{PAGENAME}}}}}}}'''. The initial letter is capitalized due to technical restrictions.''{{DISPLAYTITLE:{{#if:{{NAMESPACE}}|{{NAMESPACE}}:|}}{{lcfirst:{{PAGENAME}}}}}}<noinclude> | ||
For use on pages where the first letter is normally in lowercase. The template accepts two parameters, <code>title</code> and <code>type</code>, both of which can be omitted. They can be used without parameter names in the order of ''title'' then ''type''. | For use on pages where the first letter is normally in lowercase. The template accepts two parameters, <code>title</code> and <code>type</code>, both of which can be omitted. They can be used without parameter names in the order of ''title'' then ''type''. | ||
*''title'' or first unnamed parameter: The correct, lowercase spelling. Defaults to the name of the page with the first letter lowercased. | *''title'' or first unnamed parameter: The correct, lowercase spelling. Defaults to the name of the page with the first letter lowercased. | ||
*''type'' or second unnamed parameter: Used to specify the type of page. Defaults to " | *''type'' or second unnamed parameter: Used to specify the type of page. Defaults to "game." | ||
[[Category:Templates|L]]</noinclude> | [[Category:Templates|L]]</noinclude> |
Revision as of 20:12, 15 March 2009
- The correct title of this game is Template:lowercase. The initial letter is capitalized due to technical restrictions.
For use on pages where the first letter is normally in lowercase. The template accepts two parameters, title
and type
, both of which can be omitted. They can be used without parameter names in the order of title then type.
- title or first unnamed parameter: The correct, lowercase spelling. Defaults to the name of the page with the first letter lowercased.
- type or second unnamed parameter: Used to specify the type of page. Defaults to "game."