Difference between revisions of "Template:A-card"

From Nookipedia, the Animal Crossing wiki
(hiding hand and dice values (for New Horizons characters only))
m (fixing issues)
Line 40: Line 40:
 
| style="width:70px; background: #ffe543; padding: 3px; text-align:right;" | '''Birthday:'''
 
| style="width:70px; background: #ffe543; padding: 3px; text-align:right;" | '''Birthday:'''
 
| style="background: #ffffff; padding: 0 0 0 9px; {{#if:{{{dice|}}}||{{roundybottom|12px}}}}" align="left" | {{{bday|Please enter a birth date.}}}
 
| style="background: #ffffff; padding: 0 0 0 9px; {{#if:{{{dice|}}}||{{roundybottom|12px}}}}" align="left" | {{{bday|Please enter a birth date.}}}
|- {{#if: {{{dice|}}} |
+
|-
 +
{{#if: {{{dice|}}} |
 
{{!}} style="width:70px; background: #ffe543; padding: 3px; text-align:right;" {{!}} '''Dice value:'''
 
{{!}} style="width:70px; background: #ffe543; padding: 3px; text-align:right;" {{!}} '''Dice value:'''
{{!}} style="background: #ffffff; padding: 0 0 0 9px;" align="left" {{!}} {{{dice|Please enter a dice value.}}}
+
{{!}} style="background: #ffffff; padding: 0 0 0 9px;" align="left" {{!}} {{{dice|Please enter a dice value.}}}}}
{{!-}} }} {{#if: {{{hand|}}}
+
|-
 +
{{#if: {{{hand|}}} |
 
{{!}} style="width:70px; background: #ffe543; padding: 3px; text-align:right;" {{!}} '''Hand sign:'''
 
{{!}} style="width:70px; background: #ffe543; padding: 3px; text-align:right;" {{!}} '''Hand sign:'''
{{!}} style="background: #ffffff; padding: 0 0 0 9px; {{roundybottom|12px}};" align="left" {{!}} {{{hand|Please enter a hand sign.}}}
+
{{!}} style="background: #ffffff; padding: 0 0 0 9px; {{roundybottom|12px}};" align="left" {{!}} {{{hand|Please enter a hand sign.}}}}}
{{!-}} }}
+
|-
 
|}
 
|}
 
|}
 
|}

Revision as of 16:04, October 15, 2021

This template defines the table "amiibo_card". View table.

Nia orange.png Have one to add?

Card back

Amiibo Card Back.png

# - Series ???
Star sign: Please enter a star sign.
Birthday: Please enter a birth date.
More Cargo templates

Usage

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