Difference between revisions of "Template:Infobox"

From Nookipedia, the Animal Crossing wiki
(even more parameters)
(some fixes)
Line 2: Line 2:
 
|-
 
|-
 
! colspan="2" | <big><big>{{{title|{{PAGENAME}}}}}</big></big>
 
! colspan="2" | <big><big>{{{title|{{PAGENAME}}}}}</big></big>
|- {{#if:{{{subtitleabove|}}}|
+
|- {{#if: {{{subtitleabove|}}}|
 
{{!-}} align="center"
 
{{!-}} align="center"
{{!}} style="background: #{{{secondarycolor|d9d9d9}}}; {{roundy|10px}}" colspan="2" {{!}} ''<small>"{{{subtitle}}}"</small>''}}
+
{{!}} style="background: #{{{secondarycolor|d9d9d9}}}; {{roundy|10px}}" colspan="2" {{!}} ''<small>"{{{subtitle}}}"</small>''|}}
 
|-
 
|-
 
| style="background: #ffffff; text-align:center; {{roundy|9px}}" colspan="2" | {{#if:{{{image|}}}|{{{image}}}|Have an image of this boxart?<br>Then please '''[[Special:Upload|upload]]''' it!}}{{#if:{{{caption|}}}|<br>{{{caption}}}}}
 
| style="background: #ffffff; text-align:center; {{roundy|9px}}" colspan="2" | {{#if:{{{image|}}}|{{{image}}}|Have an image of this boxart?<br>Then please '''[[Special:Upload|upload]]''' it!}}{{#if:{{{caption|}}}|<br>{{{caption}}}}}
<!--
+
|- {{#if: {{{subtitlebelow|}}}|
~ SUBTITLEBELOW BEGIN ~
+
{{!-}} align="center"
-->
+
{{!}} colspan="2" style="background: #{{{primarycolor|b3b3b3}}};" {{!}} <div style="background: #FFFFFF; {{roundy|10px}}; width:90%;">{{{subtitlebelow|}}}</div>|}}
|- align="center"
 
| colspan="2" style="background: #{{{primarycolor|b3b3b3}}};|<div style="background: #FFFFFF; {{roundy|10px}}; width:90%;">{{{subtitlebelow|}}}</div>
 
 
<!--
 
<!--
 
  ~ WIDE LABEL BEGIN ~  
 
  ~ WIDE LABEL BEGIN ~  
 
-->
 
-->
 
|- {{#if:{{{widedata|}}}|
 
|- {{#if:{{{widedata|}}}|
! colspan=2 width=40% style="background: #{{{secondarycolor|d9d9d9}}}; {{roundytop|9px}}; text-align:center;" | {{{widelabel}}}
 
 
{{!-}}
 
{{!-}}
| colspan=2 style="background:#ffffff; {{roundybottom|9px}}; padding:0 0 0 6px;" | {{{widedata|}}}}}
+
! colspan="2" style="background: #{{{secondarycolor|d9d9d9}}}; {{roundytop|9px}}; text-align:center;" {{!}} {{{widelabel}}}
 +
{{!-}}
 +
{{!}} colspan="2" style="background:#ffffff; padding:0 0 0 6px;" {{!}} {{{widedata|}}}}}
 
|- {{#if:{{{widedata2|}}}|
 
|- {{#if:{{{widedata2|}}}|
 
{{!-}}
 
{{!-}}
! colspan=2 width=40% style="background: #{{{secondarycolor|d9d9d9}}}; {{roundytop|9px}}; text-align:center;" | {{{widelabel2}}}
+
! colspan="2" style="background: #{{{secondarycolor|d9d9d9}}}; text-align:center;" {{!}} {{{widelabel2}}}
 
{{!-}}
 
{{!-}}
| colspan=2 style="background:#ffffff; {{roundybottom|9px}}; padding:0 0 0 6px;" | {{{widedata2|}}}}}
+
{{!}} colspan="2" style="background:#ffffff; padding:0 0 0 6px;" {{!}} {{{widedata2|}}}}}
 
|- {{#if:{{{widedata3|}}}|
 
|- {{#if:{{{widedata3|}}}|
 
{{!-}}
 
{{!-}}
! colspan=2 width=40% style="background: #{{{secondarycolor|d9d9d9}}}; {{roundytop|9px}}; text-align:center;" | {{{widelabel3}}}
+
! colspan="2" style="background: #{{{secondarycolor|d9d9d9}}}; text-align:center;" {{!}} {{{widelabel3}}}
 
{{!-}}
 
{{!-}}
| colspan=2 style="background:#ffffff; {{roundybottom|9px}}; padding:0 0 0 6px;" | {{{widedata3|}}}}}
+
{{!}} colspan="2" style="background:#ffffff; padding:0 0 0 6px;" {{!}} {{{widedata3|}}}}}
 
|- {{#if:{{{widedata4|}}}|
 
|- {{#if:{{{widedata4|}}}|
 
{{!-}}
 
{{!-}}
! colspan=2 width=40% style="background: #{{{secondarycolor|d9d9d9}}}; {{roundytop|9px}}; text-align:center;" | {{{widelabel4}}}
+
! colspan="2" style="background: #{{{secondarycolor|d9d9d9}}}; text-align:center;" {{!}} {{{widelabel4}}}
 
{{!-}}
 
{{!-}}
| colspan=2 style="background:#ffffff; {{roundybottom|9px}}; padding:0 0 0 6px;" | {{{widedata4|}}}}}
+
{{!}} colspan="2" style="background:#ffffff; padding:0 0 0 6px;" {{!}} {{{widedata4|}}}}}
 
|- {{#if:{{{widedataend|}}}|
 
|- {{#if:{{{widedataend|}}}|
 
{{!-}}
 
{{!-}}
! colspan=2 width=40% style="background: #{{{secondarycolor|d9d9d9}}}; {{roundytop|9px}}; text-align:center;" | {{{widelabelend}}}
+
! colspan="2" style="background: #{{{secondarycolor|d9d9d9}}}; text-align:center;" {{!}} {{{widelabelend}}}
 
{{!-}}
 
{{!-}}
| colspan=2 style="background:#ffffff; {{roundybottom|9px}}; padding:0 0 0 6px;" | {{{widedataend|}}}}}
+
{{!}} colspan="2" style="background:#ffffff; {{roundybottom|9px}}; padding:0 0 0 6px;" {{!}} {{{widedataend|}}}}}
 
<!--
 
<!--
 
  ~ STANDARD LABEL BEGIN ~  
 
  ~ STANDARD LABEL BEGIN ~  

Revision as of 17:26, November 6, 2019

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

Usage

{{Infobox
|bordercolor    = 
|primarycolor   = 
|secondarycolor = 
|title          = 
|subtitleabove  =
|subtitlebelow  =
|image          = {{{image|}}}
|caption        = {{{caption|}}}
|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|}}}
}}