Skillnad mellan versioner av "Mall:Titel"

Från Svenska Wikisimpsons
(:|)
(Gör version 3458 av Randomno (diskussion) ogjord :|)
 
Rad 1: Rad 1:
{{DISPLAYTITLE:{{{1|{{PAGENAME}}}}}}}<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><noinclude>
 +
 
 +
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''
 +
 
  
 
[[Category:Mallar|{{PAGENAME}}]]
 
[[Category:Mallar|{{PAGENAME}}]]

Nuvarande version från 23 april 2012 kl. 20.41

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}} etcde:Vorlage:Titel