Content deleted Content added
adding {{lowercase title}} on "lowercase title/doc" documentation page |
No edit summary |
||
(6 intermediate revisions by 4 users not shown) | |||
Line 1:
{{See also|Template:Nocaps}}
{{Documentation subpage}}
Line 5 ⟶ 4:
{{No substitution}}
{{TOC right}}
{{Template shortcut|lot}}
{{lua|Module:MultiReplace}}
== Usage ==
Simply add the
Some examples (in different [[Wikipedia:Namespace|namespaces]]):
Line 25:
| Category:macOS
|-
! scope="row" | [[:Template:
| Template:iPhone models
|}
Line 37:
== Technical ==
This template wraps the [[Help:Magic words|magic word]] DISPLAYTITLE so that it works automatically in any namespace (main/article, talk, template, category, etc.) to decapitalise the first letter of the name of a page it is transcluded on.
<syntaxhighlight lang=sql>
Line 62:
"label": "Fully italic",
"description": "If this AND \"italic\" have a value specified, then the whole title will be italic including any brackets.",
"type": "string"
},
"dab": {
"label": "Italicize disambiguation",
"description": "If this is specified with any value, italicize the part in brackets.",
"type": "string"
}
Line 71 ⟶ 76:
== See also ==
* [[Wikipedia:Naming conventions (technical restrictions)#Lowercase first letter]]
{{Correct title examples}}
<includeonly>{{Sandbox other||
|