Template:Notice: Difference between revisions

From Splatoon Fanon
Created page with "<templatestyles src="Template:Notice/styles.css" /> {| class="round templatetext notice {{{class|}}}" style="border:2px #{{{tableborder|000000}}} solid; background-color:#{{{tablecolor|{{color|burnt-gold}}}}}; {{{style|}}}" ! class="roundtop" colspan="{{{colpsan|2}}}" style="border:2px #{{{headerborder|{{color|medium-yellow}}}}} solid; background-color:#{{{headercolor|{{color|yellow}}}}}; padding:2px" | '''{{{header|Header}}}''' |- | class="roundbottom" colspan="{{{colp..."
 
mNo edit summary
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
<templatestyles src="Template:Notice/styles.css" />
<templatestyles src="Template:Notice/styles.css" />


{| class="round templatetext notice {{{class|}}}" style="border:2px #{{{tableborder|000000}}} solid; background-color:#{{{tablecolor|{{color|burnt-gold}}}}}; {{{style|}}}"
{| class="round templatetext notice {{{class|}}}" style="border:2px #{{{tableborder|{{color|000000}}}}} solid; background-color:#{{{tablecolor|{{color|burnt-gold}}}}}; {{{style|}}}"
! class="roundtop" colspan="{{{colpsan|2}}}" style="border:2px #{{{headerborder|{{color|medium-yellow}}}}} solid; background-color:#{{{headercolor|{{color|yellow}}}}}; padding:2px" | '''{{{header|Header}}}'''
! class="roundtop" colspan="{{{colpsan|2}}}" style="border:2px #{{{headerborder|{{color|medium-yellow}}}}} solid; background-color:#{{{headercolor|{{color|yellow}}}}}; padding:2px" | '''{{{header|Header}}}'''
|-
|-
| class="roundbottom" colspan="{{{colpsan|2}}}" style="border:2px #{{{headerborder|{{color|yellow}}}}} solid; background-color:#{{{headercolor|{{color|light-yellow}}}}}; padding:2px" | {{{content|Content}}}
| class="roundbottom" colspan="{{{colpsan|2}}}" style="border:2px #{{{headerborder|{{color|yellow}}}}} solid; background-color:#{{{headercolor|{{color|light-yellow}}}}}; padding:2px" | {{{content|Content}}}
|}<noinclude>
|}<noinclude>
 
{{Uses TemplateStyles}}
Notice box framework. To be used for the construction of other simple templates
Notice box framework. To be used for the construction of other simple templates



Latest revision as of 14:36, 8 June 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
  • 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=
|class=|style=
|header=
|content=
}}