Memories:Template:pc-yes: Difference between revisions
Jump to navigation
Jump to search
Created page with "<onlyinclude>| style="background-color:green"| yes</onlyinclude> {{documentation}}" |
mNo edit summary |
||
Line 1: | Line 1: | ||
<onlyinclude> | <onlyinclude>{{!}} style="background-color:green"{{!}} yes</onlyinclude> | ||
{{documentation}} | {{documentation}} |
Revision as of 04:23, 4 November 2021
| style="background-color:green"| 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:
style="background-color:green"| yes |
{| | {{Memories:Template:pc-yes}} |}
Full example:
header 1 | header 2 | header 3 |
---|---|---|
text | text | text |
text | style="background-color:green"| 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 |}