Difference between revisions of "Template:Navbox"
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
Documentation for this template is available at Template:Navbox on Wikipedia. |
See also
Navbox templates (
){{Navbox}}
– master template.{{Navbox small}}
– for smaller navigational templates.{{Navbox with columns}}
– for displaying information in columns.{{Navbox subgroup}}
– for displaying navboxes inside of each other ("nesting").- See also: documentation on Wikipedia