Typecraft v2.5
Jump to: navigation, search

Difference between revisions of "Template:Infobox"

(add support for italic titles, per discussion)
Line 439: Line 439:
 
  Navbar
 
  Navbar
 
-->{{#if:{{{name|}}}|<tr><td colspan="2" style="text-align:right">{{navbar|{{{name}}}|mini=1}}</td></tr>}}
 
-->{{#if:{{{name|}}}|<tr><td colspan="2" style="text-align:right">{{navbar|{{{name}}}|mini=1}}</td></tr>}}
{{#ifeq:{{{child|}}}|yes||</table>}}<noinclude>
+
{{#ifeq:{{{child|}}}|yes||</table>}}{{#switch:{{lc:{{{italic title|¬}}}}}
 +
|¬|no      = <!-- no italic title -->
 +
||force|yes = {{italic title|force={{#ifeq:{{lc:{{{italic title|}}}}}|force|true}}}}
 +
}}<noinclude>
 
{{documentation}}
 
{{documentation}}
 
</noinclude>
 
</noinclude>

Revision as of 10:00, 26 November 2010

[edit] [purge] 50px Template documentation

(edit)