Difference between revisions of "Template:StaffCell"

From Nookipedia, the Animal Crossing wiki
(Adding semi-active option)
(changing template look)
 
(15 intermediate revisions by 5 users not shown)
Line 1: Line 1:
<noinclude>{| style="width:25%; background:none; border:none"</noinclude>
+
<div align="center" style="background-color:#afd394; border-radius:15px; text-align: center; padding:0.5em; 0.5em font-size:100%; color:#000000; width: 150px; margin: 0 0 10px 0;">
| width="{{{cellwidth|100%}}}" style="{{roundy|10px}} border: 2px solid #78AB46; background: #A5D97B;" |  
+
[[File:{{{image|nia.png}}}|x{{{imagewidth|98px}}}|center]]
{| style="border:none; background:none; text-align:center; width:100%;heigh"
+
{| style="line-height:1em; width:100%" |
 
|-
 
|-
| style="{{roundy|10px}} background:#F5F5F5; padding:3px; width:80px" | [[File:{{{image|nia.png}}}|{{{imagewidth|78px}}}|center]]
+
| colspan="3" style="font-family: Coustard; font-size:1.2em;" |[[User:{{{name|User}}}|{{colorshow|000000|{{{display|{{{name|User}}}}}}}}]]
|
+
|-
'''[[User:{{{name|User}}}|{{colorshow|000000|{{{name|User}}}}}]]''' {{#if: {{{title|}}}|<br><small>{{{title|Ninja}}}</small>|<br><small>&nbsp;</small>}}
+
| style="font-size:0.8em" | ([[User talk:{{{name|User}}}|Talk]] • [[Special:Contributions/{{{name|User}}}|Contribs]])
{| width="100%" align="center" style="{{roundy|5px}} background: #78AB46; margin:1px"
+
|-
| align="center" style="{{roundy|5px}} border: 1px solid #{{#switch: {{{status|Bot}}}|Bot=2E2E2E|Active=62CB46|Semi=A5D97B|Hiatus=7A6636|Inactive=8190B7}}; background: #{{#switch: {{{status|Bot}}}|Bot=8E8E8E|Active=84ED68|Semi=D2ECBE|Hiatus=A38949|Inactive=ADC0F5}}; color:#000000; line-height: 8pt;" | '''<small>{{#ifeq: {{{status|}}}|Around|Semi-Active|{{{status|Bot}}}}}</small>'''
+
| style="{{roundy|5px}} background: #{{#switch: {{{status|Bot}}}|Bot=8E8E8E|Active=84ED68|Around=D2ECBE|Hiatus=A38949|Inactive=ADC0F5|Vacation=FAF18A}}; color:#000000; line-height: 8pt; width:40%" | '''<small>{{{status|Bot}}}</small>'''
 
+
|-
 +
| style="{{roundy|5px}} background: #fff; line-height: 8pt; padding:1px" | <small>Staff since <br>{{{since|Unknown}}}</small>
 
|-
 
|-
| align="center" style="{{roundy|5px}} border: 1px solid #78AB46; background: #91C16D; line-height: 8pt; padding:1px" | <small>Since <br>{{{since|Someday}}}</small>
+
| style="{{roundy|5px}} background: #fff; line-height: 8pt; padding:1px" | <small>Current position since <br>{{{currentsince|Unknown}}}</small>
|}
 
|}<noinclude>
 
 
|}
 
|}
 +
</div>
 +
<noinclude>
  
 +
==Usage==
 
<pre>{{StaffCell
 
<pre>{{StaffCell
 
|cellwidth=
 
|cellwidth=
Line 20: Line 22:
 
|image=
 
|image=
 
|imagewidth=
 
|imagewidth=
|title=
 
 
|since=
 
|since=
 +
|currentsince=
 
|status=
 
|status=
}}</pre></noinclude>
+
}}</pre>
 +
 
 +
The "display" field may also be used to show a shorter or alternate name.[[Category:Templates]]</noinclude>

Latest revision as of 14:16, December 20, 2021

Nia.png
User
(TalkContribs)
Bot
Staff since
Unknown
Current position since
Unknown


Usage

{{StaffCell
|cellwidth=
|name=
|image=
|imagewidth=
|since=
|currentsince=
|status=
}}

The "display" field may also be used to show a shorter or alternate name.