Template:Title: Difference between revisions

From Halopedia, the Halo wiki

No edit summary
(Hell, whatever.)
Line 1: Line 1:
<div id="title-meta" style="display: none">{{{1|{{PAGENAME}}}}}</div><div id="title-align" style="display: none">{{#switch:{{{align}}}|right=right|middle|center=center|left}}</div>
<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>
{{#switch:{{usecss}}|yes|true=<div id="titlehack" style="text-align:{{#switch:{{{align}}}|right=right|middle|center=center|left}};">
{{#switch:{{MediaWiki:Sitenotice}}|-|=|#default=<div id="siteNotice" style="visibility:hidden"><p>{{MediaWiki:Sitenotice}}</p></div>}}
<div style="margin-bottom: 0; color: black; background-color: #FFFFFF; font-weight: normal; padding-top: .5em; padding-bottom: .17em; font-size: 188%; border-bottom: 1px solid #aaaaaa;">{{{1|{{PAGENAME}}}}}</div>
</div>
</div>}}<noinclude>


Usage examples:
Usage examples:
*<code><nowiki>{{Title}}</nowiki></code> ''removes namespace''
*<code><nowiki>{{Title}}</nowiki></code> ''removes namespace''
*<code><nowiki>{{Title|Foo Bar}}</nowiki></code> ''custom title
*<code><nowiki>{{Title|Foo Bar}}</nowiki></code> ''custom title
*<code><nowiki>{{Title|align=center}}</nowiki></code> ''centered''
*<code><nowiki>{{Title|align=right}}</nowiki></code> ''aligned to the right''
*<code><nowiki>{{Title|Foo Bar|align=center}}</nowiki></code> ''etc''
*<code><nowiki>{{Title|Foo|usecss=yes}}</nowiki></code> ''Uses old title hack method using css. This hides voting boxes, and has some other problems, so only use where the normal version won't work.''


[[Category:Utility templates|{{PAGENAME}}]]
[[Category:Utility templates|{{PAGENAME}}]]
</noinclude>
</noinclude>

Revision as of 19:07, March 26, 2008

The correct title of this article is Title. It appears incorrectly here because of technical restrictions.

Usage examples:

  • {{Title}} removes namespace
  • {{Title|Foo Bar}} custom title