Difference between revisions of "Template:Infobox"
From Nookipedia, the Animal Crossing wiki
Dorsal Axe (talk | contribs) (changing to fixed width) |
Dorsal Axe (talk | contribs) (removing unnecessary padding and centering text for wide labels) |
||
Line 15: | Line 15: | ||
|- {{#if:{{{widedatasolo|}}}| | |- {{#if:{{{widedatasolo|}}}| | ||
{{!-}} | {{!-}} | ||
− | ! colspan="2" style="background: #{{{secondarycolor|d9d9d9}}}; {{roundytop|9px}} | + | ! colspan="2" style="background: #{{{secondarycolor|d9d9d9}}}; {{roundytop|9px}} text-align: center;" {{!}} {{{widelabelsolo|}}} |
{{!-}} | {{!-}} | ||
− | {{!}} colspan="2" style="background:#ffffff; {{roundybottom|9px}}; | + | {{!}} colspan="2" style="background:#ffffff; {{roundybottom|9px}}; text-align: center;" {{!}} {{{widedatasolo|}}}}} |
|- {{#if:{{{widedata|}}}| | |- {{#if:{{{widedata|}}}| | ||
{{!-}} | {{!-}} | ||
− | ! colspan="2" style="background: #{{{secondarycolor|d9d9d9}}}; {{roundytop|9px}} | + | ! colspan="2" style="background: #{{{secondarycolor|d9d9d9}}}; {{roundytop|9px}} text-align: center;" {{!}} {{{widelabel}}} |
{{!-}} | {{!-}} | ||
− | {{!}} colspan="2" style="background:#ffffff; | + | {{!}} colspan="2" style="background:#ffffff; text-align: center;" {{!}} {{{widedata|}}}}} |
|- {{#if:{{{widedata2|}}}| | |- {{#if:{{{widedata2|}}}| | ||
{{!-}} | {{!-}} | ||
! colspan="2" style="background: #{{{secondarycolor|d9d9d9}}}; text-align:center;" {{!}} {{{widelabel2}}} | ! colspan="2" style="background: #{{{secondarycolor|d9d9d9}}}; text-align:center;" {{!}} {{{widelabel2}}} | ||
{{!-}} | {{!-}} | ||
− | {{!}} colspan="2" style="background:#ffffff; | + | {{!}} colspan="2" style="background:#ffffff; text-align: center;" {{!}} {{{widedata2|}}}}} |
|- {{#if:{{{widedata3|}}}| | |- {{#if:{{{widedata3|}}}| | ||
{{!-}} | {{!-}} | ||
! colspan="2" style="background: #{{{secondarycolor|d9d9d9}}}; text-align:center;" {{!}} {{{widelabel3}}} | ! colspan="2" style="background: #{{{secondarycolor|d9d9d9}}}; text-align:center;" {{!}} {{{widelabel3}}} | ||
{{!-}} | {{!-}} | ||
− | {{!}} colspan="2" style="background:#ffffff; | + | {{!}} colspan="2" style="background:#ffffff; text-align: center;" {{!}} {{{widedata3|}}}}} |
|- {{#if:{{{widedata4|}}}| | |- {{#if:{{{widedata4|}}}| | ||
{{!-}} | {{!-}} | ||
! colspan="2" style="background: #{{{secondarycolor|d9d9d9}}}; text-align:center;" {{!}} {{{widelabel4}}} | ! colspan="2" style="background: #{{{secondarycolor|d9d9d9}}}; text-align:center;" {{!}} {{{widelabel4}}} | ||
{{!-}} | {{!-}} | ||
− | {{!}} colspan="2" style="background:#ffffff; | + | {{!}} colspan="2" style="background:#ffffff; text-align: center;" {{!}} {{{widedata4|}}}}} |
|- {{#if:{{{widedataend|}}}| | |- {{#if:{{{widedataend|}}}| | ||
{{!-}} | {{!-}} | ||
! colspan="2" style="background: #{{{secondarycolor|d9d9d9}}}; text-align:center;" {{!}} {{{widelabelend}}} | ! colspan="2" style="background: #{{{secondarycolor|d9d9d9}}}; text-align:center;" {{!}} {{{widelabelend}}} | ||
{{!-}} | {{!-}} | ||
− | {{!}} colspan="2" style="background:#ffffff; {{roundybottom|9px}}; | + | {{!}} colspan="2" style="background:#ffffff; {{roundybottom|9px}}; text-align: center;" {{!}} {{{widedataend|}}}}} |
<!-- | <!-- | ||
~ LIST LABEL BEGIN ~ | ~ LIST LABEL BEGIN ~ |
Revision as of 13:43, March 7, 2020
Infobox | |
---|---|
Have an image of this boxart? Then please upload it! | |
{{{label}}} |
Usage
This is a very complex template that has been designed to accommodate multiple different use cases for infoboxes. Please see the below for the full list of parameters.
{{Infobox |bordercolor = |primarycolor = |secondarycolor = |title = |subtitleabove = |subtitlebelow = |image = |caption = |image2 = |caption2 = |widelabelsolo = |widedatasolo = |widelabel = |widedata = |widelabel2 = |widedata2 = |widelabel3 = |widedata3 = |widelabel4 = |widedata4 = |widelabelend = |widedataend = |listlabell = |listlabelr = |listdatal = |listdatar = |listdata2l = |listdata2r = |listdata3l = |listdata3r = |listdata4l = |listdata4r = |listdata5l = |listdata5r = |listdata6l = |listdata6r = |listdataendl = |listdataendr = |labelsolo = |datasolo = |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 = }}