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">{{#switch:{{{align}}}|right=right|middle|center=center|left}}</div>
-
{{#switch:{{{usecss}}}|yes|true=
 
-
<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">
 
-
{{#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 #aaa;">{{{1|{{PAGENAME}}}}}</div>
 
-
</div>}}<noinclude>
 
Usage examples:
Usage examples:

Revision as of 02:52, 26 November 2007

Usage examples:

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


  • {{T|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.
Personal tools