Module:InfoboxProperty/doc

De Inkipédia

Ceci est la page de documentation pour Module:InfoboxProperty

Produces a labeled property for an infobox. The markup produced represents a two-column table row.

Parameters

name Unnamed. The contents of the property's name cell.
value Unnamed. The contents of the property's value cell.
color Optional. An RGB triplet to use as the base color for formatting. The default color is 0, 153, 255, defined in SiteColor as "Generic".
style Optional. A CSS property list to apply to the property's value cell.

Example

Markup

{{Infobox/Property|color={{SiteColor|Splatoon}}|Name|Value}}
{{Infobox/Property|color=something else|Name 2|Value 2}}
{{Infobox/Property|Name 3|Value 3}}

Output

Name Value
Name 2 Value 2
Name 3 Value 3