Jump to content
Main menu
Main menu
move to sidebar
hide
Navigation
Main page
Recent changes
Random page
Help about MediaWiki
Search
Search
Create account
Log in
Personal tools
Create account
Log in
Pages for logged out editors
learn more
Contributions
Talk
Editing
Template:Lowercase title/doc
Template
Discussion
English
Read
Edit source
View history
Tools
Tools
move to sidebar
hide
Actions
Read
Edit source
View history
General
What links here
Related changes
Special pages
Page information
Warning:
You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in
or
create an account
, your edits will be attributed to your username, along with other benefits.
Anti-spam check. Do
not
fill this in!
{{See also|Template:Nocaps}} {{Documentation subpage}} {{High-use}} {{No substitution}} {{TOC right}} {{Template shortcut|lot}} {{lua|Module:MultiReplace}} == Usage == Simply add the [[Help:Wikitext|wikitext]] markup {{tlx|Lowercase title}} at the beginning of a page (and optionally, at the beginning of its talk page). There are no parameters. The markup will only decapitalize the first letter of the page's name in the title at the beginning of the page. Some examples (in different [[Wikipedia:Namespace|namespaces]]): {| class="wikitable" width=370px |- ! scope="col" | Page name ! scope="col" | Will display |- ! scope="row" | [[EBay]] | eBay |- ! scope="row" | [[Talk:EBay]] | Talk:eBay |- ! scope="row" | [[:Category:MacOS]] | Category:macOS |- ! scope="row" | [[:Template:IPhone models]] | Template:iPhone models |} == Issues == The template does '''not''' work together with other title modification templates: you need to use DISPLAYTITLE directly and make sure it's the last DISPLAYTITLE on the page. For example, to make "Example" italic and lowercase, use <code><nowiki>{{DISPLAYTITLE:''example''}}</nowiki></code>. 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. == 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> /* Page using a lowercase title, with or without {{lowercase}} */ SELECT page_title, pp_value AS displaytitle FROM page JOIN page_props ON pp_page=page_id AND pp_propname="displaytitle" WHERE page_namespace=0 AND CONVERT(pp_value USING utf8mb4) COLLATE utf8mb4_bin /* &#greek; */ REGEXP "^([_ :]+|<[^<>]+>)*([[:lower:]]|	[4-6][0-9];)" </syntaxhighlight> ==TemplateData== {{TemplateData header}} <templatedata> { "params": { "italic": { "label": "Italic", "description": "If this is specified with any value, italicize the title, except for any part in brackets.", "type": "string" }, "force": { "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" } }, "description": "This template is used to make the first letter of the page title lowercase. It will not affect the page URL, just the displayed name." } </templatedata> == See also == * [[Wikipedia:Naming conventions (technical restrictions)#Lowercase first letter]] {{Correct title examples}} <includeonly>{{Sandbox other|| [[Category:Correct title templates]] }}</includeonly>
Summary:
Please note that all contributions to Red Letter Media Wiki may be edited, altered, or removed by other contributors. If you do not want your writing to be edited mercilessly, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource (see
RLMWiki:Copyrights
for details).
Do not submit copyrighted work without permission!
Cancel
Editing help
(opens in new window)
Templates used on this page:
Template:Always substitute
(
edit
)
Template:Correct title examples
(
edit
)
Template:Dir
(
edit
)
Template:Documentation subpage
(
edit
)
Template:High-use
(
edit
)
Template:Hlist/styles.css
(
edit
)
Template:Lowercase
(
edit
)
Template:Lua
(
edit
)
Template:Mbox
(
edit
)
Template:Mbox/styles.css
(
edit
)
Template:Navbar
(
edit
)
Template:Never substitute
(
edit
)
Template:No redirect
(
edit
)
Template:No substitution
(
edit
)
Template:Ombox
(
edit
)
Template:Para
(
edit
)
Template:Plainlist/styles.css
(
edit
)
Template:Sandbox other
(
edit
)
Template:See also
(
edit
)
Template:Strong
(
edit
)
Template:TOC right
(
edit
)
Template:TOC right/styles.css
(
edit
)
Template:TemplateData header
(
edit
)
Template:Template link expanded
(
edit
)
Template:Template link with parameters
(
edit
)
Template:Template other
(
edit
)
Template:Template parameter usage
(
edit
)
Template:Template shortcut
(
edit
)
Template:Terminate sentence
(
edit
)
Template:Tlp
(
edit
)
Template:Tlx
(
edit
)
Template:Yesno
(
edit
)
Template:Yesno-no
(
edit
)
Module:Arguments
(
edit
)
Module:Check for unknown parameters
(
edit
)
Module:Format link
(
edit
)
Module:Hatnote
(
edit
)
Module:Hatnote/styles.css
(
edit
)
Module:Hatnote list
(
edit
)
Module:High-use
(
edit
)
Module:Labelled list hatnote
(
edit
)
Module:List
(
edit
)
Module:Lua banner
(
edit
)
Module:Message box
(
edit
)
Module:Message box/configuration
(
edit
)
Module:Message box/ombox.css
(
edit
)
Module:Navbar
(
edit
)
Module:Navbar/configuration
(
edit
)
Module:Navbar/styles.css
(
edit
)
Module:Redirect
(
edit
)
Module:Shortcut
(
edit
)
Module:Shortcut/config
(
edit
)
Module:Shortcut/styles.css
(
edit
)
Module:String
(
edit
)
Module:TableTools
(
edit
)
Module:Template link general
(
edit
)
Module:Text
(
edit
)
Module:Transclusion count
(
edit
)
Module:Transclusion count/data/L
(
edit
)
Module:Unsubst
(
edit
)
Module:Yesno
(
edit
)
Toggle limited content width