Template:Lowercase: Difference between revisions

Template page
w:c:strategywiki>Prod
(switch to using DISPLAYTITLE and adding in namespace, help from WP:Template:Lowercase)
m (14 revisions imported: Imported from https://strategywiki.org/)
 
(6 intermediate revisions by 3 users not shown)
Line 1: Line 1:
:''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>
<includeonly>{{DISPLAYTITLE:{{#if:{{NAMESPACE}}|{{NAMESPACE}}:|}}{{lcfirst:{{PAGENAME}}}}}}</includeonly><noinclude>
For use on pages where the first letter is normally in lowercase.


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''.
[[Category:Templates]]</noinclude>
 
*''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."
 
[[Category:Templates|L]]</noinclude>

Latest revision as of 18:27, 28 October 2023

For use on pages where the first letter is normally in lowercase.