Difference between revisions of "Template:Navbox"
m (Protected "Template:Navbox": High traffic page ([edit=sysop] (indefinite) [move=sysop] (indefinite))) |
m (Definitely not expecting other languages to set text-direction) |
||
(15 intermediate revisions by 3 users 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=|<!-- | ||
-->#default=collapsible {{#if:{{{state|}}}|{{{state}}}|autocollapse}}}}}} {{#switch:{{{border|{{{1|}}}}}}|<!-- | -->#default=collapsible {{#if:{{{state|}}}|{{{state}}}|autocollapse}}}}}} {{#switch:{{{border|{{{1|}}}}}}|<!-- | ||
− | -->subgroup|child|none=navbox-subgroup" style="width:100%;{{{bodystyle|}}};{{{style|}}}|<!-- | + | -->subgroup|child|none=navbox-subgroup {{{childclass|}}}" style="width:100%;{{{bodystyle|}}};{{{style|}}}|<!-- |
-->#default=" style="width:100%;background:transparent;color:inherit}};{{{innerstyle|}}};"><!-- | -->#default=" style="width:100%;background:transparent;color:inherit}};{{{innerstyle|}}};"><!-- | ||
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> | ||
{{wikipedia doc}} | {{wikipedia doc}} | ||
− | + | === See also === | |
+ | {{Navbox templates list}} | ||
[[Category:Templates|Navbox]] | [[Category:Templates|Navbox]] | ||
</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