Template:BaseWarning: Difference between revisions

From gm_construct 13 beta
Jump to navigation Jump to search
No edit summary
No edit summary
Line 1: Line 1:
{| style="margin: auto; width: {{{width}}}; border: 1px solid #b0b4bb;"
{| style="background: {{{background-color}}}; margin: auto; width: {{{width}}}; border: {{{border-width}}} solid {{{border-color}}};"
| style="background: {{{bar-color}}}; width:9px;" |
| style="background: {{{bar-color}}}; width:9px;" |
| style="padding: 5px;" | [[{{{icon}}}]]
| style="padding: 5px;" | [[{{{icon}}}]]
Line 13: Line 13:
   | icon=Example
   | icon=Example
   | text=Example
   | text=Example
  | border-width=Example
  | border-color=Example
  | background-color=Example
}}
}}
</pre>
</pre>
Line 36: Line 39:
"type": "string",
"type": "string",
"default": ""
"default": ""
},
"border-width": {
"suggested": true,
"default": "1px",
"type": "string"
},
"border-color": {
"suggested": true,
"default": "#b0b4bb",
"type": "string"
},
"background-color": {
"suggested": true,
"default": "",
"type": "string"
}
}
},
},

Revision as of 04:05, 10 July 2023

[[{{{icon}}}]] {{{text}}}


Usage example:

{{BaseWarning
  | width=Example
  | bar-color=Example
  | icon=Example
  | text=Example
  | border-width=Example
  | border-color=Example
  | background-color=Example
}}

No description.

Template parameters

ParameterDescriptionTypeStatus
widthwidth

no description

Default
439px
Stringsuggested
bar-colorbar-color

no description

Default
#b0b4bb
Stringsuggested
iconicon

no description

Filesuggested
texttext

no description

Default
Stringsuggested
border-widthborder-width

no description

Default
1px
Stringsuggested
border-colorborder-color

no description

Default
#b0b4bb
Stringsuggested
background-colorbackground-color

no description

Default
Stringsuggested