Template:Notice: Difference between revisions

From Splatoon Fanon
mNo edit summary
mNo edit summary
 
Line 4: Line 4:
! class="roundtop" colspan="{{{colpsan|2}}}" style="border:2px #{{{headerborder|{{color|site-navy}}}}} solid; background-color:#{{{headercolor|{{color|blue}}}}}; padding:2px" | '''{{{header|Header}}}'''
! class="roundtop" colspan="{{{colpsan|2}}}" style="border:2px #{{{headerborder|{{color|site-navy}}}}} solid; background-color:#{{{headercolor|{{color|blue}}}}}; padding:2px" | '''{{{header|Header}}}'''
|-
|-
| class="roundbottom" colspan="{{{colpsan|2}}}" style="border:2px #{{{headerborder|{{color|site-navy}}}}} solid; background-color:#{{{headercolor|{{color|pink}}}}}; padding:2px" | {{{content|Content}}}
| class="roundbottom" colspan="{{{colpsan|2}}}" style="border:2px #{{{contentborder|{{color|site-navy}}}}} solid; background-color:#{{{contentcolor|{{color|pink}}}}}; padding:2px" | {{{content|Content}}}
|}<noinclude>
|}<noinclude>
{{Uses TemplateStyles}}
{{Uses TemplateStyles}}
Line 14: Line 14:
*<code>headerborder</code>: Changes the header border color
*<code>headerborder</code>: Changes the header border color
*<code>headercolor</code>: Changes the header background color
*<code>headercolor</code>: Changes the header background color
*<code>contentborder</code>: Changes the content border color
*<code>contentcolor</code>: Changes the content background color
*<code>header</code>: Text to go within the header
*<code>header</code>: Text to go within the header
*<code>class</code>: Any auxiliary classes for the entire box
*<code>class</code>: Any auxiliary classes for the entire box
Line 22: Line 24:
|tableborder=|tablecolor=
|tableborder=|tablecolor=
|headerborder=|headercolor=
|headerborder=|headercolor=
|contentborder=|contentcolor=
|class=|style=
|class=|style=
|header=
|header=

Latest revision as of 03:36, 3 July 2025

Header
Content
This page uses CSS from Template:Notice/styles.css.
Most style elements should be controlled from there.

Notice box framework. To be used for the construction of other simple templates

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
  • contentborder: Changes the content border color
  • contentcolor: Changes the content background color
  • header: Text to go within the header
  • class: Any auxiliary classes for the entire box
  • style: Any auxiliary styles for the entire box
{{Notice
|tableborder=|tablecolor=
|headerborder=|headercolor=
|contentborder=|contentcolor=
|class=|style=
|header=
|content=
}}