Difference between revisions of "Template:Navbox"

From Team Fortress Wiki
Jump to: navigation, search
m (Reverted edits by Smashman (Talk) to last revision by Seb26)
m (Definitely not expecting other languages to set text-direction)
 
(9 intermediate revisions by one other user not shown)
Line 3: Line 3:
 
Please do not edit without discussion first as this is a VERY complex template.
 
Please do not edit without discussion first as this is a VERY complex template.
  
-->{{#switch:{{{border|{{{1|}}}}}}|subgroup|child=</div>|none=|#default=<table class="navbox {{{bodyclass|}}}" cellspacing="0" <!--
+
-->{{#switch:{{{border|{{{1|}}}}}}|subgroup|child={{#if:{{{vtabs|}}}||</div>}}|none=|#default=<table class="navbox {{{bodyclass|}}}" cellspacing="0" <!--
  -->style="{{{bodystyle|}}};{{{style|}}}"><tr><td style="padding:2px;">}}<!--
+
  -->style="{{{bodystyle|}}};{{lang incomplete|ar=text-direction:{{{text-direction|rtl}}}|en=}};{{{style|}}}"><tr><td style="padding:2px;">}}<!--
  
 
--><table cellspacing="0" class="nowraplinks {{#if:{{{title|}}}|{{#switch:{{{state|}}}|plain|off=|<!--
 
--><table cellspacing="0" class="nowraplinks {{#if:{{{title|}}}|{{#switch:{{{state|}}}|plain|off=|<!--
Line 256: Line 256:
  
  
--></table>{{#switch:{{{border|{{{1|}}}}}}|subgroup|child=<div>|none=|#default=</td></tr></table>}}<!--
+
--></table>{{#switch:{{{border|{{{1|}}}}}}|subgroup|child={{#if:{{{vtabs|}}}||<div>}}|none=|#default=</td></tr></table>}}<!--
  
 
--><noinclude>
 
--><noinclude>

Latest revision as of 03:01, 29 January 2022

See also

Navbox templatesview  edit )