Template:Title: Difference between revisions

From Halopedia, the Halo wiki

(adapt template)
m (Text replacement - "{{DISPLAYTITLE:{{{1|{{FULLPAGENAME}}}}}}}" to "{{#if:{{{1|}}}|{{DISPLAYTITLE:{{{1}}}}}}}")
 
(25 intermediate revisions by 7 users not shown)
Line 1: Line 1:
<div id="RealTitleBanner" style="font-style: italic; line-height:1.5em; margin-bottom:0.1em; margin-left:2em;">The correct title of this article is <span id="RealTitle" style="font-style:normal;">{{{1|{{PAGENAME}}}}}</span>. It appears incorrectly here because of [[m:Help:Page name|technical restrictions]].</div><noinclude>
<includeonly><div>{{#if:{{{1|}}}|{{DISPLAYTITLE:{{{1}}}}}}}{{#if:{{{pagetitle|}}}|{{pagetitle|{{{pagetitle}}}}}}}</div></includeonly><noinclude>[[Category:Templates]]</noinclude>
 
Usage examples:
*<code><nowiki>{{Title}}</nowiki></code> ''removes namespace''
*<code><nowiki>{{Title|Foo Bar}}</nowiki></code> ''custom title
 
[[Category:Utility templates|{{PAGENAME}}]]
</noinclude>

Latest revision as of 01:18, January 26, 2023