Difference between revisions of "Template:Infobox User"

From Nookipedia, the Animal Crossing wiki
m (→‎Usage: Adding vacation status to usage)
(Adding parameter to allow users to choose color class)
 
(9 intermediate revisions by 5 users not shown)
Line 1: Line 1:
 
{{Infobox 2.0
 
{{Infobox 2.0
 +
| colorclass    = {{{colorclass|color-user}}}
 
  | title          = {{{name|{{PAGENAME}}}}}
 
  | title          = {{{name|{{PAGENAME}}}}}
 
  | subtitleabove  = {{#if:{{{aliases|}}}|'''Aliases:''' {{{aliases|}}}|}}
 
  | subtitleabove  = {{#if:{{{aliases|}}}|'''Aliases:''' {{{aliases|}}}|}}
  | primarycolor  = 50 70
+
  | primarycolor  = {{{color|50 70}}}
 +
| overrideprimary= {{{overrideprimary|70%}}}
 
  | image          = {{#if:{{{image|}}}|{{{image}}}|[[File:Nia.png]]}}
 
  | image          = {{#if:{{{image|}}}|{{{image}}}|[[File:Nia.png]]}}
 
  | caption        = {{#if:{{{quote|}}}|"''{{{quote|}}}''"|}}
 
  | caption        = {{#if:{{{quote|}}}|"''{{{quote|}}}''"|}}
 
  | widelabel      = Status
 
  | widelabel      = Status
 
  | widedata      = {{#if:{{{status|}}}|<div style="margin: 0 auto; text-align:center; width:250px; height: 20px; {{roundy|6px}} background: #{{#switch: {{{status|}}} |Bot = 8E8E8E |Active = 84ED68 |Around = D2ECBE |Hiatus = A38949 |Inactive = ADC0F5 |Vacation = FAF18A}}">'''{{#switch: {{{status|}}} |Bot = Bot |Active = Active |Around = Around |Hiatus = Hiatus |Inactive = Inactive |Vacation = Vacation}}'''</div>|}}
 
  | widedata      = {{#if:{{{status|}}}|<div style="margin: 0 auto; text-align:center; width:250px; height: 20px; {{roundy|6px}} background: #{{#switch: {{{status|}}} |Bot = 8E8E8E |Active = 84ED68 |Around = D2ECBE |Hiatus = A38949 |Inactive = ADC0F5 |Vacation = FAF18A}}">'''{{#switch: {{{status|}}} |Bot = Bot |Active = Active |Around = Around |Hiatus = Hiatus |Inactive = Inactive |Vacation = Vacation}}'''</div>|}}
  | label          = Edit Count
+
  | label          = Edit count
 
  | data          = {{Special:Editcount/{{BASEPAGENAME}}}} ({{Special:Editcount/{{BASEPAGENAME}}{{{User|}}}/mainspace}} in mainspace)
 
  | data          = {{Special:Editcount/{{BASEPAGENAME}}}} ({{Special:Editcount/{{BASEPAGENAME}}{{{User|}}}/mainspace}} in mainspace)
 
  | label2        = Gender
 
  | label2        = Gender
Line 36: Line 38:
 
}}
 
}}
 
</pre>
 
</pre>
[[Category:Personal templates]]
+
[[Category:Personal templates]][[Category:Infobox templates]]
 
</noinclude>
 
</noinclude>

Latest revision as of 06:13, May 18, 2024

Nia.png
Edit count (0 in mainspace)

Usage

{{Infobox User
|name= 
|image= 
|quote= 
|aliases=
|joined=
|status= (It can either be "Active", "Inactive", "Hiatus", or "Vacation".)
|gender= 
|service= 
|appearances= 
|signature=
}}