Difference between revisions of "Template:Villager Info Box"
From Nookipedia, the Animal Crossing wiki
PanchamBro (talk | contribs) |
HylianAngel (talk | contribs) (Label between 4 and 5.) |
||
(8 intermediate revisions by 3 users not shown) | |||
Line 7: | Line 7: | ||
<div style="display: table; height: 100%; width: 100%;"> | <div style="display: table; height: 100%; width: 100%;"> | ||
<div style="display: table-cell; vertical-align: middle;"> | <div style="display: table-cell; vertical-align: middle;"> | ||
− | {{#if:{{{image|}}}|[[File:{{{image}}}|{{{imagesize|128x128px}}}|{{SUBPAGENAME}}{{#if:{{{crisp|}}}|{{!}}class=sprite}}]]|Have an image of the villager?<br>Then please '''[[Special:Upload|upload]]''' it!}}{{#if:{{{caption|}}}|<br>{{{caption}}}}}<br>{{#if:{{{image2|}}}|<br>[[File:{{{image2}}}|{{{imagesize2|128px}}}|{{SUBPAGENAME}}{{#if:{{{crisp2|}}}|{{!}}class=sprite}}]]|}} | + | {{#if:{{{image|}}}|[[File:{{{image}}}|{{{imagesize|128x128px}}}|{{SUBPAGENAME}}{{#if:{{{crisp|}}}|{{!}}class=sprite}}]]|Have an image of the villager?<br>Then please '''[[Special:Upload|upload]]''' it!}}{{#if:{{{caption|}}}|<br>{{{caption}}}}}<br>{{#if:{{{image2|}}}|<br>[[File:{{{image2}}}|{{{imagesize2|128px}}}|{{SUBPAGENAME}}{{#if:{{{crisp2|}}}|{{!}}class=sprite}}]]|}}<br>{{#if:{{{image3|}}}|<br>[[File:{{{image3}}}|{{{imagesize3|128px}}}|{{SUBPAGENAME}}{{#if:{{{crisp3|}}}|{{!}}class=sprite}}]]|}} |
</div> | </div> | ||
</div> | </div> | ||
Line 15: | Line 15: | ||
{| style="display: inline-table; width: 100%; height: 100%;" | | {| style="display: inline-table; width: 100%; height: 100%;" | | ||
|- | |- | ||
− | ! | + | ! style="background: #{{{secondarycolor|C8E2ED}}}; {{roundytl|9px}}; text-align:center; width:40%" | {{{label}}} |
! style="background: #{{{secondarycolor|C8E2ED}}}; text-align:center;" {{!}} {{{label2}}} | ! style="background: #{{{secondarycolor|C8E2ED}}}; text-align:center;" {{!}} {{{label2}}} | ||
! style="background: #{{{secondarycolor|C8E2ED}}}; {{roundytr|10px}}; text-align:center;" {{!}} {{{label3}}} | ! style="background: #{{{secondarycolor|C8E2ED}}}; {{roundytr|10px}}; text-align:center;" {{!}} {{{label3}}} | ||
Line 26: | Line 26: | ||
! style="background: #{{{secondarycolor|C8E2ED}}}; text-align:center;" {{!}} {{{label4}}} | ! style="background: #{{{secondarycolor|C8E2ED}}}; text-align:center;" {{!}} {{{label4}}} | ||
{{!}} colspan="2" style="background:#ffffff; padding:0 0 0 6px;" {{!}} {{{data4|}}}}} | {{!}} colspan="2" style="background:#ffffff; padding:0 0 0 6px;" {{!}} {{{data4|}}}}} | ||
+ | |- {{#if:{{{labelbetween4-5|}}}| | ||
+ | {{!-}} | ||
+ | ! colspan="3" style="background: #{{{secondarycolor|C8E2ED}}}; text-align:center;" {{!}} {{{labelbetween4-5}}}}} | ||
|- {{#if:{{{label5|}}}| | |- {{#if:{{{label5|}}}| | ||
{{!-}} | {{!-}} | ||
! style="background: #{{{secondarycolor|C8E2ED}}}; text-align:center;" {{!}} {{{label5}}} | ! style="background: #{{{secondarycolor|C8E2ED}}}; text-align:center;" {{!}} {{{label5}}} | ||
{{!}} colspan="2" style="background:#ffffff; padding:0 0 0 6px;" {{!}} {{{data5|}}}}} | {{!}} colspan="2" style="background:#ffffff; padding:0 0 0 6px;" {{!}} {{{data5|}}}}} | ||
+ | |- {{#if:{{{labelbetween5-6|}}}| | ||
+ | {{!-}} | ||
+ | ! colspan="3" style="background: #{{{secondarycolor|C8E2ED}}}; text-align:center;" {{!}} {{{labelbetween5-6}}}}} | ||
|- {{#if:{{{label6|}}}| | |- {{#if:{{{label6|}}}| | ||
{{!-}} | {{!-}} | ||
Line 48: | Line 54: | ||
! style="background: #{{{secondarycolor|C8E2ED}}}; text-align:center;" {{!}} {{{label8}}} | ! style="background: #{{{secondarycolor|C8E2ED}}}; text-align:center;" {{!}} {{{label8}}} | ||
{{!}} colspan="2" style="background:#ffffff; padding:0 0 0 6px;" {{!}} {{{data8|}}}}} | {{!}} colspan="2" style="background:#ffffff; padding:0 0 0 6px;" {{!}} {{{data8|}}}}} | ||
+ | |- {{#if:{{{labelbetween8-9|}}}| | ||
+ | {{!-}} | ||
+ | ! colspan="3" style="background: #{{{secondarycolor|C8E2ED}}}; text-align:center;" {{!}} {{{labelbetween8-9}}}}} | ||
|- {{#if:{{{label9|}}}| | |- {{#if:{{{label9|}}}| | ||
{{!-}} | {{!-}} | ||
Line 66: | Line 75: | ||
! style="background: #{{{secondarycolor|C8E2ED}}}; text-align:center;" {{!}} {{{label11}}} | ! style="background: #{{{secondarycolor|C8E2ED}}}; text-align:center;" {{!}} {{{label11}}} | ||
{{!}} colspan="2" style="background:#ffffff; padding:0 0 0 6px;" {{!}} {{{data11|}}}}} | {{!}} colspan="2" style="background:#ffffff; padding:0 0 0 6px;" {{!}} {{{data11|}}}}} | ||
+ | |- {{#if:{{{labelbetween11-12|}}}| | ||
+ | {{!-}} | ||
+ | ! colspan="3" style="background: #{{{secondarycolor|C8E2ED}}}; text-align:center;" {{!}} {{{labelbetween11-12}}}}} | ||
+ | {{!-}} | ||
|- {{#if:{{{label12|}}}| | |- {{#if:{{{label12|}}}| | ||
{{!-}} | {{!-}} | ||
Line 111: | Line 124: | ||
! style="background: #{{{secondarycolor|C8E2ED}}}; text-align:center;" {{!}} {{{label20}}} | ! style="background: #{{{secondarycolor|C8E2ED}}}; text-align:center;" {{!}} {{{label20}}} | ||
{{!}} colspan="2" style="background:#ffffff; padding:0 0 0 6px;" {{!}} {{{data20|}}}}} | {{!}} colspan="2" style="background:#ffffff; padding:0 0 0 6px;" {{!}} {{{data20|}}}}} | ||
+ | |- {{#if:{{{label21|}}}| | ||
+ | {{!-}} | ||
+ | ! style="background: #{{{secondarycolor|C8E2ED}}}; text-align:center;" {{!}} {{{label21}}} | ||
+ | {{!}} colspan="2" style="background:#ffffff; padding:0 0 0 6px;" {{!}} {{{data21|}}}}} | ||
+ | |- {{#if:{{{label22|}}}| | ||
+ | {{!-}} | ||
+ | ! style="background: #{{{secondarycolor|C8E2ED}}}; text-align:center;" {{!}} {{{label22}}} | ||
+ | {{!}} colspan="2" style="background:#ffffff; padding:0 0 0 6px;" {{!}} {{{data22|}}}}} | ||
+ | |- {{#if:{{{label23|}}}| | ||
+ | {{!-}} | ||
+ | ! style="background: #{{{secondarycolor|C8E2ED}}}; text-align:center;" {{!}} {{{label23}}} | ||
+ | {{!}} colspan="2" style="background:#ffffff; padding:0 0 0 6px;" {{!}} {{{data23|}}}}} | ||
+ | |- {{#if:{{{label24|}}}| | ||
+ | {{!-}} | ||
+ | ! style="background: #{{{secondarycolor|C8E2ED}}}; text-align:center;" {{!}} {{{label24}}} | ||
+ | {{!}} colspan="2" style="background:#ffffff; padding:0 0 0 6px;" {{!}} {{{data24|}}}}} | ||
|- {{#if:{{{labelend|}}}| | |- {{#if:{{{labelend|}}}| | ||
{{!-}} | {{!-}} |
Revision as of 21:53, December 31, 2022
{{{label}}} | {{{label2}}} | {{{label3}}} |
---|---|---|
Usage
{{Infobox |bordercolor = |primarycolor = |secondarycolor = |title = |image = |caption = |image2 = |caption2 = |label = |data = |label2 = |data2 = |label3 = |data3 = |label4 = |data4 = |label5 = |data5 = |label6 = |data6 = |label7 = |data7 = |label8 = |data8 = |label9 = |data9 = |label10 = |data10 = |label11 = |data11 = |labelend = |dataend = }}