Template:MenuBox: Difference between revisions
Jump to navigation
Jump to search
(ensure that the header is always above the bg image; prevent image overflow) |
No edit summary |
||
(18 intermediate revisions by 5 users not shown) | |||
Line 1: | Line 1: | ||
{{Documentation}} | |||
<includeonly> | |||
== | <onlyinclude><div style="position:relative; margin:0 0 1em 1em; {{#if: {{{nofloat|}}} | display:inline-block; | float:right;}}"> | ||
< | <div class="navbox" style="border:2px solid {{{bdcolor|#525252}}}; text-align:left;background:{{{bgcolor|#323232}}};"> | ||
|title | <div style="text-align:center; padding:.6em; background-color:{{{bgcolor2|#262626}}}; border-bottom: 2px solid {{{bdcolor2|#262626}}}; font-size:1em;position:relative;z-index:1">{{#if: {{{icon|}}} | {{{icon}}} }} '''{{#if:{{{nolink|}}}|{{{title|}}}|{{Lx|{{{link|{{{title}}}}}}|{{{title|{{{link}}}}}}}}}}'''</div> | ||
| | <div class="navbox-text" style="position:relative; {{#if: {{{nopad|}}} | | padding:.8em 3.2em .8em .8em;}} z-index:1; {{#if: {{{txtcolor|}}} | color: {{{txtcolor|}}} }}">{{{text}}}</div> | ||
| | </div> | ||
</div></onlyinclude> | |||
| | </includeonly> | ||
| | |||
| | |||
| | |||
| | |||
| | |||
}} | |||
</ |
Latest revision as of 04:36, 11 May 2025
The above documentation is transcluded from Template:MenuBox/doc. (Edit | Page history)
Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages.
Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages.