Modèle:InfoboxProperty

De Inkipédia
Révision datée du 25 juillet 2023 à 21:40 par HalfSanitized (discussion | contributions) (Page créée avec « <includeonly>|- {{#if:{{{2|}}}||style="display: none;"}} |style="padding: 5px; background: linear-gradient(to right, rgba({{#if:{{{color|}}}|{{{color}}}|{{SiteColor|Generic}}}}, 0.3) 0%, rgba({{{color|{{SiteColor|Generic}}}}}, 0) 100%); border-width: 1px 0px 1px 5px; border-style: solid; border-color: rgba({{#if:{{{color|}}}|{{{color}}}|{{SiteColor|Generic}}}}, 0.5); border-radius: 5px 0px 0px 5px;"|'''{{{1|}}}''' |style="{{{style|}}}"|{{{2|}}}</includeonly><noin... »)
(diff) ← Version précédente | Voir la version actuelle (diff) | Version suivante → (diff)
Aller à la navigation Aller à la recherche

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 Erreur de script : le module « SiteColor » n’existe pas., defined in SiteColor as "Generic".
style Optional. A CSS property list to apply to the property's value cell.

Example

Markup

{{InfoboxProperty|color={{SiteColor|Splatoon}}|Name|Value}}

Output

Name Value