Template:Lowercase title/doc: Difference between revisions
Jump to navigation
Jump to search
Content added Content deleted
No edit summary |
|||
Line 1: | Line 1: | ||
{{Documentation subpage}} |
{{Documentation subpage}} |
||
<!-- |
|||
Kendeo |
|||
--> |
|||
⚫ | |||
{{TOCright}} |
|||
⚫ | |||
{{nosubst}} |
{{nosubst}} |
||
⚫ | |||
<!-- Please add categories at the bottom of this page, and interwikis at Wikidata (see Wikipedia:Wikidata) --> |
|||
Simply add the tag <code><nowiki>{{lowercase title}}</nowiki></code> at the beginning of a page (and optionally, at the beginning of its talk page). There are no parameters. The tag will only decapitalize the first letter of the page's name in the title at the beginning of the page. Examples: |
|||
⚫ | |||
⚫ | |||
Simply add {{tlx|lowercase title}} at the top of a page (and optionally, at the top of its talk page). There are no parameters. Examples: |
|||
⚫ | |||
|- |
|- |
||
! Page name !! Will display |
! Page name !! Will display |
||
Line 18: | Line 20: | ||
|} |
|} |
||
== Issues == |
|||
⚫ | |||
⚫ | When using the template on redirect pages, the template must be moved |
||
⚫ | When using the template on redirect pages, the template must be moved ''after'' the redirect, since 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 on templates, please make sure to wrap it with a <noinclude> tag, so that transcluded pages don't get affected. |
When using on templates, please make sure to wrap it with a <noinclude> tag, so that transcluded pages don't get affected. |
||
== Technical == |
|||
⚫ | |||
⚫ | The template does ''' |
||
== Comparison == |
|||
⚫ | |||
== Technical notes == |
|||
⚫ | |||
Here is the actual script: |
|||
<source lang=sql> |
<source lang=sql> |
||
/* Page using a lowercase title, with or without {{lowercase}} */ |
/* Page using a lowercase title, with or without {{lowercase}} */ |
||
Line 43: | Line 40: | ||
</source> |
</source> |
||
== |
== See also == |
||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
==TemplateData== |
|||
{{TemplateData header}} |
{{TemplateData header}} |
||
<templatedata> |
<templatedata> |
||
Line 51: | Line 55: | ||
} |
} |
||
</templatedata> |
</templatedata> |
||
== See also == |
|||
* [[w:en:Help:Magic words|Magic words]] |
|||
⚫ | |||
⚫ | |||
<!-- Add categories below this line, and interwikis at Wikidata --> |
|||
⚫ | |||
⚫ |