Memories:Template:pc-yes/doc

From Campaigns
Jump to navigation Jump to search

Parameters

Creates a table cell indicating a 'yes' option.

Template parameters[Edit template data]

This template prefers inline formatting of parameters.

ParameterDescriptionTypeStatus
cell text1

The text to display in the cell.

Default
yes
Example
OK
Stringoptional
horizontal alignmentalign

Horizontal alignment for the cell text.

Default
center
Example
right
Stringoptional
additional stylingstyle

Additional inline CSS styles to apply to the cell.

Default
(omitted)
Example
font-weight: bold
Stringoptional

Examples

Minimal example:

yes
{|
| {{Memories:Template:pc-yes}}
|}

Full example:

header 1 header 2 header 3
text text text
text OK text
text text text
{| class="wikitable"
!header 1 !! header 2 !! header 3
|-
|text || text || text
|-
|text || {{Memories:Template:pc-yes|OK|align=right|style=background-color:blue;color:white}} || text
|-
|text || text || text
|}