Template:InfoBox: Difference between revisions

From Ro'vali Wiki
Jump to navigation Jump to search
No edit summary
No edit summary
 
(13 intermediate revisions by the same user not shown)
Line 11: Line 11:
"default": "MISSING TITLE"
"default": "MISSING TITLE"
},
},
"Image": {},
"Image": {
"Info1": {
"type": "string"
"type": "string"
},
},
"Info2": {
"Info1Label": {
"type": "string"
"default": "LABEL 1"
},
"Info1Value": {
"type": "string",
"default": "VALUE 1"
},
"Info2Label": {
"type": "string",
"default": "LABEL 2"
},
"Info2Value": {
"default": "VALUE 2"
},
"Info3Label": {
"type": "string",
"default": "LABEL 3"
},
},
"Info3": {
"Info3Value": {
"type": "string"
"default": "VALUE 3"
}
}
},
},
Line 29: Line 43:
"Title",
"Title",
"Image",
"Image",
"Info1",
"Info1Label",
"Info2",
"Info1Value",
"Info3"
"Info2Label",
"Info2Value",
"Info3Label",
"Info3Value"
]
]
}
}
Line 37: Line 54:
</noinclude>
</noinclude>


{| class="wikitable"
{| class="wikitable" style="float:right; margin:0 0 1em 1em; width:300px;"
|+
|+
! colspan="2" |ITEM NAME
! colspan="2" | {{{Title}}}
|-
| colspan="2" style="padding: 0;" | [[File:{{{Image}}}|300px]]
|-
 
{{#if:{{{Info1Label}}}|
 
! style="border-right: 0px; text-align:left" | {{{Info1Label}}}
| style="border-left: 0px; text-align:left" | {{{Info1Value}}}
|-
|-
| colspan="2" |IMAGE URL
 
}}
 
{{#if:{{{Info2Label}}}|
 
! style="border-right: 0px; text-align:left" | {{{Info2Label}}}
| style="border-left: 0px; text-align:left" | {{{Info2Value}}}
|-
|-
|STAT1LABEL
 
|{{{Info1}}}
}}
 
{{#if:{{{Info3Label}}}|
 
! style="border-right: 0px; text-align:left" | {{{Info3Label}}}
| style="border-left: 0px; text-align:left" | {{{Info3Value}}}
|-
|-
|STAT2LABEL
 
|{{{Info2}}}
}}
 
|}
|}

Latest revision as of 21:42, 19 April 2025

General infobox for infomation about unique things that doesn't match any other qualities

Template parameters[Edit template data]

ParameterDescriptionTypeStatus
TitleTitle title

no description

Default
MISSING TITLE
Example
Aerogel Spear
Stringoptional
ImageImage

no description

Stringoptional
Info1LabelInfo1Label

no description

Default
LABEL 1
Unknownoptional
Info1ValueInfo1Value

no description

Default
VALUE 1
Stringoptional
Info2LabelInfo2Label

no description

Default
LABEL 2
Stringoptional
Info2ValueInfo2Value

no description

Default
VALUE 2
Unknownoptional
Info3LabelInfo3Label

no description

Default
LABEL 3
Stringoptional
Info3ValueInfo3Value

no description

Default
VALUE 3
Unknownoptional


{{{Title}}}
[[File:{{{Image}}}|300px]]
style="border-right: 0px; text-align:left" style="border-right: 0px; text-align:left" style="border-right: 0px; text-align:left"