Difference between revisions of "Template:Title"
Wikisimpsons - The Simpsons Wiki
m (I didn't see the need for the "includeonly" tags. After seeing the result of my previous edit, I did.) |
m |
||
Line 1: | Line 1: | ||
<includeonly>{{DISPLAYTITLE:{{{1}}}}}</includeonly><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 7: | Line 6: | ||
*<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:41, 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