Template:Infobox User: Difference between revisions
Jump to navigation
Jump to search
(Fixed Length of background color to text background) |
(Added automatic coloration of Status and UIP Member depending on what is given to template.) |
||
Line 27: | Line 27: | ||
| label10 = Status | | label10 = Status | ||
| datastyle = float:right | | datastyle = float:right | ||
| | | data10 = {{#switch: {{{status}}} | ||
| Active = <span style="background-color: {{MCColor-raw|&a}}; display: inline-block;">Active</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> | |||
| Semi Active = <span style="background-color: {{MCColor-raw|&b}}; display: inline-block;>Semi Active</spawn> | |||
| Default = <span style="bakckground-color: {{MCColor-raw|&c}}; displaye: inline-block;>INCORRECT USAGE SEE: [[Template:Infobox_User]] for correct input</span> | |||
}} | |||
}} | }} | ||
| data12 = {{Infobox | subbox = yes | | data12 = {{Infobox | subbox = yes | ||
Line 33: | Line 39: | ||
| label13 = UIP Member | | label13 = UIP Member | ||
| datastyle = float:right | | datastyle = float:right | ||
| data13 = {{{uip|}}} | | data13 = {{#switch: {{{uip|}}} | ||
| Yes = <span style="background-color: {{MCColor-raw|&a}}; display: inline-block;">Yes</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> | |||
| Default = <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 19:08, 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 }}
Admin | |||
---|---|---|---|
Join Date | |||
28.12.2022 | |||
General information | |||
| |||
|