Difference between revisions of "Template:Infobox Town"
From Nookipedia, the Animal Crossing wiki
Dorsal Axe (talk | contribs) (Changing category to Category:Personal templates as this is not used in mainspace) |
Dorsal Axe (talk | contribs) (Convert to new infobox) |
||
Line 1: | Line 1: | ||
− | { | + | {{Infobox 2.0 |
− | + | | title = {{{name|{{PAGENAME}}}}} | |
− | | | + | | primarycolor = 107 29 |
− | | | + | | image = [[File:{{{map|Nia.png}}}|{{{imagesize|200px}}}]] |
− | | | + | | caption = {{{caption|}}} |
− | | | + | |
− | + | | widelabel = Dream Address | |
− | | | + | | widedata = {{{dream code|}}} |
− | | | + | | widelabel2 = Creator Code |
− | + | | widedata2 = {{{creator code|}}} | |
− | + | ||
− | + | | label = Game | |
− | | | + | | data = {{{game|}}} |
− | + | | label2 = {{#ifeq:{{{game|}}}|{{NL}}|Mayor|Player}} | |
− | + | | data2 = {{{mayor|}}} | |
− | {{ | + | | label3 = Creation date |
− | | | + | | data3 = {{{created|}}} |
− | {{ | + | | label4 = Native fruit |
− | + | | data4 = {{#if:{{{nativefruit|}}}|{{#switch:{{{nativefruit|Apples}}}| Apples = [[File:Fruit Apple NH Icon.png|20px|link=]] Apples | Pears = [[File:Fruit Pears NH Icon.png|20px|link=]] Pears | Cherries = [[File:Fruit Cherries NH Icon.png|20px|link=]] Cherries | Oranges = [[File:Fruit Oranges NH Icon.png|20px|link=]] Oranges | Peaches = [[File:Fruit Peaches NH Icon.png|20px|link=]] Peaches}}|}} | |
− | + | | label5 = Status | |
− | | | + | | data5 = {{#if:{{{status|}}}|<div style="margin: 0 auto; text-align:center; width:150px; height: 20px; {{roundy|9px}} background: #{{#switch: {{{status|}}} |Bot = 8E8E8E |Active = 84ED68 |Around = D2ECBE |Hiatus = A38949 |Inactive = ADC0F5}}">'''{{#switch: {{{status|}}} |Bot = Bot |Active = Active |Around = Around |Hiatus = Hiatus |Inactive = Inactive}}'''</div>|}} |
− | + | }}<noinclude> | |
− | |||
− | |||
− | | | ||
− | |||
− | |||
− | |||
{{clear}} | {{clear}} | ||
==Usage== | ==Usage== |