« Modèle:Navbox » : différence entre les versions

De Pikmin FR
fr>Fxfxfx0
mAucun résumé des modifications
m 14 versions importées
 
(3 versions intermédiaires par 2 utilisateurs non affichées)
Ligne 1 : Ligne 1 :
<includeonly><templatestyles src="Navbox/styles.css" />
<templatestyles src="Modèle:Navbox/styles.css" />
{| class="mw-collapsible mw-collapsed navbox" style="background-color: {{#if:{{{color|}}}
 
    |rgb({{{color}}})
{| class="navbox mw-collapsible autocollapse {{{class|}}}" style="border:2px #{{{tableborder|000000}}} solid; background-color:#{{{tablecolor|{{color|dark-green}}}}}; {{{style|}}}"
    |{{Color scheme|{{{colorscheme|Generic}}}}}
! colspan="{{{colpsan|2}}}" style="border:2px #{{{headerborder|{{color|light-green}}}}} solid; background-color:#{{{headercolor|{{color|green}}}}}" | '''{{{header|Header}}}'''
}}; {{{style|}}}"
|-<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=}}
!
|
|-
|-
|<div style="color: {{Color scheme|{{{colorscheme|}}}|textColor}};">{{{title|{{{1}}}}}}</div>
!
|-
|
|<div style="background-color: {{#if:{{{color|}}}
|}
    |rgba({{{color}}}, 0.2)
</pre>
    |{{Color scheme|{{{colorscheme|Generic}}}|contentBackground}}
[[Categorie:Modèles]]</noinclude>
}};"></includeonly>
<noinclude>{{documentation}}[[Category:Navigation templates]]</noinclude>

Dernière version du 8 avril 2025 à 17:09

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 color
  • tablecolor: Changes the table color
  • headerborder: Changes the header border color
  • headercolor: Changes the header background color
  • header: Text to go within the header
  • class: Any auxiliary classes for the entire navbox
  • style: Any auxiliary styles for the entire navbox
{{Naxbox|tableborder=|tablecolor=|headerborder=|headercolor=|header=|class=|style=}}
!
|
|-
!
|
|}