Template:Lowercase title: Difference between revisions

From EunuchWiki
imported>TabbyGarf
1 revision imported
 
added a |dab= to additionally place the dab portion in italics
Line 1: Line 1:
<span>{{DISPLAYTITLE:{{#if:{{NAMESPACE}}|{{NAMESPACE}}:|}}{{lcfirst:{{PAGENAME}}}}}}</span><noinclude>
<includeonly>{{DISPLAYTITLE: {{#if: {{NAMESPACE}}|{{NAMESPACE}}:}}{{#if: {{{italic|}}}
 
  | {{#if: {{{force|}}}
[[Category:Formatting Templates|{{PAGENAME}}]]
    | ''{{lcfirst:{{PAGENAME}}}}''
[[Category:Templates/rarely used|{{PAGENAME}}]]</noinclude>
    | {{#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}}
</noinclude>

Revision as of 10:59, 19 October 2021