Difference between revisions of "Template:NLVillagerInfo"
m |
PanchamBro (talk | contribs) |
||
Line 15: | Line 15: | ||
|sign = String | |sign = String | ||
|catchphrase = String | |catchphrase = String | ||
+ | |catchphrase_note = String | ||
+ | |catchphrase2 = String | ||
+ | |catchphrase2_note = String | ||
|quote = String | |quote = String | ||
|clothing = String | |clothing = String | ||
Line 47: | Line 50: | ||
|sign = {{{sign|{{#cargo_query:table=villager|fields=sign|where=_pageTitle="{{PAGENAME}}"|no html}}}}} | |sign = {{{sign|{{#cargo_query:table=villager|fields=sign|where=_pageTitle="{{PAGENAME}}"|no html}}}}} | ||
|catchphrase = {{{catchphrase|{{#cargo_query:table=villager|fields=phrase|where=_pageTitle="{{PAGENAME}}"|no html}}}}} | |catchphrase = {{{catchphrase|{{#cargo_query:table=villager|fields=phrase|where=_pageTitle="{{PAGENAME}}"|no html}}}}} | ||
+ | |catchphrase_note = {{{catchphrase-note|}}} | ||
+ | |catchphrase2 = {{{catchphrase2|}}} | ||
+ | |catchphrase2_note = {{{catchphrase2-note|}}} | ||
|clothing = {{{clothing|}}} | |clothing = {{{clothing|}}} | ||
|umbrella = {{{umbrella|}}} | |umbrella = {{{umbrella|}}} | ||
Line 78: | Line 84: | ||
|data2 = [[{{{personality|{{#cargo_query:table=villager|fields=personality|where=_pageTitle="{{PAGENAME}}"|no html}}}}}]] | |data2 = [[{{{personality|{{#cargo_query:table=villager|fields=personality|where=_pageTitle="{{PAGENAME}}"|no html}}}}}]] | ||
|label3 = Catchphrase | |label3 = Catchphrase | ||
− | |data3 = {{{catchphrase|{{#cargo_query:table=villager|fields=phrase|where=_pageTitle="{{PAGENAME}}"|no html}}}}} | + | |data3 = {{{catchphrase|{{#cargo_query:table=villager|fields=phrase|where=_pageTitle="{{PAGENAME}}"|no html}}}}} {{#if:{{{catchphrase-note|{{Note|{{{catchphrase-note|}}}}}}{{#if:{{{catchphrase2|}}}|<br>{{{catchphrase2|}}} {{#if:{{{catchphrase2-note|{{Note|{{{catchphrase-note|}}}}}}} |
|label6 = Default clothing | |label6 = Default clothing | ||
|data6 = <!-- [[File:{{{clothing-image|{{{clothing|}}} HHD Icon.png}}}|32px|link=]] {{I|{{{clothing|}}}|New Leaf}} --> [[File:{{{clothing-image|{{{clothing|}}} HHD Icon.png}}}|32px|link=]] {{{clothing|}}} | |data6 = <!-- [[File:{{{clothing-image|{{{clothing|}}} HHD Icon.png}}}|32px|link=]] {{I|{{{clothing|}}}|New Leaf}} --> [[File:{{{clothing-image|{{{clothing|}}} HHD Icon.png}}}|32px|link=]] {{{clothing|}}} |
Revision as of 01:15, March 30, 2021
This template defines the table "nl_villager". View table. {{Villager Info Box |image = No results's Pic NL Texture.png |image2 = No results NLWa Villager Icon.png |caption = ' |imagesize = 128x128px |imagesize2 = 100px |crisp = yes |crisp2 = yes |label = Birthday |data = No results [[File:Starsign No results NH Icon.png|32px|No results|link=Star sign]] |label2 = Personality |data2 = [[No results]] |label3 = Catchphrase
|data3 = No results {{#if:{{{catchphrase-note|Cite error: Invalid <ref>
tag; refs with no name must have content}{{#if:|
label6 = Default clothing
Template documentation (view)
More Cargo templates |
---|
- For query instructions see our Cargo documentation.
Usage
General Example
{{NLVillagerInfo |name = |quote = |species = |gender = |personality = |birthday-month = |birthday = |sign = |catchphrase = |clothing = |umbrella = |leastfavstyle = |leastfavstyle = |favcolor = |siblings = |skill = |goal = |fear = |coffeetype = |milk = |sugar = }}
Maple Example
{{Villager Info Box
|image = No results's Pic NL Texture.png
|image2 = No results NLWa Villager Icon.png
|caption = Waste not, want not.
|imagesize = 128x128px
|imagesize2 = 100px
|crisp = yes
|crisp2 = yes
|label = Birthday
|data = June 15
|label2 = Personality
|data2 = Normal
|label3 = Catchphrase
|data3 = honey {{#if:{{{catchphrase-note|Cite error: Invalid <ref>
tag; refs with no name must have content}{{#if:|
label6 = Default clothing
{{NLVillagerInfo |name = Maple |quote = Waste not, want not. |species = Bear cub |gender = Female |personality = Normal |birthday-month = June |birthday = 15 |sign = Gemini |catchphrase = honey |clothing = dapper tee |umbrella = petal parasol |favstyle = Basic |leastfavstyle = Flashy |favcolor = Yellow |siblings = Eldest of 4 kids |skill = Writing letters |goal = Architect |fear = bug mask |coffeetype = Kilimanjaro |milk = The regular amount |sugar = Two spoonfuls }}