Template:Yes/doc: Difference between revisions
Jump to navigation
Jump to search
(Made examples use the template that this doc is transcluded to.) |
m (ROOTPAGENAME -> PAGENAME due to Template:N/A.) |
||
Line 11: | Line 11: | ||
! width="100"| Result | ! width="100"| Result | ||
|- | |- | ||
| {{tlc|{{ | | {{tlc|{{PAGENAME}}}} | ||
| {{ {{ | | {{ {{PAGENAME}} }} | ||
|- | |- | ||
| {{tlc|{{ | | {{tlc|{{PAGENAME}}|Text}} | ||
| {{ {{ | | {{ {{PAGENAME}} |Text}} | ||
|- | |- | ||
| {{tlc|{{ | | {{tlc|{{PAGENAME}}|align{{=}}left}} | ||
| {{ {{ | | {{ {{PAGENAME}} |align=left}} | ||
|- | |- | ||
| {{tlc|{{ | | {{tlc|{{PAGENAME}}|style{{=}}color:#fff}} | ||
| {{ {{ | | {{ {{PAGENAME}} |style=color:#fff}} | ||
|} | |} | ||
Line 51: | Line 51: | ||
|style=color:#BE90FF| #BE90FF | |style=color:#BE90FF| #BE90FF | ||
|} | |} | ||
<onlyinclude></onlyinclude><!-- prevent loop on this doc --> |
Revision as of 19:30, 26 April 2022
Usage
This template is designed to be used in comparison tables.
Parameters
- {{{1}}} - The first unnamed parameter overrides the displayed text.
- {{{align}}} - Overrides the alignment of the text in the table cell.
- {{{style}}} - Override any style attributes of the table cell.
Examples
Table Cell Wikitext | Result |
---|---|
{{Yes/doc}}
|
|
{{Yes/doc|Text}}
|
|
{{Yes/doc|align=left}}
|
|
{{Yes/doc|style=color:#fff}}
|
See Also
Table Cell Wikitext | Result | Indicates... | Color Code |
---|---|---|---|
{{Yes}} | Yes | positive | #90FF90 |
{{No}} | No | negative | #FF9090 |
{{N/A}} | N/A | not applicable or not available |
#FFFF90 |
{{Both}} | Both | multiple possibilities | #BE90FF |