Memories:Template:pc-yes: Difference between revisions

From Campaigns
Jump to navigation Jump to search
mNo edit summary
mNo edit summary
Line 1: Line 1:
<onlyinclude>{{!}} style="background-color:green"{{!}} yes</onlyinclude>
<onlyinclude>style="background-color:green"|yes</onlyinclude>
{{documentation}}
{{documentation}}

Revision as of 04:28, 4 November 2021

style="background-color:green"|yes

Documentation

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 yes 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
|}