Template:T

From Wikipop

(Difference between revisions)
m
 
(20 intermediate revisions not shown)
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 style="position: absolute; top: 0px; left: 0px;z-index:23;font-family:courier;text-align:left;width:98%; margin:0px 10px; background:white; font-size: 15px;">
-
{{#switch:{{{usecss}}}|yes|true=
+
<h1><span style="color:cornflowerblue; font-weight: bold; text-shadow: #000 0px 0px 1px">{{{1}}}</span></h1>
-
<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">
+
</div>
-
{{#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:
+
-
*<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>{{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}}]]
+
-
</noinclude>
+

Current revision as of 00:35, 4 May 2011

{{{1}}}

Personal tools