Template:Both

From Valve Developer Community
Jump to navigation Jump to search
English (en)Deutsch (de)Hrvatski (hr)Tiếng Việt (vi)
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)
Icon-translate.png Available doc translations
View
Page history

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 #90FF90
{{No}} No negative #FF9090
{{N/A}} N/A not applicable or
not available
#FFFF90
{{Both}} Both multiple possibilities #BE90FF