Anonymous user
Template:Lowercase title/doc: Difference between revisions
Undid revision 953942449 by Milker (talk) rv: too much damage, unusual ordering, plus use of strange syntax
No edit summary |
|||
Line 1:
{{Documentation subpage}}
<!--
Kendeo
-->
{{TOCright}}
== Usage ==▼
{{nosubst}}
▲{{See also|Template:Nocaps}}
▲== Usage ==
▲{| Class="wikitable"
|-
! Page name !! Will display
Line 18 ⟶ 20:
|}
The template does '''
When using the template on redirect pages, the template must be moved '''after''' the redirect. Otherwise it will break the redirection. This, however, limits the template to have an effect only when viewing the redirect page directly. Nevertheless, it is still useful in this scenario in order to document the proper capitalization of a term.▼
▲When using the template on redirect pages, the template must be moved
When using on templates, please make sure to wrap it with a <noinclude> tag, so that transcluded pages don't get affected.
This template wraps the [[
▲The template does '''NOT''' work together with other title modification templates. In this case you need to use {{tlx|DISPLAYTITLE}} instead and make sure it's the last DISPLAYTITLE on the page. For example, to make "eZone" italic and lowercase, use <code><nowiki>{{DISPLAYTITLE:''eZone''}}</nowiki></code>.
{{WrongTitleExamples}}▼
▲This template wraps the [[w:en:Help:Magic words|magic word]] DISPLAYTITLE so that it works automatically in any namespace (main, talk, template, etc.) to decapitalise the first letter of the name of a page it is transcluded on.
<source lang=sql>
/* Page using a lowercase title, with or without {{lowercase}} */
Line 43 ⟶ 40:
</source>
==
* [[
▲{{WrongTitleExamples}}
[[Category:Correct title templates]]▼
}}</includeonly> ▼
==TemplateData==
{{TemplateData header}}
<templatedata>
Line 51 ⟶ 55:
}
</templatedata>
▲* [[w:en:WP:Naming conventions (technical restrictions)#Lowercase first letter|Naming conventions (technical restrictions) of lowercase first letter]]
▲<includeonly>{{sandbox other||
▲[[Category:Correct title templates]]
▲}}</includeonly>
|