Template:T

From Wikipop

(Difference between revisions)
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="title-meta" style="display: none">{{{1|{{PAGENAME}}}}}</div><div id="title-align" style="display: none">&nbsp;</div>
 +
<div id="titlehack" style="display:none; padding-top:0; padding-bottom:0; text-align:{{#switch:{{{align}}}|right=right|middle|center=center|left}}; position:absolute; left:0.95em; top:0%; width:98%; background-color:transparent">&nbsp;</div>}}<noinclude>
-
Usage examples:
+
[[Category:Utility templates|{{PAGENAME}}]]</noinclude>
-
*<code><nowiki>{{T}}</nowiki></code> ''removes namespace''
+
-
*<code><nowiki>{{T|Foo Bar}}</nowiki></code> ''custom title
+
-
*<code><nowiki>{{T|align=center}}</nowiki></code> ''centered''
+
-
*<code><nowiki>{{T|align=right}}</nowiki></code> ''aligned to the right''
+
-
*<code><nowiki>{{T|Foo Bar|align=center}}</nowiki></code> ''etc''
+
-
 
+
-
 
+
-
*<code><nowiki>{{T|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}}]]
+
-
</noinclude>
+

Revision as of 02:59, 26 November 2007

}}
Personal tools