Template:Yes/doc: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
m (ROOTPAGENAME -> PAGENAME due to Template:N/A.)
m (onlyinclude -> includeonly. Genious.)
Line 10: Line 10:
! Table Cell Wikitext
! Table Cell Wikitext
! width="100"| Result
! width="100"| Result
<includeonly>
|-
|-
| {{tlc|{{PAGENAME}}}}
| {{tlc|{{PAGENAME}}}}
Line 22: Line 23:
| {{tlc|{{PAGENAME}}|style{{=}}color:#fff}}
| {{tlc|{{PAGENAME}}|style{{=}}color:#fff}}
| {{ {{PAGENAME}} |style=color:#fff}}
| {{ {{PAGENAME}} |style=color:#fff}}
</includeonly>
|}
|}


Line 51: Line 53:
|style=color:#BE90FF| #BE90FF
|style=color:#BE90FF| #BE90FF
|}
|}
<onlyinclude></onlyinclude><!-- prevent loop on this doc -->

Revision as of 19:32, 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

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