Template:Infobox/Property: Difference between revisions

From Inkipedia, the Splatoon wiki
m (added category)
m (moved category into noinclude)
 
Line 3: Line 3:


{{:Module:InfoboxProperty/doc}}
{{:Module:InfoboxProperty/doc}}
[[Category:Infobox templates]]
</noinclude>
</noinclude>
[[Category:Infobox templates]]

Latest revision as of 12:45, 28 June 2024

Template invocation of 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