Template:Both

From Valve Developer Community
Jump to navigation Jump to search
English (en)Deutsch (de)Esperanto (eo)Español (es)Français (fr)Suomi (fi)Hrvatski (hr)Magyar (hu)Italiano (it)日本語 (ja)한국어 (ko)Nederlands (nl)Polski (pl)Português (pt)Português do Brasil (pt-br)Русский (ru)Slovenčina (sk)Svenska (sv)Türkçe (tr)Українська (uk)Tiếng Việt (vi)中文 (zh)中文(臺灣) (zh-tw)
Template Documentation
Icon-translate.png Documentation language
...

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

class = standard-table
Table Cell Wikitext Result
{{Both}} Both
{{Both|Text}} Text
{{Both|[[Main Page]]}} Main Page
{{Both|align=left}} Both
{{Both|style=color:#FFF}} Both
class = wikitable
Table Cell Wikitext Result
{{Both}} Both
{{Both|Text}} Text
{{Both|[[Main Page]]}} Main Page
{{Both|align=left}} Both
{{Both|style=color:#FFF}} Both
no class
Table Cell Wikitext Result
{{Both}} Both
{{Both|Text}} Text
{{Both|[[Main Page]]}} Main Page
{{Both|align=left}} Both
{{Both|style=color:#FFF}} Both

See Also

Table Cell Wikitext Result Indicates... Color Code
{{Yes}} Yes positive #2A3F2A
{{Formerly}} Formerly formerly available features or still supported software
(while being succeeded by newer releases)
#3D3D27
{{No}} No negative #3F2A2A
{{N/A}} N/A not applicable or
not available
#292929
{{Both}} Both multiple possibilities #2F2F49