Template:Title

From MeritBadgeDotOrg

(Difference between revisions)
Jump to: navigation, search
(New page: <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><noinclu...)
Current revision (21:30, February 23, 2011) (edit) (undo)
 
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><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>
-
 
+
-
Usage examples:
+
-
*<code><nowiki>{{Title}}</nowiki></code> ''removes namespace''
+
-
*<code><nowiki>{{Title|Foo Bar}}</nowiki></code> ''custom title
+
-
*<code><nowiki>{{Title|align=center}}</nowiki></code> ''centered''
+
-
*<code><nowiki>{{Title|align=right}}</nowiki></code> ''aligned to the right''
+
-
*<code><nowiki>{{Title|Foo Bar|align=center}}</nowiki></code> ''etc''
+

Current revision

Personal tools
language