Template:Infobox User: Difference between revisions

From RetroMC
Jump to navigation Jump to search
Thecow275 (talk | contribs)
Added automatic coloration of Status and UIP Member depending on what is given to template.
Thecow275 (talk | contribs)
Fixing typo and hidden values
Line 31: Line 31:
| Inactive = <span style="background-color: {{MCColor-raw|&7}}; display: inline-block;">Inactive</span>
| Inactive = <span style="background-color: {{MCColor-raw|&7}}; display: inline-block;">Inactive</span>
| Banned = <span style="background-color: {{MCColor-raw|&c}}; display: inline-block;>Banned</span>
| Banned = <span style="background-color: {{MCColor-raw|&c}}; display: inline-block;>Banned</span>
| Semi Active = <span style="background-color: {{MCColor-raw|&b}}; display: inline-block;>Semi Active</spawn>
| Semi Active = <span style="background-color: {{MCColor-raw|&b}}; display: inline-block;>Semi Active</span>
| Default = <span style="bakckground-color: {{MCColor-raw|&c}}; displaye: inline-block;>INCORRECT USAGE SEE: [[Template:Infobox_User]] for correct input</span>
| error = <span style="bakckground-color: {{MCColor-raw|&c}}; displaye: inline-block;>INCORRECT USAGE SEE: [[Template:Infobox_User]] for correct input</span>
}}
}}
}}
}}
Line 43: Line 43:
| No = <span style="background-color: {{MCColor-raw|&c}}; display: inline-block;">No</span>
| No = <span style="background-color: {{MCColor-raw|&c}}; display: inline-block;">No</span>
| Pending = <span style="background-color: {{MCColor-raw|&6}}; display: inline-block;>Pending</span>
| Pending = <span style="background-color: {{MCColor-raw|&6}}; display: inline-block;>Pending</span>
| Default = <span style="bakckground-color: {{MCColor-raw|&c}}; displaye: inline-block;>INCORRECT USAGE SEE: [[Template:Infobox_User]] for correct input</span>
| error = <span style="bakckground-color: {{MCColor-raw|&c}}; displaye: inline-block;>INCORRECT USAGE SEE: [[Template:Infobox_User]] for correct input</span>
}}
}}
}}
}}
}}
}}
</includeonly>
</includeonly>

Revision as of 20:10, 30 January 2024

To use this template, replace all values below with your own values.

{{Infobox_User
| nickname = your nickname
| rank = your rank
| rankcolor = background:#cfc; or if you don't want a manually specified color you can use background:{{MCColor-raw|&b}} (see https://minecraft.wiki/w/Formatting_codes)
| joined = your join date
| status = either Active, Banned, Inactive or Semi Active
| uip = can be Yes, No and Pending
}}



thecow275
Admin
128.png
Join Date
28.12.2022
General information
StatusActive
UIP MemberYes