Difference between revisions of "Template:E-card"

From Nookipedia, the Animal Crossing wiki
m (Aurora (villager) -> Aurora)
m (Marcy card typo note.)
 
(30 intermediate revisions by 3 users not shown)
Line 2: Line 2:
 
_table=e_card
 
_table=e_card
 
|villager = String
 
|villager = String
 +
|villager_jp = String
 +
|game = String
 +
|series = String
 
|number = String
 
|number = String
 
|image_front = String
 
|image_front = String
 
|image_back = String
 
|image_back = String
 
|gender = String
 
|gender = String
 +
|species = String
 
|sign = String
 
|sign = String
 +
|sign_jp = String
 
|clothes = String
 
|clothes = String
 +
|clothes_jp = String
 +
|clothes_jp_t = String
 
|phrase = String
 
|phrase = String
 +
|phrase_jp = String
 
|description = String
 
|description = String
 +
|description_jp = String
 +
|favorite_saying_jp = String
 +
|favorite_saying_jp_t = Wikitext string
 
|password_line1 = String
 
|password_line1 = String
 
|password_line2 = String
 
|password_line2 = String
Line 50: Line 61:
 
| Buck = 036
 
| Buck = 036
 
| Bluebear = 037
 
| Bluebear = 037
| June (villager) = 038
+
| June = 038
 
| Cheri = 039
 
| Cheri = 039
 
| Apollo = 040
 
| Apollo = 040
Line 181: Line 192:
 
| Hopper = 171
 
| Hopper = 171
 
| Ursala = 172
 
| Ursala = 172
| Lulu (villager) = 173
+
| Lulu = 173
 
| Pango = 174
 
| Pango = 174
 
| Timmy = 176
 
| Timmy = 176
Line 271: Line 282:
 
| Hambo = 265
 
| Hambo = 265
 
| Hector = 266
 
| Hector = 266
| Petunia (cow) = 267
+
| Petunia = 267
 
| Robin = 268
 
| Robin = 268
 
| Wart Jr. = 269
 
| Wart Jr. = 269
Line 319: Line 330:
 
| 036 = Buck
 
| 036 = Buck
 
| 037 = Bluebear
 
| 037 = Bluebear
| 038 = June (villager)
+
| 038 = June
 
| 039 = Cheri
 
| 039 = Cheri
 
| 040 = Apollo
 
| 040 = Apollo
Line 454: 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 548: Line 559:
 
| 265 = Hambo
 
| 265 = Hambo
 
| 266 = Hector
 
| 266 = Hector
| 267 = Petunia (cow)
+
| 267 = Petunia
 
| 268 = Robin
 
| 268 = Robin
 
| 269 = Wart Jr.
 
| 269 = Wart Jr.
Line 875: Line 886:
 
| 036 = Buck
 
| 036 = Buck
 
| 037 = Bluebear
 
| 037 = Bluebear
| 038 = June (villager)
+
| 038 = June
 
| 039 = Cheri
 
| 039 = Cheri
 
| 040 = Apollo
 
| 040 = Apollo
Line 1,010: 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,104: Line 1,115:
 
| 265 = Hambo
 
| 265 = Hambo
 
| 266 = Hector
 
| 266 = Hector
| 267 = Petunia (cow)
+
| 267 = Petunia
 
| 268 = Robin
 
| 268 = Robin
 
| 269 = Wart Jr.
 
| 269 = Wart Jr.
Line 1,397: Line 1,408:
 
{{#vardefine:nextnum| {{#ifeq: {{#expr: ({{{number|{{#var:number|1}}}}} + 1) < 10 }} | 1 | 00{{#expr: {{{number|{{#var:number|1}}}}} + 1}} | {{#ifeq: {{#expr: ({{{number|{{#var:number|1}}}}} + 1) < 100 }} | 1 | 0{{#expr: {{{number|{{#var:number|1}}}}} + 1}} | {{#expr: {{{number|{{#var:number|1}}}}} + 1}}}}}}}}}}
 
{{#vardefine:nextnum| {{#ifeq: {{#expr: ({{{number|{{#var:number|1}}}}} + 1) < 10 }} | 1 | 00{{#expr: {{{number|{{#var:number|1}}}}} + 1}} | {{#ifeq: {{#expr: ({{{number|{{#var:number|1}}}}} + 1) < 100 }} | 1 | 0{{#expr: {{{number|{{#var:number|1}}}}} + 1}} | {{#expr: {{{number|{{#var:number|1}}}}} + 1}}}}}}}}}}
  
<div class="villager-card" style="max-width: 500px; margin: 0 0 5px 0; background: #d5e154; border: 2px solid #d5e154; padding: 3px; text-align:center; {{roundy|15px}};">
+
<div class="villager-card" style="max-width: 500px; margin: 0 0 5px 0; background: #d5e154; border: 2px solid #d5e154; padding: 3px; text-align:center; {{roundy|15px}};"><span id="Animal_Crossing_e-Reader_card" style="padding-top: 88px;"></span>
 
<div class="card-flex-container">
 
<div class="card-flex-container">
 
<div class="card-flex-item card-left" style="padding: 0px 10px;">
 
<div class="card-flex-item card-left" style="padding: 0px 10px;">
Line 1,417: Line 1,428:
 
{{!-}}}}
 
{{!-}}}}
 
{{#if: {{{players|}}}{{{sign|}}} | {{!}} style{{=}}"width:70px; background: #eaf76d; padding: 3px 3px 3px 15px; text-align:right;" {{!}} '''{{#if: {{{players|}}} | Players: | Sign:}}'''
 
{{#if: {{{players|}}}{{{sign|}}} | {{!}} style{{=}}"width:70px; background: #eaf76d; padding: 3px 3px 3px 15px; text-align:right;" {{!}} '''{{#if: {{{players|}}} | Players: | Sign:}}'''
{{!}} style{{=}}"background: #fff; padding: 0 0 0 9px;" align{{=}}"left" {{!}} {{#if: {{{players|}}} | {{{players|}}} | [[Star sign|{{{sign|}}}]]{{#if: {{{sign-note|}}} | {{Note|{{{sign-note|}}}}} }}}}
+
{{!}} style{{=}}"background: #fff; padding: 0 0 0 9px;" align{{=}}"left" {{!}} {{#if: {{{players|}}} | {{{players|}}} | [[{{{sign|}}}]]{{#if: {{{sign-note|}}} | {{Note|{{{sign-note|}}}}} }}}}
 
{{!-}}}}
 
{{!-}}}}
 
{{#if: {{{game|}}}{{{clothes|}}} | {{!}} style{{=}}"width:70px; background: #eaf76d; padding: 3px 3px 3px 15px; text-align:right;"{{!}} '''{{#if: {{{game|}}} | Game: | Clothes: }}'''
 
{{#if: {{{game|}}}{{{clothes|}}} | {{!}} style{{=}}"width:70px; background: #eaf76d; padding: 3px 3px 3px 15px; text-align:right;"{{!}} '''{{#if: {{{game|}}} | Game: | Clothes: }}'''
Line 1,423: Line 1,434:
 
{{!-}}}}
 
{{!-}}}}
 
{{#if: {{{charcards|}}}{{{phrase|}}} | {{!}} style{{=}}"width:70px; background: #eaf76d; padding: 3px 3px 3px 15px; text-align:right;" {{!}} '''{{#if: {{{charcards|}}} | Char. cards: | Petphrase:}}'''
 
{{#if: {{{charcards|}}}{{{phrase|}}} | {{!}} style{{=}}"width:70px; background: #eaf76d; padding: 3px 3px 3px 15px; text-align:right;" {{!}} '''{{#if: {{{charcards|}}} | Char. cards: | Petphrase:}}'''
{{!}} style{{=}}"background: #fff; padding: 0 0 0 9px;" align{{=}}"left" {{!}} {{#if: {{{charcards|}}} | {{{charcards|}}} | {{{phrase|}}}}}
+
{{!}} style{{=}}"background: #fff; padding: 0 0 0 9px;" align{{=}}"left" {{!}} {{#if: {{{charcards|}}} | {{{charcards|}}} | {{{phrase|}}}{{#if: {{{phrase-note|}}} | {{Note|{{{phrase-note|}}}}} }}}}
 
{{!-}}}}
 
{{!-}}}}
 
{{#if: {{{description|}}} | {{!}} style{{=}}"width:70px; background: #eaf76d; padding: 3px 3px 3px 15px; text-align:right;" {{!}} '''{{#if: {{{p2line1|}}} | Dialog: | {{#if: {{{game|}}} | {{#if: {{{players|}}} | Instr.: | Dialog: }} | Profile: }}}}'''
 
{{#if: {{{description|}}} | {{!}} style{{=}}"width:70px; background: #eaf76d; padding: 3px 3px 3px 15px; text-align:right;" {{!}} '''{{#if: {{{p2line1|}}} | Dialog: | {{#if: {{{game|}}} | {{#if: {{{players|}}} | Instr.: | Dialog: }} | Profile: }}}}'''
Line 1,448: 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) | June = June (villager) | Lulu = {{#ifeq: {{{prevnum|}}} | 054 | Lulu (islander) | Lulu (villager)}} | Petunia = {{#ifeq: {{{prevnum|}}} | 060 | Petunia (rhino) | Petunia (cow)}} | Snooty = Snooty (villager) | {{{prevcard|e-Reader card}}}}} | {{#var:prevname|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}};"
| [[File:{{{prevtype|{{#var:prevtype|Unknown}}}}}SpeciesIconSilhouette.png|32px|link={{#if: {{{prevcard|}}} | {{#switch: {{ucfirst:{{{prevcard|}}}}} | Carmen = Carmen (mouse) | June = June (villager) | Lulu = {{#ifeq: {{{prevnum|}}} | 054 | Lulu (islander) | Lulu (villager)}} | Petunia = {{#ifeq: {{{prevnum|}}} | 060 | Petunia (rhino) | Petunia (cow)}} | Snooty = Snooty (villager) | {{{prevcard|e-Reader card}}}}} | {{#var:prevname|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) | June = June (villager) | Lulu = {{#ifeq: {{{prevnum|}}} | 054 | Lulu (islander) | Lulu (villager)}} | Petunia = {{#ifeq: {{{prevnum|}}} | 060 | Petunia (rhino) | Petunia (cow)}} | Snooty = Snooty (villager) | {{{prevcard|e-Reader card}}}}} | {{#var:prevname|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) | June = June (villager) | Lulu = {{#ifeq: {{{nextnum|}}} | 054 | Lulu (islander) | Lulu (villager)}} | Petunia = {{#ifeq: {{{nextnum|}}} | 060 | Petunia (rhino) | Petunia (cow)}} | Snooty = Snooty (villager) | {{{nextcard|e-Reader card}}}}} | {{#var:nextname|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}};"
| [[File:{{{nexttype|{{#var:nexttype|Unknown}}}}}SpeciesIconSilhouette.png|32px|link={{#if: {{{nextcard|}}} | {{#switch: {{ucfirst:{{{nextcard|}}}}} | Carmen = Carmen (mouse) | June = June (villager) | Lulu = {{#ifeq: {{{nextnum|}}} | 054 | Lulu (islander) | Lulu (villager)}} | Petunia = {{#ifeq: {{{nextnum|}}} | 060 | Petunia (rhino) | Petunia (cow)}} | Snooty = Snooty (villager) | {{{nextcard|e-Reader card}}}}}  | {{#var:nextname|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]]
 
|}
 
|}
| width=3% style="padding:0 12px 0 0; text-align:right;" | [[{{#if: {{{nextcard|}}} | {{#switch: {{ucfirst:{{{nextcard|}}}}} | Carmen = Carmen (mouse) | June = June (villager) | Lulu = {{#ifeq: {{{nextnum|}}} | 054 | Lulu (islander) | Lulu (villager)}} | Petunia = {{#ifeq: {{{nextnum|}}} | 060 | Petunia (rhino) | Petunia (cow)}} | Snooty = Snooty (villager) | {{{nextcard|e-Reader card}}}}} | {{#var:nextname|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,466: Line 1,477:
 
_table=e_card
 
_table=e_card
 
|villager = {{{name|}}}
 
|villager = {{{name|}}}
 +
|villager_jp =
 +
|game = Animal Crossing
 +
|series = {{{series|}}}
 
|number = {{{number|{{#var:number}}}}}
 
|number = {{{number|{{#var:number}}}}}
 
|image_front = {{{front| {{#if: {{#var:number}} | Animal Crossing-e {{#ifeq: {{#expr: {{{number|{{#var:number}}}}} < 61}} | 1 | 1 | {{#ifeq: {{#expr: {{{number|{{#var:number}}}}} < 119}} | 1 | 2 | {{#ifeq: {{#expr: {{{number|{{#var:number}}}}} < 198}} | 1 | 3 | {{#ifeq: {{#expr: {{{number|{{#var:number}}}}} < 276}} | 1 | 4}}}}}}}} | nia.png}}}}}{{#if: {{{front|}}} | | {{#if: {{#var:number}} |-{{{number|{{#var:number}}}}} ({{PAGENAME}}).jpg}}}}
 
|image_front = {{{front| {{#if: {{#var:number}} | Animal Crossing-e {{#ifeq: {{#expr: {{{number|{{#var:number}}}}} < 61}} | 1 | 1 | {{#ifeq: {{#expr: {{{number|{{#var:number}}}}} < 119}} | 1 | 2 | {{#ifeq: {{#expr: {{{number|{{#var:number}}}}} < 198}} | 1 | 3 | {{#ifeq: {{#expr: {{{number|{{#var:number}}}}} < 276}} | 1 | 4}}}}}}}} | nia.png}}}}}{{#if: {{{front|}}} | | {{#if: {{#var:number}} |-{{{number|{{#var:number}}}}} ({{PAGENAME}}).jpg}}}}
Line 1,472: Line 1,486:
 
|species = {{{species|}}}
 
|species = {{{species|}}}
 
|sign = {{{sign|}}}
 
|sign = {{{sign|}}}
 +
|sign_jp =
 
|clothes = {{{clothes|}}}
 
|clothes = {{{clothes|}}}
 +
|clothes_jp =
 +
|clothes_jp_t =
 
|phrase = {{{phrase|}}}
 
|phrase = {{{phrase|}}}
 +
|phrase_jp =
 
|description = {{{description|}}}
 
|description = {{{description|}}}
 +
|description_jp =
 +
|favorite_saying_jp =
 +
|favorite_saying_jp_t =
 
|password_line1 = {{{p1line1|}}}
 
|password_line1 = {{{p1line1|}}}
 
|password_line2 = {{{p1line2|}}}
 
|password_line2 = {{{p1line2|}}}
Line 1,482: 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)
 
 
| phrase = (villager's initial catchphrase)
 
| phrase = (villager's initial catchphrase)
 +
| phrase-note = (if applicable, denote any typos for the catchphrase (like Cyrano, Marcy, and Pigleg's))
 
| game = (name of game)
 
| game = (name of game)
 
| 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,513: Line 1,536:
 
| height=35px | {{Colorshow|333|'''For help with this template, leave a message on [[User:Sunmarsh|sunmarsh]]'s [[User_talk:Sunmarsh|{{Colorshow|a7b31f|talk page}}]].'''}}
 
| height=35px | {{Colorshow|333|'''For help with this template, leave a message on [[User:Sunmarsh|sunmarsh]]'s [[User_talk:Sunmarsh|{{Colorshow|a7b31f|talk page}}]].'''}}
 
|}
 
|}
 +
 
==Notes==
 
==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.
 
*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.
Line 1,533: 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>'''
Line 1,554: Line 1,578:
 
*The '''<tt>image</tt>''' parameter was replaced with '''<tt>front</tt>''' but will still work on pages using the previous version of the template.
 
*The '''<tt>image</tt>''' parameter was replaced with '''<tt>front</tt>''' but will still work on pages using the previous version of the template.
 
*The e-card portion of [https://nookipedia.com/w/index.php?title=Template:Villager_Header&oldid=69834 Template:Villager Header] was incorporated into the bottom of the template to allow for navigation to other pages containing the template.
 
*The e-card portion of [https://nookipedia.com/w/index.php?title=Template:Villager_Header&oldid=69834 Template:Villager Header] was incorporated into the bottom of the template to allow for navigation to other pages containing the template.
 +
[[Category:Pages using the Variables extension]]
 
</noinclude>
 
</noinclude>

Latest revision as of 06:35, March 5, 2023

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, Marcy, 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.