Difference between revisions of "Template:WA-card"

From Nookipedia, the Animal Crossing wiki
(Added ability to specify number for identical furniture.)
m (Removed unneeded spaces.)
 
(14 intermediate revisions by 2 users not shown)
Line 1: Line 1:
 +
<includeonly>{{#ifeq:{{NAMESPACE}}||{{A-card/CargoAttach}}{{#cargo_store:
 +
_table=amiibo_card
 +
|name = {{{name|}}}
 +
|number = {{{number|}}}
 +
|series = {{#if:{{{sanrio|}}}|Sanrio series|Welcome amiibo series}}
 +
|bundle =
 +
|bundle_wikitext =
 +
|image_front = {{{front|}}}
 +
|image_front_url = {{filepath:{{{front|}}}}}
 +
|type =
 +
|dice =
 +
|hand =
 +
|birthday =
 +
|sign =
 +
|items = [ {{#forargs: item | key | value | {{#ifexpr: {{#var: key}} > 1 | , }} {"name": "{{{item{{#var: key}}|}}}", "img": "{{{img{{#var: key}}|{{{item{{#var: key}}|}}}_NL_Model.png}}}", "customized": "{{#if:{{{c{{#var: key }}|}}}|Yes|No}}", "new": "{{#ifeq:{{NewWA|{{{item{{#var: key}}|No}}}}}|NEW|Yes|No}}"} }} ]
 +
}}}}</includeonly>
 
<div class="villager-card" style="max-width: 600px; margin: 0 0 5px 0; background: #ff9936; border: 2px solid #ff9936; padding: 3px; text-align:center; {{roundy|15px}};">
 
<div class="villager-card" style="max-width: 600px; margin: 0 0 5px 0; background: #ff9936; border: 2px solid #ff9936; padding: 3px; text-align:center; {{roundy|15px}};">
 
<div class="card-flex-container">
 
<div class="card-flex-container">
Line 6: Line 22:
 
'''Card back'''
 
'''Card back'''
 
<div class="mw-collapsible-content">
 
<div class="mw-collapsible-content">
[[File:{{{back|WAmiibo card back.png}}}|167px]]  
+
[[File:{{{back|NLWa amiibo card back.png}}}|167px]]
 
</div>
 
</div>
 
</div>
 
</div>
 
</div>
 
</div>
 
<div class="card-flex-item card-right">
 
<div class="card-flex-item card-right">
{| width=100% style="background: #ffcb36; padding: 3px; {{roundy|9px}};"
+
{| style="background: #ffcb36; padding: 3px; {{roundy|9px}}; width:100%"
 
| colspan=5 style="border-bottom: 1px solid #ff9936;" | '''#{{{number|}}} {{{name|}}}'''
 
| colspan=5 style="border-bottom: 1px solid #ff9936;" | '''#{{{number|}}} {{{name|}}}'''
 
|-
 
|-
 
! colspan=5 style="background-color: #ff9936; padding: 2px 0 0 0; {{roundy|15px}};" | {{Colorshow|333|RV items}}
 
! colspan=5 style="background-color: #ff9936; padding: 2px 0 0 0; {{roundy|15px}};" | {{Colorshow|333|RV items}}
 
|-
 
|-
| {{#if:{{{item1|}}}|{{#ifexist:File:{{{img1|}}}|[[File:{{{img1|}}}|64px]]|{{#if:{{{item1|}}}|[[File:{{{item1|}}}_NL_Model.png|64px]]}}}}<br>{{{item1|Item 1}}}}}{{#if: {{{c1|}}} | {{tt|*|customized}}|}} {{#if: {{{count1|}}} | (x{{{count1|}}})|}}<br>{{#ifeq: {{NewWA|{{{item1|No}}}}}|NEW|[[File:New.gif|28px]]|}}
+
| {{#if:{{{item1|}}}|{{#ifexist:File:{{{img1|}}}|[[File:{{{img1|}}}|64px|link=]]|{{#if:{{{item1|}}}|[[File:{{#invoke:TitleCase|main|{{{item1|}}}}}_NL_Model.png|64px|link=]]}}}}<br>[[Item:{{{item1|Item 1}}} (New Leaf)|{{#invoke:SentenceCase|main|{{{item1|Item 1}}}}}]]}}{{#if: {{{c1|}}} | {{Note|name=Item is customized|Item is customized}}|}} {{#if: {{{count1|}}} | (x{{{count1|}}})|}}<br>{{#ifeq: {{NewWA|{{{item1|No}}}}}|NEW|[[File:New.gif|28px|link=]]|}}
| {{#if:{{{item2|}}}|{{#ifexist:File:{{{img2|}}}|[[File:{{{img2|}}}|64px]]|{{#if:{{{item2|}}}|[[File:{{{item2|}}}_NL_Model.png|64px]]}}}}<br>{{{item2|Item 2}}}}}{{#if: {{{c2|}}} | {{tt|*|customized}}|}} {{#if: {{{count2|}}} | (x{{{count2|}}})|}}<br>{{#ifeq: {{NewWA|{{{item2|No}}}}}|NEW|[[File:New.gif|28px]]|}}
+
| {{#if:{{{item2|}}}|{{#ifexist:File:{{{img2|}}}|[[File:{{{img2|}}}|64px|link=]]|{{#if:{{{item2|}}}|[[File:{{#invoke:TitleCase|main|{{{item2|}}}}}_NL_Model.png|64px|link=]]}}}}<br>[[{{{floor-link|Item:{{{item2|Item 2}}} (New Leaf)}}}|{{#invoke:SentenceCase|main|{{{item2|Item 2}}}}}]]}}{{#if: {{{c2|}}} | {{Note|name=Item is customized|Item is customized}}|}} {{#if: {{{count2|}}} | (x{{{count2|}}})|}}<br>{{#ifeq: {{NewWA|{{{item2|No}}}}}|NEW|[[File:New.gif|28px|link=]]|}}
| {{#if:{{{item3|}}}|{{#ifexist:File:{{{img3|}}}|[[File:{{{img3|}}}|64px]]|{{#if:{{{item3|}}}|[[File:{{{item3|}}}_NL_Model.png|64px]]}}}}<br>{{{item3|Item 3}}}}}{{#if: {{{c3|}}} | {{tt|*|customized}}|}} {{#if: {{{count3|}}} | (x{{{count3|}}})|}}<br>{{#ifeq: {{NewWA|{{{item3|No}}}}}|NEW|[[File:New.gif|28px]]|}}
+
| {{#if:{{{item3|}}}|{{#ifexist:File:{{{img3|}}}|[[File:{{{img3|}}}|64px|link=]]|{{#if:{{{item3|}}}|[[File:{{#invoke:TitleCase|main|{{{item3|}}}}}_NL_Model.png|64px|link=]]}}}}<br>[[Item:{{{item3|Item 3}}} (New Leaf)|{{#invoke:SentenceCase|main|{{{item3|Item 3}}}}}]]}}{{#if: {{{c3|}}} | {{Note|name=Item is customized|Item is customized}}|}} {{#if: {{{count3|}}} | (x{{{count3|}}})|}}<br>{{#ifeq: {{NewWA|{{{item3|No}}}}}|NEW|[[File:New.gif|28px|link=]]|}}
| {{#if:{{{item4|}}}|{{#ifexist:File:{{{img4|}}}|[[File:{{{img4|}}}|64px]]|{{#if:{{{item4|}}}|[[File:{{{item4|}}}_NL_Model.png|64px]]}}}}<br>{{{item4|Item 4}}}}}{{#if: {{{c4|}}} | {{tt|*|customized}}|}} {{#if: {{{count4|}}} | (x{{{count4|}}})|}}<br>{{#ifeq: {{NewWA|{{{item4|No}}}}}|NEW|[[File:New.gif|28px]]|}}
+
| {{#if:{{{item4|}}}|{{#ifexist:File:{{{img4|}}}|[[File:{{{img4|}}}|64px|link=]]|{{#if:{{{item4|}}}|[[File:{{#invoke:TitleCase|main|{{{item4|}}}}}_NL_Model.png|64px|link=]]}}}}<br>[[Item:{{{item4|Item 4}}} (New Leaf)|{{#invoke:SentenceCase|main|{{{item4|Item 4}}}}}]]}}{{#if: {{{c4|}}} | {{Note|name=Item is customized|Item is customized}}|}} {{#if: {{{count4|}}} | (x{{{count4|}}})|}}<br>{{#ifeq: {{NewWA|{{{item4|No}}}}}|NEW|[[File:New.gif|28px|link=]]|}}
| {{#if:{{{item5|}}}|{{#ifexist:File:{{{img5|}}}|[[File:{{{img5|}}}|64px]]|{{#if:{{{item5|}}}|[[File:{{{item5|}}}_NL_Model.png|64px]]}}}}<br>{{{item5|Item 5}}}}}{{#if: {{{c5|}}} | {{tt|*|customized}}|}} {{#if: {{{count5|}}} | (x{{{count5|}}})|}}<br>{{#ifeq: {{NewWA|{{{item5|No}}}}}|NEW|[[File:New.gif|28px]]|}}
+
| {{#if:{{{item5|}}}|{{#ifexist:File:{{{img5|}}}|[[File:{{{img5|}}}|64px|link=]]|{{#if:{{{item5|}}}|[[File:{{#invoke:TitleCase|main|{{{item5|}}}}}_NL_Model.png|64px|link=]]}}}}<br>[[Item:{{{item5|Item 5}}} (New Leaf)|{{#invoke:SentenceCase|main|{{{item5|Item 5}}}}}]]}}{{#if: {{{c5|}}} | {{Note|name=Item is customized|Item is customized}}|}} {{#if: {{{count5|}}} | (x{{{count5|}}})|}}<br>{{#ifeq: {{NewWA|{{{item5|No}}}}}|NEW|[[File:New.gif|28px|link=]]|}}
 
|-
 
|-
| {{#if:{{{item6|}}}|{{#ifexist:File:{{{img6|}}}|[[File:{{{img6|}}}|64px]]|{{#if:{{{item6|}}}|[[File:{{{item6|}}}_NL_Model.png|64px]]}}}}<br>{{{item6|Item 6}}}}}{{#if: {{{c6|}}} | {{tt|*|customized}}|}} {{#if: {{{count6|}}} | (x{{{count6|}}})|}}<br>{{#ifeq: {{NewWA|{{{item6|No}}}}}|NEW|[[File:New.gif|28px]]|}}
+
| {{#if:{{{item6|}}}|{{#ifexist:File:{{{img6|}}}|[[File:{{{img6|}}}|64px|link=]]|{{#if:{{{item6|}}}|[[File:{{#invoke:TitleCase|main|{{{item6|}}}}}_NL_Model.png|64px|link=]]}}}}<br>[[Item:{{{item6|Item 6}}} (New Leaf)|{{#invoke:SentenceCase|main|{{{item6|Item 6}}}}}]]}}{{#if: {{{c6|}}} | {{Note|name=Item is customized|Item is customized}}|}} {{#if: {{{count6|}}} | (x{{{count6|}}})|}}<br>{{#ifeq: {{NewWA|{{{item6|No}}}}}|NEW|[[File:New.gif|28px|link=]]|}}
| {{#if:{{{item7|}}}|{{#ifexist:File:{{{img7|}}}|[[File:{{{img7|}}}|64px]]|{{#if:{{{item7|}}}|[[File:{{{item7|}}}_NL_Model.png|64px]]}}}}<br>{{{item7|Item 7}}}}}{{#if: {{{c7|}}} | {{tt|*|customized}}|}} {{#if: {{{count7|}}} | (x{{{count7|}}})|}}<br>{{#ifeq: {{NewWA|{{{item7|No}}}}}|NEW|[[File:New.gif|28px]]|}}
+
| {{#if:{{{item7|}}}|{{#ifexist:File:{{{img7|}}}|[[File:{{{img7|}}}|64px|link=]]|{{#if:{{{item7|}}}|[[File:{{#invoke:TitleCase|main|{{{item7|}}}}}_NL_Model.png|64px|link=]]}}}}<br>[[Item:{{{item7|Item 7}}} (New Leaf)|{{#invoke:SentenceCase|main|{{{item7|Item 7}}}}}]]}}{{#if: {{{c7|}}} | {{Note|name=Item is customized|Item is customized}}|}} {{#if: {{{count7|}}} | (x{{{count7|}}})|}}<br>{{#ifeq: {{NewWA|{{{item7|No}}}}}|NEW|[[File:New.gif|28px|link=]]|}}
| {{#if:{{{item8|}}}|{{#ifexist:File:{{{img8|}}}|[[File:{{{img8|}}}|64px]]|{{#if:{{{item8|}}}|[[File:{{{item8|}}}_NL_Model.png|64px]]}}}}<br>{{{item8|Item 8}}}}}{{#if: {{{c8|}}} | {{tt|*|customized}}|}} {{#if: {{{count8|}}} | (x{{{count8|}}})|}}<br>{{#ifeq: {{NewWA|{{{item8|No}}}}}|NEW|[[File:New.gif|28px]]|}}
+
| {{#if:{{{item8|}}}|{{#ifexist:File:{{{img8|}}}|[[File:{{{img8|}}}|64px|link=]]|{{#if:{{{item8|}}}|[[File:{{#invoke:TitleCase|main|{{{item8|}}}}}_NL_Model.png|64px|link=]]}}}}<br>[[Item:{{{item8|Item 8}}} (New Leaf)|{{#invoke:SentenceCase|main|{{{item8|Item 8}}}}}]]}}{{#if: {{{c8|}}} | {{Note|name=Item is customized|Item is customized}}|}} {{#if: {{{count8|}}} | (x{{{count8|}}})|}}<br>{{#ifeq: {{NewWA|{{{item8|No}}}}}|NEW|[[File:New.gif|28px|link=]]|}}
| {{#if:{{{item9|}}}|{{#ifexist:File:{{{img9|}}}|[[File:{{{img9|}}}|64px]]|{{#if:{{{item9|}}}|[[File:{{{item9|}}}_NL_Model.png|64px]]}}}}<br>{{{item9|Item 9}}}}}{{#if: {{{c9|}}} | {{tt|*|customized}}|}} {{#if: {{{count9|}}} | (x{{{count9|}}})|}}<br>{{#ifeq: {{NewWA|{{{item9|No}}}}}|NEW|[[File:New.gif|28px]]|}}
+
| {{#if:{{{item9|}}}|{{#ifexist:File:{{{img9|}}}|[[File:{{{img9|}}}|64px|link=]]|{{#if:{{{item9|}}}|[[File:{{#invoke:TitleCase|main|{{{item9|}}}}}_NL_Model.png|64px|link=]]}}}}<br>[[Item:{{{item9|Item 9}}} (New Leaf)|{{#invoke:SentenceCase|main|{{{item9|Item 9}}}}}]]}}{{#if: {{{c9|}}} | {{Note|name=Item is customized|Item is customized}}|}} {{#if: {{{count9|}}} | (x{{{count9|}}})|}}<br>{{#ifeq: {{NewWA|{{{item9|No}}}}}|NEW|[[File:New.gif|28px|link=]]|}}
 
{{#if:{{{item10|}}}|
 
{{#if:{{{item10|}}}|
 
{{!}}
 
{{!}}
{{#ifexist:File:{{{img10|}}}|[[File:{{{img10|}}}|64px]]|{{#if:{{{item10|}}}|[[File:{{{item10|}}}_NL_Model.png|64px]]}}}}<br>{{{item10|Item 10}}}{{#if: {{{c10|}}} | {{tt|*|customized}}|}} {{#if: {{{count10|}}} | (x{{{count10|}}})|}}<br>{{#ifeq: {{NewWA|{{{item10|No}}}}}|NEW|[[File:New.gif|28px]]|}}}}
+
{{#ifexist:File:{{{img10|}}}|[[File:{{{img10|}}}|64px|link=]]|{{#if:{{{item10|}}}|[[File:{{#invoke:TitleCase|main|{{{item10|}}}}}_NL_Model.png|64px|link=]]}}}}<br>[[Item:{{{item10|Item 10}}} (New Leaf)|{{#invoke:SentenceCase|main|{{{item10|Item 10}}}}}]]{{#if: {{{c10|}}} | {{Note|name=Item is customized|Item is customized}}|}} {{#if: {{{count10|}}} | (x{{{count10|}}})|}}<br>{{#ifeq: {{NewWA|{{{item10|No}}}}}|NEW|[[File:New.gif|28px|link=]]|}}}}
 
|}
 
|}
 
</div>
 
</div>
 
</div>
 
</div>
 
<div style="width: 100%; margin-top: 5px;">
 
<div style="width: 100%; margin-top: 5px;">
{| width=100% style="background: #ffcb36; {{roundy|9px}};"
+
{| style="background: #ffcb36; {{roundy|9px}}; width:100%"
| width=3% style="padding:0 0 0 12px; text-align:left;"|[[{{{prevcard|List of amiibo cards}}} | {{Colorshow|000|←}}]]
+
| style="padding:0 0 0 12px; text-align:left; width:3%"|[[{{{prevcard|List of amiibo cards}}}#Welcome_amiibo_card | {{Colorshow|000|←}}]]
| width=32px style="padding:0px;" |
+
| style="padding:0px; width:32px" |
 
{| style="background:#ff9936; {{roundy|30px}};"
 
{| style="background:#ff9936; {{roundy|30px}};"
| [[File:{{{prevtype|Unknown}}}SpeciesIconSilhouette.png|32px|link={{{prevcard|List of amiibo cards}}}]]
+
| style="min-width:30px" | [[File:{{{prevtype|Unknown}}}SpeciesIconSilhouette.png|32px|link={{{prevcard|List of amiibo cards}}}#Welcome_amiibo_card]]
 
|}
 
|}
| width=25% style="text-align:left;" |[[{{#ifeq: {{{prevcard|}}} | DJ K.K. | K.K. Slider | {{{prevcard|List of amiibo cards}}}}} | {{Colorshow|000|<small>{{#if: {{{number|}}}|{{#ifeq: {{{number|}}}|1|{{#switch: {{{name|}}}|Rilla=6|50}}|{{#expr: {{{number|}}}-1}}}}|{{{prevnumb|00}}}}} {{{prevcard|Previous}}}</small>}}]]
+
| style="text-align:left; width:25%;" |[[{{#ifeq: {{{prevcard|}}} | Snooty | Snooty (villager) | {{{prevcard|List of amiibo cards}}}#Welcome_amiibo_card}} | {{Colorshow|000|<small>{{#if: {{{number|}}}|{{#ifeq: {{{number|}}}|1|{{#switch: {{{name|}}}|Rilla=6|50}}|{{#expr: {{{number|}}}-1}}}}|{{{prevnumb|00}}}}} {{{prevcard|Previous}}}</small>}}]]
| width=30% | [[List of amiibo cards|{{Colorshow|333|<small>'''List of amiibo cards'''</small>}}]]<br>'''#{{{number|}}} {{{name|}}}'''
+
| style="width:30%" | [[List of amiibo cards|{{Colorshow|333|<small>'''List of amiibo cards'''</small>}}]]<br>'''#{{{number|}}} {{{name|}}}'''
| width=25% style="text-align:right" | [[{{#ifeq: {{{nextcard|}}} | DJ K.K. | K.K. Slider | {{{nextcard|List of amiibo cards}}}}}|{{Colorshow|000|<small>{{#if: {{{number|}}}|{{#ifeq: {{{number|}}}|50|01|{{#switch: {{{name|}}}|Toby=1|{{#expr: {{{number|}}}+1}}}}|{{{nextnumb|02}}}}}}} {{{nextcard|Next}}} </small>}}]]
+
| style="text-align:right; width:25%;" | [[{{#ifeq: {{{nextcard|}}} | Snooty | Snooty (villager) | {{{nextcard|List of amiibo cards}}}#Welcome_amiibo_card}}|{{Colorshow|000|<small>{{#if: {{{number|}}}|{{#ifeq: {{{number|}}}|50|01|{{#switch: {{{name|}}}|Toby=1|{{#expr: {{{number|}}}+1}}}}|{{{nextnumb|02}}}}}}} {{{nextcard|Next}}} </small>}}]]
| width=32px style="padding:0px;" |
+
| style="padding:0px; width:32px" |
 
{| style="background:#ff9936; {{roundy|30px}};"
 
{| style="background:#ff9936; {{roundy|30px}};"
| [[File:{{{nexttype|Unknown}}}SpeciesIconSilhouette.png|32px|link={{{nextcard|List of amiibo cards}}}]]
+
| style="min-width:30px" | [[File:{{{nexttype|Unknown}}}SpeciesIconSilhouette.png|32px|link={{{nextcard|List of amiibo cards}}}#Welcome_amiibo_card]]
 
|}
 
|}
| width=3% style="padding:0 12px 0 0; text-align:right;"| [[{{{nextcard|List of amiibo cards}}}|{{Colorshow|000|→}}]]
+
| style="padding:0 12px 0 0; text-align:right; width:3%"| [[{{{nextcard|List of amiibo cards}}}#Welcome_amiibo_card|{{Colorshow|000|→}}]]
 
|}
 
|}
 
</div>
 
</div>
Line 83: Line 99:
 
}}
 
}}
 
</pre>
 
</pre>
{| width=100% style="margin: 15px 0 0 0; background: #ffe543; text-align: center; {{roundy}};"
+
{| style="margin: 15px 0 0 0; background: #ffe543; text-align: center; {{roundy}}; width:100%"
 
| height=35px | {{Colorshow|333|'''For help with this template, leave a message on [[User:Sunmarsh|sunmarsh]]'s [[User_talk:Sunmarsh|{{Colorshow|f6ab00|talk page}}]].'''}}
 
| height=35px | {{Colorshow|333|'''For help with this template, leave a message on [[User:Sunmarsh|sunmarsh]]'s [[User_talk:Sunmarsh|{{Colorshow|f6ab00|talk page}}]].'''}}
 
|}
 
|}
Line 90: Line 106:
 
*None of the parameters are required for the template to function correctly- however it will appear as it does at the top of the page if nothing is entered.
 
*None of the parameters are required for the template to function correctly- however it will appear as it does at the top of the page if nothing is entered.
 
*The <tt>'''back'''</tt> parameter is not required; the template will automatically insert the standard amiibo card back. However if a card is ever released with a non-standard back this parameter can be used.
 
*The <tt>'''back'''</tt> parameter is not required; the template will automatically insert the standard amiibo card back. However if a card is ever released with a non-standard back this parameter can be used.
*The template automatically inserts the associated HHD furniture icon with the item name entered. If no such icon is found, it will show "No Image Available".  
+
*The template automatically inserts the associated HHD furniture icon with the item name entered. If no such icon is found, it will show "No Image Available".
 
*For the <tt>'''item1''', '''item2'''...</tt> parameters, enter the names of the items found in the character's RV. Proper spelling is important; you can check [[Template:NewWA]] for proper spelling.
 
*For the <tt>'''item1''', '''item2'''...</tt> parameters, enter the names of the items found in the character's RV. Proper spelling is important; you can check [[Template:NewWA]] for proper spelling.
* The <tt>'''c1''', '''c2'''...</tt> parameters can be used to denote whether or not an item has been customized. <tt>c1</tt> corresponds to <tt>item1</tt>, <tt>c2</tt> with <tt>item2</tt> and so on. Example: <tt><nowiki>{{WA-card|item1=Item Name|c1=true|...}}</nowiki></tt> will produce Item Name{{tt|*|customized}}.
+
* The <tt>'''c1''', '''c2'''...</tt> parameters can be used to denote whether or not an item has been customized. <tt>c1</tt> corresponds to <tt>item1</tt>, <tt>c2</tt> with <tt>item2</tt> and so on. Example: <tt><nowiki>{{WA-card|item1=Item Name|c1=true|...}}</nowiki></tt> will produce Item Name{{Note|name=Item is customized|Item is customized}}.
 
*The template will mark items new to the Welcome amiibo version with the [[File:New.gif|30px]] icon. The list that is referenced to determine whether the item is new or not is located at [[Template:NewWA]]. The list may be incomplete and should be periodically reviewed. If there are any questions about this, please direct them to [[User:Sunmarsh|sunmarsh]].
 
*The template will mark items new to the Welcome amiibo version with the [[File:New.gif|30px]] icon. The list that is referenced to determine whether the item is new or not is located at [[Template:NewWA]]. The list may be incomplete and should be periodically reviewed. If there are any questions about this, please direct them to [[User:Sunmarsh|sunmarsh]].
 
*The <tt>'''prevtype'''</tt> and <tt>'''nexttype'''</tt> parameters are used to generate the appropriate icon associated with the type of card preceding or following the current one.
 
*The <tt>'''prevtype'''</tt> and <tt>'''nexttype'''</tt> parameters are used to generate the appropriate icon associated with the type of card preceding or following the current one.
 
:*For villager cards, input the villager's species name.
 
:*For villager cards, input the villager's species name.
:*For special visitors, input "special".  
+
:*For special visitors, input "special".
 
*The template will automatically calculate the correct previous and next card number based on the value entered for <tt>'''number'''</tt>, however the parameters <tt>'''nextnumb'''</tt> and <tt>'''prevnumb'''</tt> can be used to override the calculated values.
 
*The template will automatically calculate the correct previous and next card number based on the value entered for <tt>'''number'''</tt>, however the parameters <tt>'''nextnumb'''</tt> and <tt>'''prevnumb'''</tt> can be used to override the calculated values.
 +
 +
{{Note list}}
 
</noinclude>
 
</noinclude>

Latest revision as of 16:18, March 31, 2023

Usage

{{A-card
| number = (card #)
| name = (card name)
| front = (image of card front)
| back = (image of card back)
| item1 = name of item available to buy in RV
| item2 = name of item available to buy in RV
| item3 = name of item available to buy in RV
| item4 = name of item available to buy in RV
| item5 = name of item available to buy in RV
| item6 = name of item available to buy in RV
| item7 = name of item available to buy in RV
| item8 = name of item available to buy in RV
| item9 = name of item available to buy in RV
| item10 = name of item available to buy in RV
| c1 = true if item1 is customized (optional)
| c2 = true if item2 is customized (optional)
| c3 = true if item3 is customized (optional)
| c4 = true if item4 is customized (optional)
| c5 = true if item5 is customized (optional)
| c6 = true if item6 is customized (optional)
| c7 = true if item7 is customized (optional)
| c8 = true if item8 is customized (optional)
| c9 = true if item9 is customized (optional)
| c10 = true if item10 is customized (optional)
| prevcard = (name of previous card in series)
| prevtype = (type of previous card in the series)
| nextcard = (name of next card in series)
| nexttype = (type of next card in the series)
}}
For help with this template, leave a message on sunmarsh's talk page.

Notes

  • None of the parameters are required for the template to function correctly- however it will appear as it does at the top of the page if nothing is entered.
  • The back parameter is not required; the template will automatically insert the standard amiibo card back. However if a card is ever released with a non-standard back this parameter can be used.
  • The template automatically inserts the associated HHD furniture icon with the item name entered. If no such icon is found, it will show "No Image Available".
  • For the item1, item2... parameters, enter the names of the items found in the character's RV. Proper spelling is important; you can check Template:NewWA for proper spelling.
  • The c1, c2... parameters can be used to denote whether or not an item has been customized. c1 corresponds to item1, c2 with item2 and so on. Example: {{WA-card|item1=Item Name|c1=true|...}} will produce Item Name[nb 1].
  • The template will mark items new to the Welcome amiibo version with the New.gif icon. The list that is referenced to determine whether the item is new or not is located at Template:NewWA. The list may be incomplete and should be periodically reviewed. If there are any questions about this, please direct them to sunmarsh.
  • The prevtype and nexttype parameters are used to generate the appropriate icon associated with the type of card preceding or following the current one.
  • For villager cards, input the villager's species name.
  • For special visitors, input "special".
  • The template will automatically calculate the correct previous and next card number based on the value entered for number, however the parameters nextnumb and prevnumb can be used to override the calculated values.
  1. Item is customized