Difference between revisions of "Template:UB Bday Shared"
From Nookipedia, the Animal Crossing wiki
m |
(If a value for {{{1|}}} includes link markup, the template will remove it before attempting to display the image, thus correcting an issue where the template would display Blanca's face instead of the proper villager.) |
||
Line 1: | Line 1: | ||
− | {{Userbox | + | {{#vardefine:villager|{{#ifeq:{{#sub:{{{1|qwe}}}|0|2}}|<nowiki>[[</nowiki>|{{#replace:{{#explode:{{{1|qwe}}}|<nowiki>[[</nowiki>|1}}|<nowiki>]]</nowiki>|}}|{{{1|qwe}}}}}}}{{Userbox |
− | |id = {{{file|{{#ifexist: File:{{ | + | |id = {{{file|{{#ifexist: File:{{#var:villager}} NH Villager Icon.png|[[File:{{#var:villager}} NH Villager Icon.png{{!}}{{{size|35px}}}]]|{{#ifexist: File:{{#var:villager}} aF Character Icon.png|[[File:{{#var:villager}} aF Character Icon.png{{!}}{{{size|40px}}}]]|{{#ifexist: File:{{#var:villager}} PC icon.png|[[File:{{#var:villager}} PC icon.png{{!}}{{{size|40px}}}]]|{{#ifexist: File:{{#var:villager}} NLWa Villager Icon.png|[[File:{{#var:villager}} NLWa Villager Icon.png{{!}}{{{size|35px}}}]]|{{#ifexist: File:{{#var:villager}} NL.png|[[File:{{#var:villager}} NL.png{{!}}{{{size|35px}}}]]|{{#ifexist: File:{{#var:villager}} CF.png|[[File:{{#var:villager}} CF.png{{!}}{{{size|35px}}}]]|{{#ifexist: File:{{#var:villager}}} WW.png|[[File:{{#var:villager}} WW.png{{!}}{{{size|35px}}}]]|{{#ifexist: File:{{#var:villager}} DnMe+.png|[[File:{{#var:villager}} DnMe+.png{{!}}{{{size|35px}}}]]|{{#ifexist: File:{{#var:villager}} PG.png|[[File:{{#var:villager}} PG.png{{!}}{{{size|35px}}}]]|[[File:Blanca NH Character Icon.png{{!}}32px]]}}}}}}}}}}}}}}}}}}}}}<includeonly>{{#if:{{{4|}}}|[[Category:Invalid UB Bday Shared parameter]]|}}</includeonly> |
|id-c = #000080 | |id-c = #000080 | ||
|id-s = 10 | |id-s = 10 |
Revision as of 00:00, December 11, 2021
Usage
Base
{{UB Bday Shared|<Villager>|<Personality>|<Species>}}
This userbox may be set to name a villager and your birthday. Replace <Villager> in the above code with the name of a villager that shares your birthday. <Species> and <Personality> may be left empty if desired.
Customization
The species and personality of the villager may also be added to the userbox:
{{UB Bday Shared|<Villager>|<Personality>|<Species>}}
Replace <Species> with the villager's species, and <Personality> with their personality. This information can be found on their wiki page.
Examples
{{UB Bday Shared|Friga||}} |
{{UB Bday Shared|Dora||mouse}} |
{{UB Bday Shared|Cousteau|jock|frog}} |