Toggle menu
Toggle preferences menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

Template:Lowercase title: Difference between revisions

Template page
m 1 revision imported
copy from https://www.mediawiki.org/w/index.php?title=Template:Lowercase_title&oldid=5547365 which is simpler, and might work better with translated pages
 
Line 1: Line 1:
<includeonly>{{DISPLAYTITLE: {{#if: {{NAMESPACE}}|{{NAMESPACE}}:}}{{#if: {{{italic|}}}
<span style="display:none">{{DISPLAYTITLE:{{#if:{{NAMESPACE}}|{{NAMESPACE}}:|}}{{lcfirst:{{PAGENAME}}}}}}</span><noinclude>
  | {{#if: {{{force|}}}
    | ''{{lcfirst:{{PAGENAME}}}}''
    | {{#invoke:MultiReplace|main|{{lcfirst:{{PAGENAME}}}}|^(.*)(%b())$|''%1''%2|.*|''%1''}}
    }}
  | {{#if: {{{dab|}}}
    | {{#invoke:MultiReplace|main|{{lcfirst:{{PAGENAME}}}}|{{Title disambig text|{{PAGENAME}}}}|''{{Title disambig text|{{PAGENAME}}}}''}}
    | {{lcfirst:{{PAGENAME}}}}
    }}
  }}
}}</includeonly><noinclude>
{{Documentation}}
{{Documentation}}
</noinclude>
</noinclude>