Difference between revisions of "Template:Infobox"

From Nookipedia, the Animal Crossing wiki
(add some tentative documentation)
(add new parameters)
Line 4: Line 4:
 
|-
 
|-
 
| style="background: #ffffff; text-align:center; {{roundy|10px}}" colspan="2" | {{#if:{{{image|}}}|{{{image}}}|Have an image of this boxart?<br>Then please '''[[Special:Upload|upload]]''' it!}}
 
| style="background: #ffffff; text-align:center; {{roundy|10px}}" colspan="2" | {{#if:{{{image|}}}|{{{image}}}|Have an image of this boxart?<br>Then please '''[[Special:Upload|upload]]''' it!}}
 +
<!--
 +
~ WIDE LABEL BEGIN ~
 +
-->
 +
|- {{#if:{{{widedata1|}}}
 +
! colspan=2 width=40% style="background: #{{{secondarycolor|d9d9d9}}}; {{roundytop|9px}}; text-align:center;" | {{{widelabel1}}}
 
|-
 
|-
! width=40% style="background: #{{{secondarycolor|d9d9d9}}}; {{roundytl|9px}}; text-align:center;" | {{{label1}}}
+
| colspan=2 style="background:#ffffff; {{roundybottom|9px}}; padding:0 0 0 6px;" | {{{widedata1|}}}}}
| style="background:#ffffff; {{roundytr|9px}}; padding:0 0 0 6px;" | {{{data1|}}}
+
|- {{#if:{{{widedata2|}}}
 +
! colspan=2 width=40% style="background: #{{{secondarycolor|d9d9d9}}}; {{roundytop|9px}}; text-align:center;" | {{{widelabel2}}}
 +
|-
 +
| colspan=2 style="background:#ffffff; {{roundybottom|9px}}; padding:0 0 0 6px;" | {{{widedata2|}}}}}
 +
|- {{#if:{{{widedata3|}}}
 +
! colspan=2 width=40% style="background: #{{{secondarycolor|d9d9d9}}}; {{roundytop|9px}}; text-align:center;" | {{{widelabel3}}}
 +
|-
 +
| colspan=2 style="background:#ffffff; {{roundybottom|9px}}; padding:0 0 0 6px;" | {{{widedata3|}}}}}
 +
|- {{#if:{{{widedata4|}}}
 +
! colspan=2 width=40% style="background: #{{{secondarycolor|d9d9d9}}}; {{roundytop|9px}}; text-align:center;" | {{{widelabel4}}}
 +
|-
 +
| colspan=2 style="background:#ffffff; {{roundybottom|9px}}; padding:0 0 0 6px;" | {{{widedata4|}}}}}
 +
|- {{#if:{{{widedataend|}}}
 +
! colspan=2 width=40% style="background: #{{{secondarycolor|d9d9d9}}}; {{roundytop|9px}}; text-align:center;" | {{{widelabelend}}}
 +
|-
 +
| colspan=2 style="background:#ffffff; {{roundybottom|9px}}; padding:0 0 0 6px;" | {{{widedataend|}}}}}
 +
<!--
 +
~ STANDARD LABEL BEGIN ~
 +
-->
 +
|-
 +
! width=40% style="background: #{{{secondarycolor|d9d9d9}}}; {{roundytl|9px}}; text-align:center;" | {{{label}}}
 +
| style="background:#ffffff; {{roundytr|9px}}; padding:0 0 0 6px;" | {{{data|}}}
 
|- {{#if:{{{data2|}}}|
 
|- {{#if:{{{data2|}}}|
 
{{!-}}
 
{{!-}}
Line 51: Line 77:
 
! style="background: #{{{secondarycolor|d9d9d9}}}; {{roundybl|9px}} text-align:center;" {{!}} {{{labelend}}}
 
! style="background: #{{{secondarycolor|d9d9d9}}}; {{roundybl|9px}} text-align:center;" {{!}} {{{labelend}}}
 
{{!}} style="background:#ffffff; {{roundybr|9px}} padding:0 0 0 6px;" {{!}} {{{dataend|}}}}}
 
{{!}} style="background:#ffffff; {{roundybr|9px}} padding:0 0 0 6px;" {{!}} {{{dataend|}}}}}
 +
<!--
 +
~ STRATEGYWIKI BEGIN ~
 +
-->
 
{{#if:{{{strategywiki|}}}|
 
{{#if:{{{strategywiki|}}}|
 
{{!-}}
 
{{!-}}
Line 65: Line 94:
 
|title          =  
 
|title          =  
 
|image          = {{{image}}}
 
|image          = {{{image}}}
|label1        =  
+
|widelabel      =
|data1         =  
+
|widedata      =
 +
|widelabel2    =
 +
|widedata2      =
 +
|widelabel3    =
 +
|widedata3      =
 +
|widelabel4    =
 +
|widedata4      =
 +
|widelabelend  =
 +
|widedataend    =
 +
|label         =
 +
|data          =  
 
|label2        =  
 
|label2        =  
 
|data2          =  
 
|data2          =  

Revision as of 13:04, November 6, 2019

Infobox
Have an image of this boxart?
Then please upload it!
{{{label}}}

Usage

{{Infobox
|bordercolor    = 
|primarycolor   = 
|secondarycolor = 
|title          = 
|image          = {{{image}}}
|widelabel      =
|widedata       =
|widelabel2     =
|widedata2      =
|widelabel3     =
|widedata3      =
|widelabel4     =
|widedata4      =
|widelabelend   =
|widedataend    =
|label          = 
|data           = 
|label2         = 
|data2          = 
|label3         = 
|data3          = 
|label4         = 
|data4          = 
|label5         = 
|data5          = 
|label6         = 
|data6          = 
|label7         = 
|data7          = 
|label8         = 
|data8          = 
|label9         = 
|data9          = 
|label10        = 
|data10         = 
|label11        = 
|data11         = 
|labelend       = 
|dataend        = 
|strategywiki   = {{{strategywiki|}}}
}}