Memories:Template:pc-maybe: Difference between revisions

From Campaigns
Jump to navigation Jump to search
Created page with "<onlyinclude>style="background-color:#ffff90;text-align:{{{align|center}}};vertical-align:middle;{{{style|}}}" class="table-yes"|{{{1|maybe}}}</onlyinclude> {{documentation}}"
 
(No difference)

Latest revision as of 05:25, 4 November 2021

style="background-color:#ffff90;text-align:center;vertical-align:middle;" class="table-yes"|maybe

Documentation

Parameters

Creates a table cell indicating a 'maybe' option.

Template parameters[Edit template data]

This template prefers inline formatting of parameters.

ParameterDescriptionTypeStatus
cell text1

The text to display in the cell.

Default
maybe
Example
conditionally yes
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:

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

Full example:

header 1 header 2 header 3
text text text
text conditional text
text text text
{| class="wikitable"
!header 1 !! header 2 !! header 3
|-
|text || text || text
|-
|text || {{Memories:Template:pc-maybe|conditional|align=right|style=background-color:silver}} || text
|-
|text || text || text
|}