Template:Infobox: Difference between revisions
From Dragon Quest Wiki
FlyingRagnar (talk | contribs) m (modified formatting only) |
Limp Bizkit (talk | contribs) (lets update this too) |
||
(27 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:{{{data5|}}}| | |||
! {{{label5}}} | |||
{{!}} {{{data5}}} | |||
}} | |||
|- | |||
{{#if:{{{data6|}}}| | |||
! {{{label6}}} | |||
{{!}} {{{data6}}} | |||
}} | |||
|- | |||
{{#if:{{{data7|}}}| | |||
! {{{label7}}} | |||
{{!}} {{{data7}}} | |||
}} | |||
|- | |||
{{#if:{{{data8|}}}| | |||
! {{{label8}}} | |||
{{!}} {{{data8}}} | |||
}} | |||
|- | |||
{{#if:{{{data9|}}}| | |||
! {{{label9}}} | |||
{{!}} {{{data9}}} | |||
}} | |||
|- | |||
{{#if:{{{data10|}}}| | |||
! {{{label10}}} | |||
{{!}} {{{data10}}} | |||
}} | |||
|- | |||
{{#if:{{{data11|}}}| | |||
! {{{label11}}} | |||
{{!}} {{{data11}}} | |||
}} | |||
|- | |||
{{#if:{{{data12|}}}| | |||
! {{{label12}}} | |||
{{!}} {{{data12}}} | |||
}} | |||
|- | |||
{{#if:{{{data13|}}}| | |||
! {{{label13}}} | |||
{{!}} {{{data13}}} | |||
}} | |||
|- | |||
{{#if:{{{data14|}}}| | |||
! {{{label14}}} | |||
{{!}} {{{data14}}} | |||
}} | |||
|- | |||
{{#if:{{{data15|}}}| | |||
! {{{label15}}} | |||
{{!}} {{{data15}}} | |||
}} | |||
|- | |||
{{#if:{{{data16|}}}| | |||
! {{{label16}}} | |||
{{!}} {{{data16}}} | |||
}} | |||
|- | |- | ||
{{#if:{{{ | {{#if:{{{data17|}}}| | ||
! {{{ | ! {{{label17}}} | ||
{{!}} {{{ | {{!}} {{{data17}}} | ||
}} | }} | ||
|- | |- | ||
{{#if:{{{ | {{#if:{{{data18|}}}| | ||
! {{{ | ! {{{label18}}} | ||
{{!}} {{{ | {{!}} {{{data18}}} | ||
}} | }} | ||
|- | |- | ||
{{#if:{{{ | {{#if:{{{data19|}}}| | ||
! {{{ | ! {{{label19}}} | ||
{{!}} {{{ | {{!}} {{{data19}}} | ||
}} | }} | ||
|- | |- | ||
{{#if:{{{ | {{#if:{{{data20|}}}| | ||
! {{{ | ! {{{label20}}} | ||
{{!}} {{{ | {{!}} {{{data20}}} | ||
}} | }} | ||
|- | |- | ||
{{#if:{{{ | {{#if:{{{data21|}}}| | ||
! {{{ | ! {{{label21}}} | ||
{{!}} {{{ | {{!}} {{{data21}}} | ||
}} | }} | ||
|- | |- | ||
{{#if:{{{ | {{#if:{{{data22|}}}| | ||
! {{{ | ! {{{label22}}} | ||
{{!}} {{{ | {{!}} {{{data22}}} | ||
}} | }} | ||
|- | |- | ||
{{#if:{{{ | {{#if:{{{data23|}}}| | ||
! {{{ | ! {{{label23}}} | ||
{{!}} {{{ | {{!}} {{{data23}}} | ||
}} | }} | ||
|- | |- | ||
{{#if:{{{ | {{#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 ⋮ }}