• 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
m (Reverted edits by Solar Dragon (talk | block) to last version by Joeyaa)
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 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>
{{#switch:{{{usecss}}}|yes|true=
 
<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">
 
{{#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:
 
Usage examples:
Line 13: Line 8:
 
*<code><nowiki>{{Title|Foo Bar|align=center}}</nowiki></code> ''etc''
 
*<code><nowiki>{{Title|Foo Bar|align=center}}</nowiki></code> ''etc''
  
 
+
Template taken from [[s:w:Template:Title|ShoutWiki Hub]].
*<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:Templates|{{PAGENAME}}]]
 
[[Category:Templates|{{PAGENAME}}]]
 
</noinclude>
 
</noinclude>

Revision as of 17:58, January 22, 2011

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.