Template:Infobox/Property: Difference between revisions
From Inkipedia, the Splatoon wiki
GuyPerfect (talk | contribs) mNo edit summary |
m (moved category into noinclude) |
||
(20 intermediate revisions by 6 users not shown) | |||
Line 1: | Line 1: | ||
<includeonly> | <includeonly>{{#invoke:InfoboxProperty|main}}</includeonly><noinclude> | ||
Template invocation of [[Module:InfoboxProperty]]. | |||
{{:Module:InfoboxProperty/doc}} | |||
[[Category:Infobox templates]] | |||
</noinclude> | </noinclude> |
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 |