Difference between revisions of "Template:E-card"

From Nookipedia, the Animal Crossing wiki
m (Updated Lulu links.)
(One intermediate revision by the same user not shown)
Line 192: Line 192:
 
| Hopper = 171
 
| Hopper = 171
 
| Ursala = 172
 
| Ursala = 172
| Lulu (villager) = 173
+
| Lulu = 173
 
| Pango = 174
 
| Pango = 174
 
| Timmy = 176
 
| Timmy = 176
Line 465: Line 465:
 
| 171 = Hopper
 
| 171 = Hopper
 
| 172 = Ursala
 
| 172 = Ursala
| 173 = Lulu (villager)
+
| 173 = Lulu
 
| 174 = Pango
 
| 174 = Pango
 
| 175 = Tom Nook
 
| 175 = Tom Nook
Line 1,021: Line 1,021:
 
| 171 = Hopper
 
| 171 = Hopper
 
| 172 = Ursala
 
| 172 = Ursala
| 173 = Lulu (villager)
+
| 173 = Lulu
 
| 174 = Pango
 
| 174 = Pango
 
| 175 = Tom Nook
 
| 175 = Tom Nook
Line 1,459: Line 1,459:
 
<div style="width: 100%; margin-top: 5px;">
 
<div style="width: 100%; margin-top: 5px;">
 
{| width=100% style="background: #eaf76d; {{roundy|9px}};"
 
{| width=100% style="background: #eaf76d; {{roundy|9px}};"
| width=3% style="padding:0 0 0 12px; text-align:left;"|[[{{#if: {{{prevcard|}}} | {{#switch: {{ucfirst:{{{prevcard|}}}}} | Carmen = Carmen (mouse) | Lulu = {{#ifeq: {{{prevnum|}}} | 054 | Lulu (islander) | Lulu (villager)}} | Mabel Able = Mabel | Sable Able = Sable | Snooty = Snooty (villager) | {{{prevcard|e-Reader card}}}}} | {{#var:prevname|e-Reader card}}}}#Animal_Crossing_e-Reader_card | {{Colorshow|000|←}}]]
+
| width=3% style="padding:0 0 0 12px; text-align:left;"|[[{{#if: {{{prevcard|}}} | {{#switch: {{ucfirst:{{{prevcard|}}}}} | Carmen = Carmen (mouse) | Lulu = {{#ifeq: {{{prevnum|}}} | 054 | Lulu (anteater) | Lulu}} | Mabel Able = Mabel | Sable Able = Sable | Snooty = Snooty (villager) | {{{prevcard|e-Reader card}}}}} | {{#var:prevname|e-Reader card}}}}#Animal_Crossing_e-Reader_card | {{Colorshow|000|←}}]]
 
| width=32px style="padding:0px;" |
 
| width=32px style="padding:0px;" |
 
{| style="background:#aab53c; {{roundy|30px}};"
 
{| style="background:#aab53c; {{roundy|30px}};"
| style="min-width: 30px;" | [[File:{{{prevtype|{{#var:prevtype|Unknown}}}}}SpeciesIconSilhouette.png|32px|link={{#if: {{{prevcard|}}} | {{#switch: {{ucfirst:{{{prevcard|}}}}} | Carmen = Carmen (mouse) | Lulu = {{#ifeq: {{{prevnum|}}} | 054 | Lulu (islander) | Lulu (villager)}} | Mabel Able = Mabel | Sable Able = Sable | Snooty = Snooty (villager) | {{{prevcard|e-Reader card}}}}} | {{#var:prevname|e-Reader card}}}}#Animal_Crossing_e-Reader_card]]
+
| style="min-width: 30px;" | [[File:{{{prevtype|{{#var:prevtype|Unknown}}}}}SpeciesIconSilhouette.png|32px|link={{#if: {{{prevcard|}}} | {{#switch: {{ucfirst:{{{prevcard|}}}}} | Carmen = Carmen (mouse) | Lulu = {{#ifeq: {{{prevnum|}}} | 054 | Lulu (anteater) | Lulu}} | Mabel Able = Mabel | Sable Able = Sable | Snooty = Snooty (villager) | {{{prevcard|e-Reader card}}}}} | {{#var:prevname|e-Reader card}}}}#Animal_Crossing_e-Reader_card]]
 
|}
 
|}
| width=25% style="text-align:left;" |[[{{#if: {{{prevcard|}}} | {{#switch: {{ucfirst:{{{prevcard|}}}}} | Carmen = Carmen (mouse) | Lulu = {{#ifeq: {{{prevnum|}}} | 054 | Lulu (islander) | Lulu (villager)}} | Mabel Able = Mabel | Sable Able = Sable | Snooty = Snooty (villager) | {{{prevcard|e-Reader card}}}}} | {{#var:prevname|e-Reader card}}}}#Animal_Crossing_e-Reader_card | {{Colorshow|000|<small>{{{prevnum|{{#var:prevnum|X-100}}}}} {{{prevcard|{{#var:prevname|Previous}}}}}</small>}}]]
+
| width=25% style="text-align:left;" |[[{{#if: {{{prevcard|}}} | {{#switch: {{ucfirst:{{{prevcard|}}}}} | Carmen = Carmen (mouse) | Lulu = {{#ifeq: {{{prevnum|}}} | 054 | Lulu (anteater) | Lulu}} | Mabel Able = Mabel | Sable Able = Sable | Snooty = Snooty (villager) | {{{prevcard|e-Reader card}}}}} | {{#var:prevname|e-Reader card}}}}#Animal_Crossing_e-Reader_card | {{Colorshow|000|<small>{{{prevnum|{{#var:prevnum|X-100}}}}} {{{prevcard|{{#var:prevname|Previous}}}}}</small>}}]]
 
| width=34% | [[e-Reader card|{{Colorshow|333|<small>e-Reader card'''</small>}}]]<br>'''#{{{number|{{#var:number|001}}}}} {{{name|{{PAGENAME}}}}}'''
 
| width=34% | [[e-Reader card|{{Colorshow|333|<small>e-Reader card'''</small>}}]]<br>'''#{{{number|{{#var:number|001}}}}} {{{name|{{PAGENAME}}}}}'''
| width=25% style="text-align:right" | [[{{#if: {{{nextcard|}}} | {{#switch: {{ucfirst:{{{nextcard|}}}}} | Carmen = Carmen (mouse) | Lulu = {{#ifeq: {{{nextnum|}}} | 054 | Lulu (islander) | Lulu (villager)}} | Mabel Able = Mabel | Sable Able = Sable | Snooty = Snooty (villager) | {{{nextcard|e-Reader card}}}}} | {{#var:nextname|e-Reader card}}}}#Animal_Crossing_e-Reader_card | {{Colorshow|000|<small>{{{nextnum|{{#var:nextnum|X-100}}}}} {{{nextcard|{{#var:nextname|Next}}}}} </small>}}]]
+
| width=25% style="text-align:right" | [[{{#if: {{{nextcard|}}} | {{#switch: {{ucfirst:{{{nextcard|}}}}} | Carmen = Carmen (mouse) | Lulu = {{#ifeq: {{{nextnum|}}} | 054 | Lulu (anteater) | Lulu}} | Mabel Able = Mabel | Sable Able = Sable | Snooty = Snooty (villager) | {{{nextcard|e-Reader card}}}}} | {{#var:nextname|e-Reader card}}}}#Animal_Crossing_e-Reader_card | {{Colorshow|000|<small>{{{nextnum|{{#var:nextnum|X-100}}}}} {{{nextcard|{{#var:nextname|Next}}}}} </small>}}]]
 
| width=32px style="padding:0px;" |
 
| width=32px style="padding:0px;" |
 
{| style="background:#aab53c; {{roundy|30px}};"
 
{| style="background:#aab53c; {{roundy|30px}};"
| style="min-width: 30px;" | [[File:{{{nexttype|{{#var:nexttype|Unknown}}}}}SpeciesIconSilhouette.png|32px|link={{#if: {{{nextcard|}}} | {{#switch: {{ucfirst:{{{nextcard|}}}}} | Carmen = Carmen (mouse) | Lulu = {{#ifeq: {{{nextnum|}}} | 054 | Lulu (islander) | Lulu (villager)}} | Mabel Able = Mabel | Sable Able = Sable | Snooty = Snooty (villager) | {{{nextcard|e-Reader card}}}}}  | {{#var:nextname|e-Reader card}}}}#Animal_Crossing_e-Reader_card]]
+
| style="min-width: 30px;" | [[File:{{{nexttype|{{#var:nexttype|Unknown}}}}}SpeciesIconSilhouette.png|32px|link={{#if: {{{nextcard|}}} | {{#switch: {{ucfirst:{{{nextcard|}}}}} | Carmen = Carmen (mouse) | Lulu = {{#ifeq: {{{nextnum|}}} | 054 | Lulu (anteater) | Lulu}} | Mabel Able = Mabel | Sable Able = Sable | Snooty = Snooty (villager) | {{{nextcard|e-Reader card}}}}}  | {{#var:nextname|e-Reader card}}}}#Animal_Crossing_e-Reader_card]]
 
|}
 
|}
| style="padding:0 12px 0 0; text-align:right; width: 30px;" | [[{{#if: {{{nextcard|}}} | {{#switch: {{ucfirst:{{{nextcard|}}}}} | Carmen = Carmen (mouse) | Lulu = {{#ifeq: {{{nextnum|}}} | 054 | Lulu (islander) | Lulu (villager)}} | Mabel Able = Mabel | Sable Able = Sable | Snooty = Snooty (villager) | {{{nextcard|e-Reader card}}}}} | {{#var:nextname|e-Reader card}}}}#Animal_Crossing_e-Reader_card |{{Colorshow|000|→}}]]
+
| style="padding:0 12px 0 0; text-align:right; width: 30px;" | [[{{#if: {{{nextcard|}}} | {{#switch: {{ucfirst:{{{nextcard|}}}}} | Carmen = Carmen (mouse) | Lulu = {{#ifeq: {{{nextnum|}}} | 054 | Lulu (anteater) | Lulu}} | Mabel Able = Mabel | Sable Able = Sable | Snooty = Snooty (villager) | {{{nextcard|e-Reader card}}}}} | {{#var:nextname|e-Reader card}}}}#Animal_Crossing_e-Reader_card |{{Colorshow|000|→}}]]
 
|}
 
|}
 
</div>
 
</div>
Line 1,503: Line 1,503:
 
<pre>
 
<pre>
 
{{E-card
 
{{E-card
 +
| front = (image of card front)
 +
| back = (image of card back)
 
| number = (card #)
 
| number = (card #)
 
| name = (card name)
 
| name = (card name)
| front = (image of card front)
 
| back = (image of card back)
 
 
| gender = (character's gender)
 
| gender = (character's gender)
 
| species = (character's species)
 
| species = (character's species)
 
| design = (name of design)
 
| design = (name of design)
 
| song = (name of song)
 
| song = (name of song)
 +
| sign = (character's star sign)
 +
| sign-note = (if applicable, denote any typos for the star sign (like Biff's))
 
| clothes = (villager's initial clothes)
 
| clothes = (villager's initial clothes)
 
| clothes-i = (clothing item page name; only needs to be specified for villagers whose cards have a clothing typo (like Dizzy's))
 
| clothes-i = (clothing item page name; only needs to be specified for villagers whose cards have a clothing typo (like Dizzy's))
| sign = (character's star sign)
 
| sign-note = (if applicable, denote any typos for the star sign (like Biff's))
 
 
| phrase = (villager's initial catchphrase)
 
| phrase = (villager's initial catchphrase)
 
| phrase-note = (if applicable, denote any typos for the catchphrase (like Cyrano and Pigleg's))
 
| phrase-note = (if applicable, denote any typos for the catchphrase (like Cyrano and Pigleg's))
Line 1,520: Line 1,520:
 
| charcards = (number of character cards needed to play game)
 
| charcards = (number of character cards needed to play game)
 
| players = (number of players game allows)
 
| players = (number of players game allows)
 +
| description = (text body on back of card)
 
| p1line1 = (line 1 of first password)
 
| p1line1 = (line 1 of first password)
 
| p1line2 = (line 2 of first password)
 
| p1line2 = (line 2 of first password)
 
| p2line1 = (line 1 of second password)
 
| p2line1 = (line 1 of second password)
 
| p2line2 = (line 2 of second password)
 
| p2line2 = (line 2 of second password)
| description = (text body on back of card)
 
 
| prevcard = (name of previous card in series)
 
| prevcard = (name of previous card in series)
 
| prevnum = (value of previous card number in series)
 
| prevnum = (value of previous card number in series)
Line 1,557: Line 1,557:
 
'''Aug. 13, 2016:'''<br>
 
'''Aug. 13, 2016:'''<br>
 
*The template will now auto-fill the following parameters based on the value for PAGENAME:
 
*The template will now auto-fill the following parameters based on the value for PAGENAME:
:*'''<tt>name</tt>'''
 
:*'''<tt>number</tt>'''
 
 
:*'''<tt>front</tt>'''
 
:*'''<tt>front</tt>'''
 
:*'''<tt>back</tt>'''
 
:*'''<tt>back</tt>'''
 +
:*'''<tt>number</tt>'''
 +
:*'''<tt>name</tt>'''
 
:*'''<tt>prevcard</tt>'''
 
:*'''<tt>prevcard</tt>'''
 
:*'''<tt>prevnum</tt>'''
 
:*'''<tt>prevnum</tt>'''

Revision as of 03:25, November 30, 2022

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


Usage

{{E-card
| front = (image of card front)
| back = (image of card back)
| number = (card #)
| name = (card name)
| gender = (character's gender)
| species = (character's species)
| design = (name of design)
| song = (name of song)
| sign = (character's star sign)
| sign-note = (if applicable, denote any typos for the star sign (like Biff's))
| clothes = (villager's initial clothes)
| clothes-i = (clothing item page name; only needs to be specified for villagers whose cards have a clothing typo (like Dizzy's))
| phrase = (villager's initial catchphrase)
| phrase-note = (if applicable, denote any typos for the catchphrase (like Cyrano and Pigleg's))
| game = (name of game)
| charcards = (number of character cards needed to play game)
| players = (number of players game allows)
| description = (text body on back of card)
| p1line1 = (line 1 of first password)
| p1line2 = (line 2 of first password)
| p2line1 = (line 1 of second password)
| p2line2 = (line 2 of second password)
| prevcard = (name of previous card in series)
| prevnum = (value of previous card number in series)
| prevtype = (type of previous card in the series)
| nextcard = (name of next card in series)
| nextnum = (value of next card number 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.
  • As non-villager/special character cards do not currently (as of Aug. 2, 2015) have their own pages, new pages will need to be created for sibling, boy/girl, NES, design, and music cards. The template will then need to be updated to link to the appropriate section of the relevant page featuring the correct e-card template.
  • All of the parameters will not be used at the same time, as some parameters are specific to certain card types.
  • gender, clothes, sign, and phrase are limited to cards featuring characters.
  • design - Only used to provide name of design on design cards.
  • song - Only used to provide name of song on song cards.
  • game - Only used to provide name of game on NES or boy/girl cards.
  • charcards - Only used to specify the number of players able to play game on boy/girl cards.
  • p2line1 & p2line2 - Only used to enter second password on sibling cards.
  • The description parameter is used to input the profile info on villager cards, the dialog on sibling cards, the game instructions on boy/girl cards, and Nook's description on NES cards.
  • 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".
  • Icons have not been created for any other card types but are forthcoming. Watch this space for further instruction.
  • The template knows which fields need to be displayed depending on the parameters entered and will generate table elements accordingly.

Update log

Aug. 13, 2016:

  • The template will now auto-fill the following parameters based on the value for PAGENAME:
  • front
  • back
  • number
  • name
  • prevcard
  • prevnum
  • prevtype
  • nextcard
  • nextnum
  • nexttype
  • The parameters can still be used to override default values.
  • The template is not currently coded correctly to deal with non-character e-cards (e.g. Town Tune cards etc.) and they will require manual entry.
  • Card images and page links for villagers whose wiki page names do not exactly match their card names (e.g. Snooty (villager)) may require manual entry.
  • Support for legacy parameters image, type, and password has been dropped and the template will no longer tag pages with Category:Pages with an outdated e-card template.


Aug. 20, 2015:

  • The template is designed to work with the previous template/parameters and will tag pages using these depreciated parameters (type & password) with Category:Pages with an outdated e-card template.
  • The old type parameter was split into two new parameters: gender and species.
  • The password parameter was also split in two (p1line1 & p1line2) so that half of the password would sit on a line, one above the other, making it easier to use in-game.
  • The image parameter was replaced with front but will still work on pages using the previous version of the template.
  • The e-card portion of Template:Villager Header was incorporated into the bottom of the template to allow for navigation to other pages containing the template.