Template:Title: Difference between revisions
From Halopedia, the Halo wiki
No edit summary |
mNo edit summary |
||
Line 1: | Line 1: | ||
<includeonly>{{DISPLAYTITLE:{{{1}}}}}</includeonly><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> | ||
{{#switch:{{usecss}}|yes|true=<div id="titlehack" style="text-align:{{#switch:{{{align}}}|right=right|middle|center=center|left}};"> | {{#switch:{{usecss}}|yes|true=<div id="titlehack" style="text-align:{{#switch:{{{align}}}|right=right|middle|center=center|left}};"> | ||
Line 4: | Line 6: | ||
<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 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> | ||
</div>}} | </div>}} | ||
Usage examples: | Usage examples: | ||
Line 15: | Line 17: | ||
*<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.'' | *<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:Templates|{{PAGENAME}}]] | [[Category:Templates|{{PAGENAME}}]] | ||
</noinclude> | </noinclude> |
Revision as of 18:50, November 10, 2010