Module:Userbox/doc: Difference between revisions

From Inkipedia, the Splatoon wiki
m (Trying to make this even more clean)
Tag: Reverted
m (Nope)
Tag: Reverted
Line 1: Line 1:
<includeonly> {{#ifeq: {{NAMESPACE}} | Module | For use with [[Template:Userbox]]. [[Category:Modules]] <br clear=all> |}} </includeonly>
<includeonly>{{#ifeq:{{NAMESPACE}}|Module|For use with [[Template:Userbox]].[[Category:Modules]]|}}<br clear=all></includeonly>
<!-- When modifying the above code, check out how it affects this page plus both the Module and Template pages. -->
<!-- When modifying the above code, check out how it affects this page plus both the Module and Template pages. -->
A full list of more specific userboxes can be found in [[:Category:User boxes]].
A full list of more specific userboxes can be found in [[:Category:User boxes]].

Revision as of 12:19, 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!