Module:Userbox/doc: Difference between revisions
From Inkipedia, the Splatoon wiki
(Moved doc from Template:Userbox) |
Wmyttmlimvty (talk | contribs) m (Changed cat order) |
||
(15 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
<includeonly>{{#ifeq:{{NAMESPACE}}|Module|For use with [[Template:Userbox]]. [[Category:Modules]]|}} | |||
{{Clr}}</includeonly> <!-- 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]]. | |||
==Usage== | ==Usage== | ||
<pre> | <pre> | ||
Line 29: | Line 33: | ||
</pre> | </pre> | ||
Which will give: | Which will give: | ||
{{ | {{Clr}} | ||
{{Userbox | {{Userbox | ||
|id= [[File:Squidpromo.jpg|48px]] | |id= [[File:Squidpromo.jpg|48px]] | ||
Line 37: | Line 41: | ||
|border-c= #088A08 | |border-c= #088A08 | ||
}} | }} | ||
{{Clr}} | |||
<noinclude> | |||
[[Category:Module documentation]] | |||
</noinclude> | |||
[[Category:User boxes]] | [[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: