Difference between revisions of "Template:Villager Info Box"
From Nookipedia, the Animal Crossing wiki
AlexBot2004 (talk | contribs) (Adding missing "labelbetween8-9") |
HylianAngel (talk | contribs) (Added possibility for title text. If I didn't make any mistakes, nothing should change yet.) |
||
(6 intermediate revisions by 2 users not shown) | |||
Line 14: | Line 14: | ||
<div class="flex-item"> | <div class="flex-item"> | ||
{| style="display: inline-table; width: 100%; height: 100%;" | | {| style="display: inline-table; width: 100%; height: 100%;" | | ||
+ | |- {{#if:{{{title|}}}| | ||
+ | {{!-}} | ||
+ | ! colspan="3" style="background: #{{{secondarycolor|C8E2ED}}}; {{roundytl|9px}}; {{roundytr|10px}}; text-align:center;" {{!}} {{{title}}}}} | ||
|- | |- | ||
− | ! | + | ! style="background: #{{{secondarycolor|C8E2ED}}}; {{#if:{{{title|}}}||{{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}}}; {{#if:{{{title|}}}||{{roundytr|10px}};}}text-align:center;" {{!}} {{{label3}}} |
|- | |- | ||
| style="background:#ffffff; padding:0 0 0 6px; text-align:center;" | {{{data|}}} | | style="background:#ffffff; padding:0 0 0 6px; text-align:center;" | {{{data|}}} | ||
{{!}} style="background:#ffffff; padding:0 0 0 6px; text-align:center;" {{!}} {{{data2|}}} | {{!}} style="background:#ffffff; padding:0 0 0 6px; text-align:center;" {{!}} {{{data2|}}} | ||
{{!}} style="background:#ffffff; padding:0 0 0 6px; text-align:center;" {{!}} {{{data3|}}} | {{!}} style="background:#ffffff; padding:0 0 0 6px; text-align:center;" {{!}} {{{data3|}}} | ||
+ | |- {{#if:{{{labelbetween3-4|}}}| | ||
+ | {{!-}} | ||
+ | ! colspan="3" style="background: #{{{secondarycolor|C8E2ED}}}; text-align:center;" {{!}} {{{labelbetween3-4}}}}} | ||
|- {{#if:{{{label4|}}}| | |- {{#if:{{{label4|}}}| | ||
{{!-}} | {{!-}} | ||
! 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 122: | Line 134: | ||
! style="background: #{{{secondarycolor|C8E2ED}}}; text-align:center;" {{!}} {{{label21}}} | ! style="background: #{{{secondarycolor|C8E2ED}}}; text-align:center;" {{!}} {{{label21}}} | ||
{{!}} colspan="2" style="background:#ffffff; padding:0 0 0 6px;" {{!}} {{{data21|}}}}} | {{!}} 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|}}}| | ||
{{!-}} | {{!-}} |
Latest revision as of 22:11, July 22, 2023
{{{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 = }}