Documentation
[purge]
Displays a row in an Category:Infobox templates.
Usage[]
{{infobox row|Keyword|Value|Test-value|Else-value}}
Note these are all unnamed parameters when using the template
Keyword
is displayed as keyword to the row, describing the value (e.g. "HP", "Size", etc.)Value
is displayed as the value and can be formatted (e.g. 1000, "huge", {{ItemLink|Wall}}, etc.)- If
Test-value
is given, the row is only displayed if it is not empty - If
Else-value
is given andTest-value
is empty, the row is however displayed and shows Else-value as its value
Example[]
{{Infobox row|HP|{{{hp}}}|{{{hp|}}}}}
Displays a row titled HP, followed by the value of hp
, but if it is not given, hides the whole row.
{{Infobox row|Location|{{{location}}}|{{{location|}}}|''Unknown''}}
Displays a row titled Location, followed by the value of location
, but if it is not given, displays Unknown as the value instead.