Template:N/A: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
(Created page with '<noinclude>{| class="standard-table" |- |</noinclude>style="background: #ffff90; color: black; vertical-align: middle; text-align: {{{align|center}}}; {{{style|}}}" class="table-…')
 
(Dark mode. Can't use transparent color because of class=wikitable still has a white base background.)
 
(8 intermediate revisions by 7 users not shown)
Line 1: Line 1:
<noinclude>{| class="standard-table"
{{Uselangflags|en=1|hr=1|ru=1|vi=1}}
|-
{{Doc|docpage=Template:Yes/doc}}
|</noinclude>style="background: #ffff90; color: black; vertical-align: middle; text-align: {{{align|center}}}; {{{style|}}}" class="table-N/A"|{{{1|N/A}}}<noinclude>
<includeonly><onlyinclude>style="background:#585838; vertical-align:middle; text-align:{{{align|center}}}; {{{style|}}}" class="table-N/A"|{{{1|{{#switch: {{language}}
|}
| #default = N/A
 
| hr = N/B
This template is designed to be used in a "comparison table" to indicate a "not applicable" or "not available" with a yellow background.
| ru = Н/Д
 
| vi = K. áp dụng
If no parameter is provided, the default text is "N/A", while <nowiki>{{N/A|Maybe}}</nowiki> would instead output "Maybe".
}}}}}</onlyinclude></includeonly>
 
Also see [[:Template:no]] and [[:Template:yes]].
 
</noinclude>

Latest revision as of 00:04, 9 February 2025

English (en)Hrvatski (hr)Русский (ru)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)
Curly brackets white.pngTemplate Documentation [view] [edit]
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
{{N/A}} N/A
{{N/A|Text}} Text
{{N/A|[[Main Page]]}} Main Page
{{N/A|align=left}} N/A
{{N/A|style=color:#FFF}} N/A
class = wikitable
Table Cell Wikitext Result
{{N/A}} N/A
{{N/A|Text}} Text
{{N/A|[[Main Page]]}} Main Page
{{N/A|align=left}} N/A
{{N/A|style=color:#FFF}} N/A
no class
Table Cell Wikitext Result
{{N/A}} N/A
{{N/A|Text}} Text
{{N/A|[[Main Page]]}} Main Page
{{N/A|align=left}} N/A
{{N/A|style=color:#FFF}} N/A

See Also

Table Cell Wikitext Result Indicates... Color Code
{{Yes}} Yes positive #385038
{{No}} No negative #503838
{{N/A}} N/A not applicable or
not available
#585838
{{Both}} Both multiple possibilities #383850