Modèle:Infobox centered row/doc
Aller à la navigation
Aller à la recherche
Documentation
[purger]
Displays a centered row with colspan 2 in an Infobox.
Usage[modifier]
{{infobox centered row|Value|Test-value|Else-value}}
Note these are all unnamed parameters when using the template
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, this will be displayed instead ofValue
ifTest-value
is given and not empty
Example[modifier]
{{Infobox centered row|''{{{description}}}''|{{{description|}}|Not available}}}
Displays the italicized text of description
, but only if it is not an empty string, otherwise it use the text "Not available".