Difference between revisions of "Template:Title"
Wikisimpsons - The Simpsons Wiki
m |
m (I didn't see the need for the "includeonly" tags. After seeing the result of my previous edit, I did.) |
||
Line 1: | Line 1: | ||
− | {{DISPLAYTITLE:{{{1}}}}}<noinclude> | + | <includeonly>{{DISPLAYTITLE:{{{1}}}}}</includeonly><noinclude> |
+ | |||
Usage examples: | Usage examples: | ||
*<code><nowiki>{{Title}}</nowiki></code> ''removes namespace'' | *<code><nowiki>{{Title}}</nowiki></code> ''removes namespace'' | ||
Line 6: | Line 7: | ||
*<code><nowiki>{{Title|align=right}}</nowiki></code> ''aligned to the right'' | *<code><nowiki>{{Title|align=right}}</nowiki></code> ''aligned to the right'' | ||
*<code><nowiki>{{Title|Foo Bar|align=center}}</nowiki></code> ''etc'' | *<code><nowiki>{{Title|Foo Bar|align=center}}</nowiki></code> ''etc'' | ||
+ | |||
[[Category:Templates]] | [[Category:Templates]] | ||
[[sv:Mall:Titel]] | [[sv:Mall:Titel]] | ||
</noinclude> | </noinclude> |
Revision as of 19:27, December 26, 2016
Usage examples:
{{Title}}
removes namespace{{Title|Foo Bar}}
custom title{{Title|align=center}}
centered{{Title|align=right}}
aligned to the right{{Title|Foo Bar|align=center}}
etc