Memories:Template:pc-yes: Difference between revisions
Jump to navigation
Jump to search
mNo edit summary |
mNo edit summary |
||
(One intermediate revision by the same user not shown) | |||
Line 1: | Line 1: | ||
<onlyinclude>{{ | <onlyinclude>style="background-color:#9f9;text-align:{{{align|center}}};vertical-align:middle;{{{style|}}}" class="table-yes"|{{{1|yes}}}</onlyinclude> | ||
{{documentation}} | {{documentation}} |
Latest revision as of 04:30, 4 November 2021
style="background-color:#9f9;text-align:center;vertical-align:middle;" class="table-yes"|yes
Parameters
Creates a table cell indicating a 'yes' option.
Parameter | Description | Type | Status | |
---|---|---|---|---|
cell text | 1 | The text to display in the cell.
| String | optional |
horizontal alignment | align | Horizontal alignment for the cell text.
| String | optional |
additional styling | style | Additional inline CSS styles to apply to the cell.
| String | optional |
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 |}