Template:Advuserbox/doc: Difference between revisions
From Screamer Wiki
(documentation added.) |
mNo edit summary |
||
Line 1: | Line 1: | ||
{{Documentation subpage}} | {{Documentation subpage}} | ||
NOTE: This template was originally copied from [https://developer.valvesoftware.com/wiki/Template:Userbox Valve Developer Wiki]. | NOTE: This template was originally copied from [https://developer.valvesoftware.com/wiki/Template:Userbox Valve Developer Wiki].<br> | ||
This is a meta template used to aid in the creation of userbox templates. | This is a meta template used to aid in the creation of userbox templates, with better design. | ||
== Copy and Paste == | == Copy and Paste == |
Latest revision as of 07:37, 25 August 2023
Script error: No such module "Message box".
NOTE: This template was originally copied from Valve Developer Wiki.
This is a meta template used to aid in the creation of userbox templates, with better design.
Copy and Paste
{{Advuserbox | info = | info-s = | id = | id-s = }}
Usage, Parameters and Examples
{{Userbox}}
Parameters | Description | Example | Preview |
---|---|---|---|
No parameters | Template will revert to the default valves specified within the {{#switch}} parser functions.
|
{{Userbox}}
|
id
info |
[[:Template:Param]]
|
Userbox border color | | border-c = red
|
id
info |
[[:Template:Param]]
|
Userbox border width NOTE: Unit must be specified |
| border-w = 3px
|
id
info |
[[:Template:Param]]
|
Infobox content | | info = Hello, World!
|
id
Hello, World! |
[[:Template:Param]]
|
Infobox styling | | info-s = background:#222;
|
id
info |
[[:Template:Param]]
|
Idbox content | | id = [[File:Userbox-Adobe_Premiere_Pro.png|32px|link=]]
|
info |
[[:Template:Param]]
|
Idbox styling | | id-s = background:indigo;
|
id
info |
[[:Template:Param]]
|
Predefined styling for the entire userbox | | type = black
|
id
info |