Module:Userbox/doc: Difference between revisions

From Inkipedia, the Splatoon wiki
m (Manual revert)
Tag: Manual revert
m (Changed cat order)
 
(4 intermediate revisions by the same user not shown)
Line 33: Line 33:
</pre>
</pre>
Which will give:
Which will give:
{{clr}}
{{Clr}}
{{Userbox
{{Userbox
|id= [[File:Squidpromo.jpg|48px]]
|id= [[File:Squidpromo.jpg|48px]]
Line 41: Line 41:
|border-c= #088A08
|border-c= #088A08
}}
}}
 
{{Clr}}
[[Category:User boxes]]
<noinclude>
<noinclude>
[[Category:Module documentation]]
[[Category:Module documentation]]
</noinclude>
</noinclude>
[[Category:User boxes]]

Latest revision as of 20:37, 26 June 2024

A full list of more specific userboxes can be found in Category:User boxes.

Usage

{{Userbox
|id       = id text or image
|id-c     = id background color
|id-fc    = id font color
|id-s     = id text size
|info     = info text
|info-c   = info background color
|info-fc  = info font color
|info-s   = info text size
|border-c = box color
|border-s = border width in pixels
}}
  • It is suggested that you limit the size of any images in the id box to 40 pixels.
  • For a list of colors and the Hex triplet (eg., 007BA7) codes for them, see this Wikipedia page.
  • This page is to active userboxes.

Example

{{Userbox
|id= [[File:Squidpromo.jpg|48px]]
|id-c= #74DF00
|info= This user loves Splatoon!
|info-c= #BCF5A9
|border-c= #088A08
}}

Which will give:

This user loves Splatoon!