Template:Title: Difference between revisions

From Halopedia, the Halo wiki

mNo edit summary
mNo edit summary
Line 1: Line 1:
<div id="title-override" class="firstHeading" style="font-size: 100%; padding-top: 0.5em; padding-bottom: 0.09em; float: left; position: absolute; left: 0.5em; top: 0em; width: 100%;"><span id="pTitle">{{{1}}}</span></div>
<span>{{DISPLAYTITLE:{{#if:{{NAMESPACE}}|{{NAMESPACE}}:|}}}}</span><noinclude>
<!--
<!--
<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="title-meta" style="display: none">{{{1|{{PAGENAME}}}}}</div><div id="title-align" style="display: none">{{#switch:{{{align}}}|right=right|middle|center=center|left}}</div>

Revision as of 22:48, March 2, 2010


Usage examples:

  • {{Title}} removes namespace
  • {{Title|Foo Bar}} custom title
  • {{Title|align=center}} centered
  • {{Title|align=right}} aligned to the right
  • {{Title|Foo Bar|align=center}} etc


  • {{Title|Foo|usecss=yes}} 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.