Difference between revisions of "Template:A-card"
From Nookipedia, the Animal Crossing wiki
HylianAngel (talk | contribs) m |
HylianAngel (talk | contribs) (Hide the number sign for promotional amiibo cards. Default to "promotional" if no number.) |
||
Line 31: | Line 31: | ||
<div class="card-flex-item card-right"> | <div class="card-flex-item card-right"> | ||
{| width=100% style="background: #ffe543; padding: 3px; {{roundy|9px}};" | {| width=100% style="background: #ffe543; padding: 3px; {{roundy|9px}};" | ||
− | | colspan=2 style="border-bottom: 1px solid #ffc644;" | '''#{{{number|}}} {{{name|}}}''' - {{{series|{{#ifeq: {{#expr: {{{number|}}} < 101}} | 1 | {{colorshow|000|Series 1}} | {{#ifeq: {{#expr: {{{number|}}} < 201}} | 1 | {{colorshow|000|Series 2}} | {{#ifeq: {{#expr: {{{number|}}} < 301}} | 1 | {{colorshow|000|Series 3}} | {{#ifeq: {{#expr: {{{number|}}} < 401}} | 1 | {{colorshow|000|Series 4}} | {{#ifeq: {{#expr: {{{number|}}} | + | | colspan=2 style="border-bottom: 1px solid #ffc644;" | '''{{#ifeq: {{#expr: {{{number|{{#var:number}}}}} < 449}} | 1 | <nowiki>#</nowiki> }}{{{number|}}} {{{name|}}}''' - {{{series|{{#ifeq: {{#expr: {{{number|}}} < 101}} | 1 | {{colorshow|000|Series 1}} | {{#ifeq: {{#expr: {{{number|}}} < 201}} | 1 | {{colorshow|000|Series 2}} | {{#ifeq: {{#expr: {{{number|}}} < 301}} | 1 | {{colorshow|000|Series 3}} | {{#ifeq: {{#expr: {{{number|}}} < 401}} | 1 | {{colorshow|000|Series 4}} | {{#ifeq: {{#expr: {{{number|}}} < 449}} | 1 | {{colorshow|000|Series 5}} | {{colorshow|000|Promotional ({{{bundle|bundle}}})}}}}}}}}}}}}}}} |
|- | |- | ||
| height=230px style="vertical-align:top; padding:4px 0 0 2px;"| | | height=230px style="vertical-align:top; padding:4px 0 0 2px;"| | ||
Line 61: | Line 61: | ||
|} | |} | ||
| width=25% style="text-align:left;" |[[{{#ifeq: {{{prevcard|}}} | DJ K.K. | K.K. Slider | {{{prevcard|List of amiibo cards}}}#amiibo_card}} | {{Colorshow|000|<small>{{{prevnumb|000}}} {{{prevcard|Previous}}}</small>}}]] | | width=25% style="text-align:left;" |[[{{#ifeq: {{{prevcard|}}} | DJ K.K. | K.K. Slider | {{{prevcard|List of amiibo cards}}}#amiibo_card}} | {{Colorshow|000|<small>{{{prevnumb|000}}} {{{prevcard|Previous}}}</small>}}]] | ||
− | | width=30% | [[List of amiibo cards|{{Colorshow|333|<small>'''List of amiibo cards'''</small>}}]]<br>'''#{{{number|}}} {{{name|}}}''' | + | | width=30% | [[List of amiibo cards|{{Colorshow|333|<small>'''List of amiibo cards'''</small>}}]]<br>'''{{#ifeq: {{#expr: {{{number|{{#var:number}}}}} < 449}} | 1 | <nowiki>#</nowiki> }}{{{number|}}} {{{name|}}}''' |
| width=25% style="text-align:right" | [[{{#ifeq: {{{nextcard|}}} | DJ K.K. | K.K. Slider | {{{nextcard|List of amiibo cards}}}#amiibo_card}}|{{Colorshow|000|<small>{{{nextnumb|002}}} {{{nextcard|Next}}} </small>}}]] | | width=25% style="text-align:right" | [[{{#ifeq: {{{nextcard|}}} | DJ K.K. | K.K. Slider | {{{nextcard|List of amiibo cards}}}#amiibo_card}}|{{Colorshow|000|<small>{{{nextnumb|002}}} {{{nextcard|Next}}} </small>}}]] | ||
| width=32px style="padding:0px;" | | | width=32px style="padding:0px;" | | ||
Line 79: | Line 79: | ||
| front = (image of card front) | | front = (image of card front) | ||
| back = (image of card back) | | back = (image of card back) | ||
− | | dice = (dice value) ( | + | | bundle = (promotional bundle) (if applicable) |
− | | hand = (hand sign) ( | + | | dice = (dice value) (only for Series 1-4) |
+ | | hand = (hand sign) (only for Series 1-4) | ||
+ | | type = (card type) | ||
| sign = (character's star sign) | | sign = (character's star sign) | ||
| bday = (character's birthday) | | bday = (character's birthday) | ||
Line 94: | Line 96: | ||
==Notes== | ==Notes== | ||
− | *None of the parameters are required for the template to function correctly | + | *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. | ||
− | *For the <tt>'''type'''</tt> parameter, please insert the villager's species, unless the character is a special visitor, in which case enter "Special" | + | *For the <tt>'''type'''</tt> parameter, please insert the villager's species, unless the character is a special visitor, in which case enter "Special." |
*For the <tt>'''hand'''</tt> parameter, please insert "Rock" for the fist sign, "Paper" for the open palm, and "Scissors" for the peace sign. | *For the <tt>'''hand'''</tt> parameter, please insert "Rock" for the fist sign, "Paper" for the open palm, and "Scissors" for the peace sign. | ||
*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 " | + | :*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>. | *The template will automatically calculate the correct previous and next card number based on the value entered for <tt>'''number'''</tt>. | ||
[[Category:Cargo templates]] | [[Category:Cargo templates]] | ||
</noinclude> | </noinclude> |
Revision as of 05:16, April 15, 2022
This template defines the table "amiibo_card". View table.
- Promotional (bundle) | ||||
|
More Cargo templates |
---|
- For query instructions see our Cargo documentation.
Usage
{{A-card | number = (card #) | name = (card name) | front = (image of card front) | back = (image of card back) | bundle = (promotional bundle) (if applicable) | dice = (dice value) (only for Series 1-4) | hand = (hand sign) (only for Series 1-4) | type = (card type) | sign = (character's star sign) | bday = (character's birthday) | 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.
- For the type parameter, please insert the villager's species, unless the character is a special visitor, in which case enter "Special."
- For the hand parameter, please insert "Rock" for the fist sign, "Paper" for the open palm, and "Scissors" for the peace sign.
- 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.