Memories:Template:pc-yes/doc: Difference between revisions
Jump to navigation
Jump to search
Created page with "<noinclude>{{documentation subpage}}</noinclude> ==Parameters== <templatedata> { "description": "Creates a table cell indicating a 'yes' option.", "params": { "1": {..." |
mNo edit summary |
||
Line 24: | Line 24: | ||
"type": "string", | "type": "string", | ||
"example": "font-weight: bold", | "example": "font-weight: bold", | ||
"default": "( | "default": "(omitted)" | ||
} | } | ||
}, | }, |
Latest revision as of 04:51, 4 November 2021
This is a documentation subpage for Memories:Template:pc-yes. It contains usage information, categories and other content that is not part of the original Memories page. |
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 |}