Difference between revisions of "Template:Infobox User"

From Nookipedia, the Animal Crossing wiki
(Hid "Aliases" when empty, fixed corner rounding between aliases and gender)
(Undo revision 1148235 by Acnh Player (talk))
Tag: Undo
(44 intermediate revisions by 12 users not shown)
Line 1: Line 1:
{| style="background: #eee7a5; margin-left: 10px; margin-bottom: 10px; {{roundy|10px}} border: 3px solid #eec900; width: 25%; float:right"
+
{{Infobox 2.0
|-
+
| title          = {{{name|{{PAGENAME}}}}}
! colspan="2" | <big><big>{{{name|{{PAGENAME}}}}}</big></big>
+
| subtitleabove  = {{#if:{{{aliases|}}}|'''Aliases:''' {{{aliases|}}}|}}
|-
+
| primarycolor  = {{{color|50 70}}}
| style="background: #ffffff; text-align:center; {{roundy|10px}}" colspan="2" | {{#if:{{{image|}}}|{{{image}}}|Image not available.}}<br>{{#if:{{{quote|}}}|''<small>"{{{quote}}}"</small>''|{{{quote|}}}}}
+
| overrideprimary= {{{overrideprimary|70%}}}
{{#if:{{{aliases|}}}|
+
| image          = {{#if:{{{image|}}}|{{{image}}}|[[File:Nia.png]]}}
{{!-}}
+
| caption        = {{#if:{{{quote|}}}|"''{{{quote|}}}''"|}}
! style="background: #eec900; text-align:right; {{roundytl|10px}}" {{!}} Aliases
+
| widelabel      = Status
{{!}} style="background:#ffffff; {{roundytr|10px}}" {{!}} {{{aliases|}}}}}
+
| 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
! style="background: #eec900; text-align:right;{{#if:{{{aliases|}}}|| {{roundytl|10px}}}}}" | Gender
+
| data          = {{Special:Editcount/{{BASEPAGENAME}}}} ({{Special:Editcount/{{BASEPAGENAME}}{{{User|}}}/mainspace}} in mainspace)
| style="background:#ffffff; {{roundytr|10px}}" | {{{gender|Unknown}}}
+
| label2        = Gender
|-
+
| data2          = {{{gender|}}}
! style="background: #eec900; text-align:right" | Service
+
| label3        = Joined
| style="background:#ffffff" | {{{service|Unknown}}}
+
| data3          = {{{joined|}}}
|-
+
| label4        = Service
! style="background: #eec900; text-align:right; {{roundybl|10px}}" | Appearances
+
| data4          = {{{service|}}}
| style="background:#ffffff; {{roundybr|10px}}" | {{{appearances|Unknown}}}
+
| label5        = Appearances
|}
+
| data5          = {{{appearances|}}}
 
+
| label6        = Signature
<noinclude>
+
| data6          = {{{signature|}}}
 +
}}<noinclude>
 
{{clear}}
 
{{clear}}
 
==Usage==
 
==Usage==
Line 28: Line 29:
 
|quote=  
 
|quote=  
 
|aliases=
 
|aliases=
 +
|joined=
 +
|status= (It can either be "Active", "Inactive", "Hiatus", or "Vacation".)
 
|gender=  
 
|gender=  
 
|service=  
 
|service=  
 
|appearances=  
 
|appearances=  
 +
|signature=
 
}}
 
}}
 
</pre>
 
</pre>
[[Category:Infobox templates]]
+
[[Category:Personal templates]]
 
</noinclude>
 
</noinclude>

Revision as of 14:47, May 3, 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=
}}