Template:Infobox Town: Difference between revisions

From RetroMC
Jump to navigation Jump to search
Thecow275 (talk | contribs)
Fixed text background color stuff and added automatic coloring to the Part of UIP and Status positions while changing infobox to use MCColor for the colors to unify more of the wiki under a common palette.
Added autoheaders (hides unused headers)
 
(3 intermediate revisions by the same user not shown)
Line 5: Line 5:
<includeonly>
<includeonly>
{{Infobox
{{Infobox
 
| autoheaders = y
| abovestyle = background:#cfc;
| abovestyle = background:#cfc;
| above = {{{town_name|{{PAGENAME}}}}}
| above = {{{town_name|{{PAGENAME}}}}}
Line 43: Line 43:
| error = <span style="bakckground-color: {{MCColor-raw|&c}}; font-weight: bold; display: inline-block;>INCORRECT USAGE SEE: [[Template:Infobox_User]] for correct input</span>
| error = <span style="bakckground-color: {{MCColor-raw|&c}}; font-weight: bold; display: inline-block;>INCORRECT USAGE SEE: [[Template:Infobox_User]] for correct input</span>
}}
}}
}}
 
| data19 = {{Infobox | subbox = yes
| labelstyle = background:{{MCColor-raw|&c}} float:left
| label20  = Part of UIP:
| datastyle = float:right
|  data20  = {{#switch: {{{uip|}}}
| Yes = <span style="background-color: {{MCColor-raw|&a}}; font-weight: bold; display: inline-block;">Yes</span>
| No = <span style="background-color: {{MCColor-raw|&c}}; font-weight: bold; display: inline-block;">No</span>
| Pending = <span style="background-color: {{MCColor-raw|&6}}; font-weight: bold; display: inline-block;>Pending</span>
| error = <span style="bakckground-color: {{MCColor-raw|&c}}; font-weight: bold; display: inline-block;>INCORRECT USAGE SEE: [[Template:Infobox_User]] for correct input</span>
}}
}}
}}
}}
}}
</includeonly>
</includeonly>

Latest revision as of 23:00, 8 August 2026


Use the infobox template below and change/remove the parameters according to your needs.

{{Infobox Town
 | image = [[File:Noggisoggi-bust.png]]
 | caption = Noggisoggi's avatar
 | owner = {{user|Noggisoggi}}
 | members = {{user|Noggisoggi}}
 | assistants = {{user|Noggisoggi}}
 | established = July 30 2023
 | status = Active, Semi-Active or Inactive
 }}




Infobox Town
Noggisoggi
Owner
16.png Noggisoggi
Town Members
16.png Noggisoggi
Assistants
16.png Noggisoggi
General information
Established:16.png Noggisoggi
Status:Active or Inactive