Template:Infobox: Difference between revisions
From Dragon Quest Wiki
FlyingRagnar (talk | contribs) m (added 2 more label/data pairs) |
Limp Bizkit (talk | contribs) (lets update this too) |
||
(26 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
{| class="infobox" style="font-size: | <includeonly><onlyinclude>{| role="presentation" class="infobox" style="font-size:88%; padding:5px; text-align:left; width:300px; line-height:1.5em;" | ||
|- | |- | ||
! style="font-size:110%;text-align:center;background:# | ! style="font-size:110%; text-align:center; color:#{{#if: {{{color|}}} | {{{color}}} | 000000}}; background:#{{#if: {{{bgcolor|}}} | {{{bgcolor}}} | DEDEDE}};" colspan="2" | {{{type}}} | ||
|- | |- | ||
! colspan="2" style="font-size:125%;text-align:center;"| {{{title}}} | ! colspan="2" style="font-size:125%;text-align:center;"| {{{title}}} | ||
Line 9: | Line 9: | ||
}} | }} | ||
|- | |- | ||
! {{{ | {{#if:{{{data1|}}}| | ||
| {{{ | ! {{{label1}}} | ||
{{!}} {{{data1}}} | |||
}} | |||
|- | |||
{{#if:{{{data2|}}}| | |||
! {{{label2}}} | |||
{{!}} {{{data2}}} | |||
}} | |||
|- | |||
{{#if:{{{data3|}}}| | |||
! {{{label3}}} | |||
{{!}} {{{data3}}} | |||
}} | |||
|- | |||
{{#if:{{{data4|}}}| | |||
! {{{label4}}} | |||
{{!}} {{{data4}}} | |||
}} | |||
|- | |- | ||
{{#if:{{{ | {{#if:{{{data5|}}}| | ||
! {{{ | ! {{{label5}}} | ||
{{!}} {{{ | {{!}} {{{data5}}} | ||
}} | }} | ||
|- | |- | ||
{{#if:{{{ | {{#if:{{{data6|}}}| | ||
! {{{ | ! {{{label6}}} | ||
{{!}} {{{ | {{!}} {{{data6}}} | ||
}} | }} | ||
|- | |- | ||
{{#if:{{{ | {{#if:{{{data7|}}}| | ||
! {{{ | ! {{{label7}}} | ||
{{!}} {{{ | {{!}} {{{data7}}} | ||
}} | }} | ||
|- | |- | ||
{{#if:{{{ | {{#if:{{{data8|}}}| | ||
! {{{ | ! {{{label8}}} | ||
{{!}} {{{ | {{!}} {{{data8}}} | ||
}} | }} | ||
|- | |- | ||
{{#if:{{{ | {{#if:{{{data9|}}}| | ||
! {{{ | ! {{{label9}}} | ||
{{!}} {{{ | {{!}} {{{data9}}} | ||
}} | }} | ||
|- | |- | ||
{{#if:{{{ | {{#if:{{{data10|}}}| | ||
! {{{ | ! {{{label10}}} | ||
{{!}} {{{ | {{!}} {{{data10}}} | ||
}} | }} | ||
|- | |- | ||
{{#if:{{{ | {{#if:{{{data11|}}}| | ||
! {{{ | ! {{{label11}}} | ||
{{!}} {{{ | {{!}} {{{data11}}} | ||
}} | }} | ||
|- | |- | ||
{{#if:{{{ | {{#if:{{{data12|}}}| | ||
! {{{ | ! {{{label12}}} | ||
{{!}} {{{ | {{!}} {{{data12}}} | ||
}} | }} | ||
|- | |- | ||
{{#if:{{{ | {{#if:{{{data13|}}}| | ||
! {{{ | ! {{{label13}}} | ||
{{!}} {{{ | {{!}} {{{data13}}} | ||
}} | |||
|- | |- | ||
{{#if:{{{ | {{#if:{{{data14|}}}| | ||
! {{{ | ! {{{label14}}} | ||
{{!}} {{{ | {{!}} {{{data14}}} | ||
}} | |||
|- | |||
{{#if:{{{data15|}}}| | |||
! {{{label15}}} | |||
{{!}} {{{data15}}} | |||
}} | |||
|- | |||
{{#if:{{{data16|}}}| | |||
! {{{label16}}} | |||
{{!}} {{{data16}}} | |||
}} | |||
|- | |||
{{#if:{{{data17|}}}| | |||
! {{{label17}}} | |||
{{!}} {{{data17}}} | |||
}} | |||
|- | |||
{{#if:{{{data18|}}}| | |||
! {{{label18}}} | |||
{{!}} {{{data18}}} | |||
}} | |||
|- | |||
{{#if:{{{data19|}}}| | |||
! {{{label19}}} | |||
{{!}} {{{data19}}} | |||
}} | |||
|- | |||
{{#if:{{{data20|}}}| | |||
! {{{label20}}} | |||
{{!}} {{{data20}}} | |||
}} | |||
|- | |||
{{#if:{{{data21|}}}| | |||
! {{{label21}}} | |||
{{!}} {{{data21}}} | |||
}} | |||
|- | |||
{{#if:{{{data22|}}}| | |||
! {{{label22}}} | |||
{{!}} {{{data22}}} | |||
}} | |||
|- | |||
{{#if:{{{data23|}}}| | |||
! {{{label23}}} | |||
{{!}} {{{data23}}} | |||
}} | |||
|- | |||
{{#if:{{{data24|}}}| | |||
! {{{label24}}} | |||
{{!}} {{{data24}}} | |||
}} | |||
|- | |- | ||
{{#if:{{{ | {{#if:{{{data25|}}}| | ||
! {{{ | ! {{{label25}}} | ||
{{!}} {{{ | {{!}} {{{data25}}} | ||
}} | }} | ||
|} | |}</onlyinclude></includeonly><noinclude> | ||
< | {{{{PAGENAME}}/doc}} | ||
[[Category:Infobox templates|{{PAGENAME}}]] | |||
{ | |||
}} | |||
|} | |||
</noinclude> | </noinclude> |
Latest revision as of 18:42, 28 April 2020
Usage[edit]
This template is a standard infobox template. It is primarily used as a base template for other more customized infobox template.
{{Infobox | color = hex color code (optional, default black) | bgcolor = hex color code (optional, default grey) | type = | title = | image = | caption = | label1 = header | data1 = value | label2 = header | data2 = value | label3 = header | data3 = value ⋮ }}