Difference between revisions of "Template:Infobox Town"

From Nookipedia, the Animal Crossing wiki
(Added option for Dream Addresses)
(Replaced code with that of User:PoizonMushro0m/Townbox, added town active status)
Line 19: Line 19:
 
! style="background: #468c4f" align="right" {{!}} Dream Address
 
! style="background: #468c4f" align="right" {{!}} Dream Address
 
{{!}} style="background:#ffffff" align="left" {{!}} {{{dream code|}}}}}
 
{{!}} style="background:#ffffff" align="left" {{!}} {{{dream code|}}}}}
 +
|- {{#if:{{{status|}}}|
 +
{{!-}}
 +
! style="background: #468c4f; text-align:right;" {{!}} Status
 +
{{!}} align="center" style="{{roundy|5px}} border: 1px solid #{{#switch: {{{status|Bot}}}|Bot=2E2E2E|Active=62CB46|Around=A5D97B|Hiatus=7A6636|Inactive=8190B7}}; background: #{{#switch: {{{status|Bot}}}|Bot=8E8E8E|Active=84ED68|Around=D2ECBE|Hiatus=A38949|Inactive=ADC0F5}}; color:#000000; line-height: 8pt;" {{!}} '''<small>{{{status|Bot}}}</small>'''}}
 
|-
 
|-
 
! style="background: #468c4f; {{roundybl|10px}}" align="right" | Native fruit
 
! style="background: #468c4f; {{roundybl|10px}}" align="right" | Native fruit
 
| style="background:#ffffff; {{roundybr|10px}}" align="left" | {{{nativefruit|Apples}}}
 
| style="background:#ffffff; {{roundybr|10px}}" align="left" | {{{nativefruit|Apples}}}
 
|}<noinclude>
 
|}<noinclude>
 +
{{clear}}
 +
==Usage==
 
<pre>
 
<pre>
 
{{Infobox Town
 
{{Infobox Town
Line 32: Line 38:
 
|mayor=  
 
|mayor=  
 
|dream code=
 
|dream code=
 +
|status=
 
|nativefruit=  
 
|nativefruit=  
}}</pre>
+
}}
[[Category:Infobox templates]]</noinclude>
+
</pre>

Revision as of 01:01, May 17, 2018

Infobox Town
Nia.png
Game Animal Crossing: New Leaf
Native fruit Apples

Usage

{{Infobox Town
|name= 
|map= 
|imagesize= 
|game= 
|created= 
|mayor= 
|dream code=
|status=
|nativefruit= 
}}