• New article from the Springfield Shopper: Season 36 News: Three new episode titles, “The Beatiful Shame”, “Shoddy Heat” and “Marge and Homer and Moe and Maya”, have been announced!
  • Wikisimpsons needs more Featured Article, Picture, Quote, Episode and Comprehensive article nominations!
  • Wikisimpsons has a Discord server! Click here for your invite! Join to talk about the wiki, Simpsons and Tapped Out news, or just to talk to other users.
  • Make an account! It's easy, free, and your work on the wiki can be attributed to you.
TwitterFacebookDiscord

Difference between revisions of "Template:Title"

Wikisimpsons - The Simpsons Wiki
(Works considerabley faster than the other one, please add the text align bit.)
(Undo revision 279944 by Randomno (talk) You just borked it)
Line 1: Line 1:
{{DISPLAYTITLE:{{{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>
  
 
Usage examples:
 
Usage examples:
 
*<code><nowiki>{{Title}}</nowiki></code> ''removes namespace''
 
*<code><nowiki>{{Title}}</nowiki></code> ''removes namespace''
*<code><nowiki>{{Title|Foo Bar}}</nowiki></code> ''custom title''
+
*<code><nowiki>{{Title|Foo Bar}}</nowiki></code> ''custom title
 
*<code><nowiki>{{Title|align=center}}</nowiki></code> ''centered''
 
*<code><nowiki>{{Title|align=center}}</nowiki></code> ''centered''
 
*<code><nowiki>{{Title|align=right}}</nowiki></code> ''aligned to the right''
 
*<code><nowiki>{{Title|align=right}}</nowiki></code> ''aligned to the right''

Revision as of 15:26, January 27, 2012

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

Template taken from ShoutWiki Hub.