Difference between revisions of "Template:A-card"

From Nookipedia, the Animal Crossing wiki
(Template will now generate series number according to value entered for 'number')
(Removing extraneous end brackets & added code to identify promo cards)
Line 12: Line 12:
 
| rowspan=2 width=75% style="vertical-align: top; background: #ffe543; padding:0px; {{roundy|25px}};"|  
 
| rowspan=2 width=75% style="vertical-align: top; background: #ffe543; padding:0px; {{roundy|25px}};"|  
 
{| width=100% style="background: transparent; padding: 3px; {{roundytop|25px}};"
 
{| width=100% style="background: transparent; padding: 3px; {{roundytop|25px}};"
| colspan=2 style="background: #ffe543; border-bottom: 1px solid #ffc644; {{roundytop|25px}};" | '''#{{{number|}}} {{{name|}}}''' - {{#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}} | {{colorshow|000|Series ???}}}}}}}}}}
+
| colspan=2 style="background: #ffe543; border-bottom: 1px solid #ffc644; {{roundytop|25px}};" | '''#{{{number|}}} {{{name|}}}''' - {{#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|}}} > 401}} | 1 | {{colorshow|000|Promo}} | {{colorshow|000|Series ???}}}}}}}}}}}}
 
|-
 
|-
 
| height=230px style="vertical-align:top; padding:4px 0 0 2px;"|
 
| height=230px style="vertical-align:top; padding:4px 0 0 2px;"|

Revision as of 19:30, December 25, 2016

Animal Crossing amiibo card
# - Series ???
Type: Please enter a card type.
Star sign: Please enter a star sign.
Birthday: Please enter a birth date.
Dice value: Please enter a dice value.
Hand sign: Please enter a hand sign.
Nia orange.png Have one to add?
UnknownSpeciesIconSilhouette.png
000 Previous List of amiibo cards
#
002 Next
UnknownSpeciesIconSilhouette.png

Usage

{{A-card
| number = (card #)
| name = (card name)
| front = (image of card front)
| back = (image of card back)
| dice = (dice value)
| hand = (hand sign)
| 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.