Template:InfoBox: Difference between revisions
Jump to navigation
Jump to search
Ban Betrayed (talk | contribs) No edit summary |
Ban Betrayed (talk | contribs) I have no idea how to use this #if thing |
||
| Line 14: | Line 14: | ||
"type": "string" | "type": "string" | ||
}, | }, | ||
"Info1Label": {}, | "Info1Label": { | ||
"default": "LABEL 1" | |||
}, | |||
"Info1Value": { | "Info1Value": { | ||
"type": "string" | "type": "string", | ||
"default": "VALUE 1" | |||
}, | }, | ||
"Info2Label": { | "Info2Label": { | ||
"type": "string" | "type": "string", | ||
"default": "LABEL 2" | |||
}, | |||
"Info2Value": { | |||
"default": "VALUE 2" | |||
}, | }, | ||
"Info3Label": { | "Info3Label": { | ||
"type": "string" | "type": "string", | ||
"default": "LABEL 3" | |||
}, | }, | ||
"Info3Value": {} | "Info3Value": { | ||
"default": "VALUE 3" | |||
} | |||
}, | }, | ||
"maps": { | "maps": { | ||
| Line 51: | Line 60: | ||
| colspan="2" style="padding: 0;" | [[File:{{{Image}}}|300px]] | | colspan="2" style="padding: 0;" | [[File:{{{Image}}}|300px]] | ||
|- | |- | ||
{{#if:{{{Info1Label}}}|| | |||
! style="border-right: 0px; text-align:left" | {{{Info1Label}}} | ! style="border-right: 0px; text-align:left" | {{{Info1Label}}} | ||
| style="border-left: 0px; text-align:left" | {{{Info1Value}}} | | style="border-left: 0px; text-align:left" | {{{Info1Value}}} | ||
}} | |||
|- | |- | ||
{{#if:{{{Info2Label}}}|| | |||
! style="border-right: 0px; text-align:left" | {{{Info2Label}}} | ! style="border-right: 0px; text-align:left" | {{{Info2Label}}} | ||
| style="border-left: 0px; text-align:left" | {{{Info2Value}}} | | style="border-left: 0px; text-align:left" | {{{Info2Value}}} | ||
}} | |||
|- | |- | ||
{{#if:{{{Info3Label}}}|| | |||
! style="border-right: 0px; text-align:left" | {{{Info3Label}}} | ! style="border-right: 0px; text-align:left" | {{{Info3Label}}} | ||
| style="border-left: 0px; text-align:left" | {{{Info3Value}}} | | style="border-left: 0px; text-align:left" | {{{Info3Value}}} | ||
}} | |||
|- | |||
|} | |} | ||
Revision as of 21:09, 19 April 2025
General infobox for infomation about unique things that doesn't match any other qualities
| Parameter | Description | Type | Status | |
|---|---|---|---|---|
| Title | Title title | no description
| String | optional |
| Image | Image | no description | String | optional |
| Info1Label | Info1Label | no description
| Unknown | optional |
| Info1Value | Info1Value | no description
| String | optional |
| Info2Label | Info2Label | no description
| String | optional |
| Info2Value | Info2Value | no description
| Unknown | optional |
| Info3Label | Info3Label | no description
| String | optional |
| Info3Value | Info3Value | no description
| Unknown | optional |
| {{{Title}}} | |
|---|---|
| [[File:{{{Image}}}|300px]] |