This is a mirror host of the KP Official Wiki on Miraheze. We dont actually mirror we host the same content
Template:Notice: Difference between revisions
From Kaiju Paradise Official Wiki
mNo edit summary |
m Protected "Template:Notice" ([Edit=Allow only administrators] (indefinite) [Move=Allow only administrators] (indefinite)) |
||
(8 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
<includeonly>{| style="width:100% | <includeonly>{| style="width:100%; font-size:90%; text-align:left;" | ||
|- | |- | ||
! style="width: | ! style="width:2%; {{#switch:{{{bgcolor|}}} | ||
| red = background-color:#d9381e | | red = background-color:#d9381e | ||
| orange = background-color:#f28500 | | orange = background-color:#f28500 | ||
Line 11: | Line 11: | ||
| #default = background-color:#000716 | | #default = background-color:#000716 | ||
}}; color:#FFFFFF; padding:0.2em 0.5em;" nowrap="nowrap" | <center>{{{icon}}}</center> | }}; color:#FFFFFF; padding:0.2em 0.5em;" nowrap="nowrap" | <center>{{{icon}}}</center> | ||
| style="width: | | style="width:100%; padding:0.2em 0.5em;" | {{{body}}} | ||
|}</includeonly> | |}</includeonly> | ||
<noinclude>{{/doc}}</noinclude> | <noinclude>{{/doc}}</noinclude> |
Latest revision as of 08:25, 21 March 2022
The purpose of this template is to standardise the attributes of Community Created Gootraxians. The template is fairly simple, and could be extended to add other features in the future.
Syntax
{{Notice |bgcolor= The color to be displayed behind the icon. |icon= An icon that you wish to fit inside of the icon space. *please note that icon sizes do need to be set within the syntax itself |body= The text that you wish to display. }}
Color Examples
The style is currently hard-set, but the color of the icon background can be chosen by including the following colors within the invoke path:
when "bgcolor=red" is included in the invoke path |
when "bgcolor=orange" is included in the invoke path |
when "bgcolor=yellow" is included in the invoke path |
when "bgcolor=purple" is included in the invoke path |
when "bgcolor=blue" is included in the invoke path |
when "bgcolor=green" is included in the invoke path |
when "bgcolor=gray" is included in the invoke path |
Colors may be subject to change, and more colors may be added in future versions.
The default is
no bgcolor defined. |