Template:Navbox: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
mNo edit summary |
||
(2 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
<!-- | <!--. | ||
/ . \ | |||
Please do not edit without discussion first as this is a VERY complex template. | |\_/| | | ||
| | /| | |||
-->{{#switch:{{{border|{{{1|}}}}}}|subgroup|child=</div>|none=|#default=<table cellspacing="0" <!-- | .----------------------------------------------------------------' | | ||
/ .-. Please do not edit this template without discussion | | |||
| / \ first as this is a VERY complex template and may be | | |||
| |\_. | a fairly high-traffic one. | | |||
|\| | /| | | |||
| `---' | If you want to edit the contents of a navbox, and | | |||
| | not the code for rendering it, please see the | | |||
| | documentation visible on this page. / | |||
| |----------------------------------------------------------' | |||
\ | | |||
\ / | |||
`---> | |||
{{#switch:{{{border|{{{1|}}}}}}|subgroup|child=</div>|none=|#default=<table cellspacing="0" <!-- | |||
-->class="navbox" style="border-spacing:0;{{{bodystyle|}}};{{{style|}}}"><tr><td style="padding:2px;">}}<!-- | -->class="navbox" style="border-spacing:0;{{{bodystyle|}}};{{{style|}}}"><tr><td style="padding:2px;">}}<!-- | ||
Line 273: | Line 285: | ||
--><tr><td class="navbox-abovebelow {{{belowclass|}}}" style="{{{basestyle|}}};{{{belowstyle|}}}" <!-- | --><tr><td class="navbox-abovebelow {{{belowclass|}}}" style="{{{basestyle|}}};{{{belowstyle|}}}" <!-- | ||
-->colspan="{{#expr:2{{#if:{{{imageleft|}}}|+1}}{{#if:{{{image|}}}|+1}}}}"><div> | -->colspan="{{#expr:2{{#if:{{{imageleft|}}}|+1}}{{#if:{{{image|}}}|+1}}}}"><div> | ||
{{{below}}}</div></td></tr>}} | {{{below}}}</div></td></tr>}}</table>{{#switch:{{{border|{{{1|}}}}}}|subgroup|child=<div>|none=|#default=</td></tr></table>}} | ||
{{#ifeq:{{NAMESPACE}}|{{ns:10}}|{{#ifeq:{{{border|{{{1|}}}}}}|child||{{#ifeq:{{{border|{{{1|}}}}}}|subgroup||{{#switch:{{lc:{{SUBPAGENAME}}}} | |||
|doc | |doc | ||
|sandbox | |sandbox | ||
Line 291: | Line 299: | ||
}} | }} | ||
}} | }} | ||
}}}}}}<noinclude> | }}}}}}<noinclude>This template is not intended to be used on content pages.<br/> | ||
A separate template for each category will use this template directly.<br/> | |||
They will be listed here: | |||
* | * [[Template:Pools]] | ||
* | * [[Template:Exchanges]] | ||
Feel free to suggest new navboxes. | |||
</noinclude> | </noinclude> |
Latest revision as of 00:57, 14 August 2014
This template is not intended to be used on content pages.
A separate template for each category will use this template directly.
They will be listed here:
Feel free to suggest new navboxes.