Difference between revisions of "Template:Villager Info Box"

From Nookipedia, the Animal Crossing wiki
m
m (Protected "Template:Villager Info Box": High traffic template ([Edit=Allow only administrators] (indefinite) [Move=Allow only administrators] (indefinite)))
 
(4 intermediate revisions by 2 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%;" |
 
|-
 
|-
! width=40% style="background: #{{{secondarycolor|C8E2ED}}}; {{roundytl|9px}}; text-align:center;" | {{{label}}}
+
! 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 48: Line 48:
 
! 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 69: Line 72:
 
{{!-}}
 
{{!-}}
 
! colspan="3" style="background: #{{{secondarycolor|C8E2ED}}}; text-align:center;" {{!}} {{{labelbetween11-12}}}}}
 
! colspan="3" style="background: #{{{secondarycolor|C8E2ED}}}; text-align:center;" {{!}} {{{labelbetween11-12}}}}}
|- {{#if:{{{label13|}}}|
 
 
{{!-}}
 
{{!-}}
 
|- {{#if:{{{label12|}}}|
 
|- {{#if:{{{label12|}}}|
Line 120: Line 122:
 
! 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 03:48, May 10, 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        = 
}}