Anonymous user
Template:Lowercase title/doc: Difference between revisions
with rr64 here. if you think your changes should stick, please comment on the talk page
(It's ridiculous that all improvements (e.g. clearer examples, explanation) are reverted simply because you feel there are a few "strange syntax". The syntax works as intended which provides better portability (templates are often used cross-site. That's why we should improve portability). Please don't revert simply because you don't know what they are for.) |
(with rr64 here. if you think your changes should stick, please comment on the talk page) |
||
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}}
==TemplateData==
{{TemplateData header}}
<templatedata>
Line 51 ⟶ 52:
}
</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>
|