Ravêr zerreki

Şablon:Yes-No

Wikipediya, ensiklopediya xosere ra

style="background: #ffffdd; color: green;" class="table-partial" | Yes/No

[bıvurne] Dokumantasyon

These templates are designed to be used in a table to make a cell with text in that cell, with an appropriately coloured background. They are commonly used in comparison tables.

For example, {{Yes}} makes a cell with a green background; the text in the cell is taken from the template parameter and defaults to "Yes".

If you find a table cell template that does not take a parameter and you want to be able to change the text in the cell, do not duplicate the template; instead, edit the template and change the text to a default parameter substitution. For example, if a template's text is Dropped, change that to {{{1|Dropped}}}.

Templates in this series

[çımeyi bıvurne]
CSS class[1] Templates Preview 1 Preview 2 Preview 3
table-rh {{Rh}}[2] | Row header Row header
table-yes {{Yes}}, {{yes|Alternate [[text]]}} Eya Alternate text
table-no {{No}}
table-yes2 {{Yes2}}[3] Text, {{Won}}, {{won|5}} Text Gırewt 5
table-no2 {{No2}}[3] Text, {{Nom}}, {{nom|5}} Text Nominated 5
table-partial {{Partial}}, {{Yes-No}}, {{Some}} Partial Yes/No Some
table-any {{Any}} any
table-na {{N/a}} N/A
table-unknown {{Dunno}}, {{Unk}} ? Unknown
table-depends {{Depends}} Depends
table-included {{Included}} Included
table-dropped {{Dropped}}, {{Terminated}} Dropped Terminated
table-beta {{Beta}}, {{table-experimental}} Beta Experimental
table-free {{Free}} Free
table-nonfree {{Nonfree}}[3] [[US$]]3.14 US$3.14
unstyled {{Incorrect}} Incorrect
unstyled {{No result}}, {{No result|N.R.}} No result N.R.
unstyled {{?}}[4] ?
  1. The CSS class of table cell templates may be referenced in a user stylesheet to change appearance.
  2. Does not take a parameter; the content should be placed after the template call, separated by a pipe (|) character.
  3. 3.0 3.1 3.2 Does not take a parameter; the content should be placed after the template call.
  4. Does not take a parameter; not really a table cell template at all, but here for completeness


[bıvurne] Dokumantasyon