Difference between revisions of "Template:E-card"
From Nookipedia, the Animal Crossing wiki
SuperHamster (talk | contribs) (Reduce roundiness) |
HylianAngel (talk | contribs) m (Marcy card typo note.) |
||
(46 intermediate revisions by 5 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 | + | | June = 038 |
| Cheri = 039 | | Cheri = 039 | ||
| Apollo = 040 | | Apollo = 040 | ||
Line 125: | Line 136: | ||
| Buzz = 114 | | Buzz = 114 | ||
| Roald = 115 | | Roald = 115 | ||
− | | Aurora | + | | Aurora = 116 |
| Olive = 117 | | Olive = 117 | ||
| Franklin = 118 | | Franklin = 118 | ||
Line 181: | Line 192: | ||
| Hopper = 171 | | Hopper = 171 | ||
| Ursala = 172 | | Ursala = 172 | ||
− | | Lulu | + | | Lulu = 173 |
| Pango = 174 | | Pango = 174 | ||
| Timmy = 176 | | Timmy = 176 | ||
Line 271: | Line 282: | ||
| Hambo = 265 | | Hambo = 265 | ||
| Hector = 266 | | Hector = 266 | ||
− | | Petunia | + | | 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 | + | | 038 = June |
| 039 = Cheri | | 039 = Cheri | ||
| 040 = Apollo | | 040 = Apollo | ||
Line 397: | Line 408: | ||
| 114 = Buzz | | 114 = Buzz | ||
| 115 = Roald | | 115 = Roald | ||
− | | 116 = Aurora | + | | 116 = Aurora |
| 117 = Olive | | 117 = Olive | ||
| 118 = Franklin | | 118 = Franklin | ||
Line 454: | Line 465: | ||
| 171 = Hopper | | 171 = Hopper | ||
| 172 = Ursala | | 172 = Ursala | ||
− | | 173 = Lulu | + | | 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 | + | | 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 | + | | 038 = June |
| 039 = Cheri | | 039 = Cheri | ||
| 040 = Apollo | | 040 = Apollo | ||
Line 953: | Line 964: | ||
| 114 = Buzz | | 114 = Buzz | ||
| 115 = Roald | | 115 = Roald | ||
− | | 116 = Aurora | + | | 116 = Aurora |
| 117 = Olive | | 117 = Olive | ||
| 118 = Franklin | | 118 = Franklin | ||
Line 1,010: | Line 1,021: | ||
| 171 = Hopper | | 171 = Hopper | ||
| 172 = Ursala | | 172 = Ursala | ||
− | | 173 = Lulu | + | | 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 | + | | 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 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,404: | Line 1,415: | ||
'''Card back''' | '''Card back''' | ||
<div class="mw-collapsible-content"> | <div class="mw-collapsible-content"> | ||
− | [[File:<includeonly>{{{back | 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}}}}}}}}}}}{{#if: {{{back|}}} || -{{{number|{{#var:number}}}}} ({{PAGENAME}} - Back).jpg{{!}}167px}}</includeonly>{{#if: {{{back|{{#var:number}}}}} || nia.png{{!}}167px}}]] {{#if: {{{back|{{#var:number}}}}} || [[Special:Upload|{{Colorshow|333|<small>Have one to add?</small>}}]]}} | + | [[File:<includeonly>{{{back | 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}}}}}}}}}}}{{#if: {{{back|}}} | {{!}}167px | -{{{number|{{#var:number}}}}} ({{PAGENAME}} - Back).jpg{{!}}167px}}</includeonly>{{#if: {{{back|{{#var:number}}}}} || nia.png{{!}}167px}}]] {{#if: {{{back|{{#var:number}}}}} || [[Special:Upload|{{Colorshow|333|<small>Have one to add?</small>}}]]}} |
</div> | </div> | ||
</div> | </div> | ||
Line 1,411: | Line 1,422: | ||
<div class="card-flex-item card-right"> | <div class="card-flex-item card-right"> | ||
{| width=100% style="background: #eaf76d; padding: 3px; {{roundy|9px}};" | {| width=100% style="background: #eaf76d; padding: 3px; {{roundy|9px}};" | ||
− | | colspan=2 style="border-bottom: 1px solid #d5e154;" | '''#{{{number|{{#var:number}}}}} {{{name|{{PAGENAME}}}}}''' - [[e-Reader card{{#ifeq: {{#expr: {{{number|{{#var:number}}}}} < 61}} | 1 | / | + | | colspan=2 style="border-bottom: 1px solid #d5e154;" | '''#{{{number|{{#var:number}}}}} {{{name|{{PAGENAME}}}}}''' - [[e-Reader card{{#ifeq: {{#expr: {{{number|{{#var:number}}}}} < 61}} | 1 | /Series_1_(Animal_Crossing){{!}}{{colorshow|000|Series 1}}]] | {{#ifeq: {{#expr: {{{number|{{#var:number}}}}} < 119}} | 1 | /Series_2_(Animal_Crossing){{!}}{{colorshow|000|Series 2}}]] | {{#ifeq: {{#expr: {{{number|{{#var:number}}}}} < 198}} | 1 | /Series_3_(Animal_Crossing){{!}}{{colorshow|000|Series 3}}]] | {{#ifeq: {{#expr: {{{number|{{#var:number}}}}} < 276}} | 1 | /Series_4_(Animal_Crossing){{!}}{{colorshow|000|Series 4}}]] | {{!}}{{colorshow|000|Series ???}}]]}}}}}}}} |
|- | |- | ||
{{#if: {{{design|}}}{{{song|}}}{{{gender|}}} | {{!}} style{{=}}"width:70px; background: #eaf76d; padding: 3px 3px 3px 15px; text-align:right;"{{!}}'''{{#if: {{{design|}}} | Design: | {{#if: {{{song|}}} | Song: | Gender: }}}}''' | {{#if: {{{design|}}}{{{song|}}}{{{gender|}}} | {{!}} style{{=}}"width:70px; background: #eaf76d; padding: 3px 3px 3px 15px; text-align:right;"{{!}}'''{{#if: {{{design|}}} | Design: | {{#if: {{{song|}}} | Song: | Gender: }}}}''' | ||
{{!}} style{{=}}"background: #ffffff; padding: 0 0 0 9px; {{roundytop|12px}};" align{{=}}"left"{{!}} {{#if: {{{design|}}} | {{{design|}}} | {{#if: {{{song|}}} | {{{song|}}} | {{{gender|}}}}}}} | {{!}} style{{=}}"background: #ffffff; padding: 0 0 0 9px; {{roundytop|12px}};" align{{=}}"left"{{!}} {{#if: {{{design|}}} | {{{design|}}} | {{#if: {{{song|}}} | {{{song|}}} | {{{gender|}}}}}}} | ||
+ | {{!-}}}} | ||
+ | {{#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|}}} | [[{{{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: }}''' | ||
− | {{!}} style{{=}}"background: #fff; padding: 0 0 0 9px; {{#if: {{{game|}}} | {{roundytop|12px}}; |}}" align{{=}}"left" {{!}} {{#if: {{{game|}}} | {{{game|}}} | {{{clothes|}}}}} | + | {{!}} style{{=}}"background: #fff; padding: 0 0 0 9px; {{#if: {{{game|}}} | {{roundytop|12px}}; |}}" align{{=}}"left" {{!}} {{#if: {{{game|}}} | {{{game|}}} | [[Item:{{#if: {{{clothes-i|}}} | {{{clothes-i}}} | {{{clothes|}}} }} (Animal Crossing)| {{{clothes|}}}]]}} |
{{!-}}}} | {{!-}}}} | ||
− | {{#if: {{{ | + | {{#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: {{{ | + | {{!}} style{{=}}"background: #fff; padding: 0 0 0 9px;" align{{=}}"left" {{!}} {{#if: {{{charcards|}}} | {{{charcards|}}} | {{{phrase|}}}{{#if: {{{phrase-note|}}} | {{Note|{{{phrase-note|}}}}} }}}} |
{{!-}}}} | {{!-}}}} | ||
− | {{#if: {{{ | + | {{#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: }}}}''' |
− | {{!}} style{{=}}"background: #fff; padding: 0 0 0 9px;" align{{=}}"left" {{!}} {{ | + | {{!}} style{{=}}"background: #fff; padding: 0 0 0 9px;" align{{=}}"left" {{!}} <small>''{{{description|Please enter a profile description.<br>[{{fullurl:{{FULLPAGENAME}}|action=edit}} Click here] to add one.}}}''</small> |
{{!-}}}} | {{!-}}}} | ||
{{#if: {{{password|}}}{{{p1line1|}}} | {{!}} style{{=}}"width:70px; background: #eaf76d; padding: 3px 3px 3px 15px; text-align:right;" {{!}} '''Password:''' | {{#if: {{{password|}}}{{{p1line1|}}} | {{!}} style{{=}}"width:70px; background: #eaf76d; padding: 3px 3px 3px 15px; text-align:right;" {{!}} '''Password:''' | ||
Line 1,439: | Line 1,453: | ||
{{#if: {{{letter|}}} | {{!}} style{{=}}"width:70px; background: #eaf76d; padding: 3px 3px 3px 15px; text-align:right;" {{!}} | {{#if: {{{letter|}}} | {{!}} style{{=}}"width:70px; background: #eaf76d; padding: 3px 3px 3px 15px; text-align:right;" {{!}} | ||
{{!}} style{{=}}"background: #fff; padding: 3px 0 3px 9px; {{#if: {{{letter|}}} ||{{roundybottom|12px}};}}}" align{{=}}"left" {{!}} {{{letter|}}} | {{!}} style{{=}}"background: #fff; padding: 3px 0 3px 9px; {{#if: {{{letter|}}} ||{{roundybottom|12px}};}}}" align{{=}}"left" {{!}} {{{letter|}}} | ||
− | {{! | + | {{!}}}} |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
|} | |} | ||
</div> | </div> | ||
Line 1,452: | 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|}}}}} | + | | 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:# | + | {| style="background:#aab53c; {{roundy|30px}};" |
− | | [[File:{{{prevtype|{{#var:prevtype|Unknown}}}}}SpeciesIconSilhouette.png|32px|link={{#if: {{{prevcard|}}} | {{#switch: {{ucfirst:{{{prevcard|}}}}} | + | | 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|}}}}} | + | | 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|}}}}} | + | | 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:# | + | {| style="background:#aab53c; {{roundy|30px}};" |
− | | [[File:{{{nexttype|{{#var:nexttype|Unknown}}}}}SpeciesIconSilhouette.png|32px|link={{#if: {{{nextcard|}}} | {{#switch: {{ucfirst:{{{nextcard|}}}}} | + | | 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 (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> | ||
− | </div><includeonly>{{#cargo_store: | + | </div><includeonly>{{#ifeq:{{NAMESPACE}}||{{#cargo_store: |
_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,476: | 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|}}} | ||
− | }}{{#if:{{{sub-personality|}}}|[[Category:E-card pages with excess parameters]]|}}</includeonly><noinclude> | + | }}}}{{#if:{{{sub-personality|}}}|[[Category:E-card pages with excess parameters]]|}}</includeonly><noinclude> |
==Usage== | ==Usage== | ||
<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) | ||
− | |||
− | |||
| 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)) |
| 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) | ||
− | |||
| 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,516: | 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,536: | 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>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,557: | 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.
Card back
# E-card - Series ??? |
← |
|
000 Previous | e-Reader card #001 E-card |
002 Next |
|
→ |
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.