[go: nahoru, domu]

Jump to content

Template:Lowercase title: Difference between revisions

From Simple English Wikipedia, the free encyclopedia
Content deleted Content added
Ais523 (talk | changes)
according to Special:ExpandTemplates, there's a bug with #if; this should work on both articles and templates
update
 
(21 intermediate revisions by 16 users not shown)
Line 1: Line 1:
{{DISPLAYTITLE:{{#if:{{NAMESPACE}}|{{NAMESPACE}}:|}}{{lcfirst:{{PAGENAME}}}}}}<noinclude>
<includeonly>{{DISPLAYTITLE: {{#if: {{NAMESPACE}}|{{NAMESPACE}}:}}{{#if: {{{italic|}}}
{{{{FULLPAGENAME}}/doc}}
| {{#if: {{{force|}}}
| ''{{lcfirst:{{PAGENAME}}}}''
<!-- Add cats and interwikis to the /doc subpage, not here! -->
| {{#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>
</noinclude>

Latest revision as of 22:39, 21 July 2024