Template
Interface template⮥
Navbox
From Dogcraft Wiki
imported>William278 No edit summary |
m (Added a pseudo tracking category for pages using navboxes (which is the easiest way to see which pages don't use navboxes)) |
||
(9 intermediate revisions by 3 users not shown) | |||
Line 1: | Line 1: | ||
<!-- | <noinclude>{{TemplateStyles}} {{Interface template}} [[Category:Navigation templates]] [[Category:Navboxes]]</noinclude>{{#ifeq: {{NAMESPACE}} | {{ns:Template}} | {{#ifeq: {{#sub:{{ROOTPAGENAME}}|0|6}} | Navbox | [[Category:Navboxes]] |}} | [[Category:Pages using Navboxes]] }}<!-- | ||
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" cellspacing="0" <!-- | --><templatestyles src="Template:Navbox/styles.css" />{{#switch:{{{border|{{{1|}}}}}}|subgroup|child=</div>|none=|#default=<table class="navbox" cellspacing="0" <!-- | ||
-->style="{{{bodystyle|}}};{{{style|}}}"><tr><td style="padding: | -->style="{{{bodystyle|}}};{{{style|}}}"><tr><td style="padding:3px;">}}<!-- | ||
--><table cellspacing="0" class="nowraplinks {{#if:{{{title|}}}|{{#switch:{{{state|}}}|plain|off=|<!-- | --><table cellspacing="0" class="nowraplinks {{#if:{{{title|}}}|{{#switch:{{{state|}}}|plain|off=|<!-- | ||
Line 35: | Line 35: | ||
---Above--- | ---Above--- | ||
-->{{#if:{{{above|}}}|<!-- | -->{{#if:{{{above|}}}|<!-- | ||
-->{{#if:{{{title|}}}|<tr style="height: | -->{{#if:{{{title|}}}|<tr style="height:3px;"><td></td></tr>}}<!-- | ||
--><tr><td class="navbox-abovebelow" style="{{{basestyle|}}};{{{abovestyle|}}}" <!-- | --><tr><td class="navbox-abovebelow" style="{{{basestyle|}}};{{{abovestyle|}}}" <!-- | ||
-->colspan="{{#expr:2{{#if:{{{imageleft|}}}|+1}}{{#if:{{{image|}}}|+1}}}}">{{{above}}}</td></tr>}}<!-- | -->colspan="{{#expr:2{{#if:{{{imageleft|}}}|+1}}{{#if:{{{image|}}}|+1}}}}">{{{above}}}</td></tr>}}<!-- | ||
Line 239: | Line 239: | ||
--></table>{{#switch:{{{border|{{{1|}}}}}}|subgroup|child=<div>|none=|#default=</td></tr></table>}}<!-- | --></table>{{#switch:{{{border|{{{1|}}}}}}|subgroup|child=<div>|none=|#default=</td></tr></table>}}<!-- | ||
-- | --> | ||
Latest revision as of 17:46, 29 July 2024
This template uses TemplateStyles: |