« Modèle:Navbox » : différence entre les versions
De Pikmin FR
fr>Yaya m 1 version importée |
m 14 versions importées |
||
(12 versions intermédiaires par 3 utilisateurs non affichées) | |||
Ligne 1 : | Ligne 1 : | ||
< | <templatestyles src="Modèle:Navbox/styles.css" /> | ||
{| class="navbox mw-collapsible autocollapse {{{class|}}}" style="border:2px #{{{tableborder|000000}}} solid; background-color:#{{{tablecolor|{{color|dark-green}}}}}; {{{style|}}}" | |||
! colspan="{{{colpsan|2}}}" style="border:2px #{{{headerborder|{{color|light-green}}}}} solid; background-color:#{{{headercolor|{{color|green}}}}}" | '''{{{header|Header}}}''' | |||
|-<noinclude> | |||
|} | |||
Navbox framework. '''Do not use this template directly!''' Instead, use it as the header to create other subpage templates to this page. | |||
Some configurations are available: | |||
*<code>tableborder</code>: Changes the outside border color | |||
*<code>tablecolor</code>: Changes the table color | |||
*<code>headerborder</code>: Changes the header border color | |||
*<code>headercolor</code>: Changes the header background color | |||
*<code>header</code>: Text to go within the header | |||
*<code>class</code>: Any auxiliary classes for the entire navbox | |||
*<code>style</code>: Any auxiliary styles for the entire navbox | |||
<pre> | |||
{{Naxbox|tableborder=|tablecolor=|headerborder=|headercolor=|header=|class=|style=}} | |||
! | |||
| | |||
|- | |- | ||
! | |||
| | | | ||
| | |} | ||
</pre> | |||
[[Categorie:Modèles]]</noinclude> | |||
Dernière version du 8 avril 2025 à 17:09
Header |
---|
Navbox framework. Do not use this template directly! Instead, use it as the header to create other subpage templates to this page.
Some configurations are available:
tableborder
: Changes the outside border colortablecolor
: Changes the table colorheaderborder
: Changes the header border colorheadercolor
: Changes the header background colorheader
: Text to go within the headerclass
: Any auxiliary classes for the entire navboxstyle
: Any auxiliary styles for the entire navbox
{{Naxbox|tableborder=|tablecolor=|headerborder=|headercolor=|header=|class=|style=}} ! | |- ! | |}