User talk:DigitalThespian/sandbox/Template:infoboxParam

From Golden Sun Universe

{{#vardefine:cell1|style="background:#{{#var:colorBase}}; width:33%;"}} {{#vardefine:cell2|style="background:#{{#var:colorLight}}; width:67%;"}} | {{#var:cell1}} | {{{key}}} | {{#var:cell2}} | {{{value}}} |-

Usage

{{infoboxParam
|key		=
|value		=
}}

Example: {{infoboxParam|key=eye color|value={{{eye color}}} }}

This template exists to improve the ease of understanding the content of a template in-editor by condensing the repeated elements into a template variable; it also makes it much easier to keep pages consistent by allowing a formatting change to be applied to all infobox elements using it at the same time.