テンプレート:No

提供:Wikisource
テンプレートの解説[表示] [編集] [履歴] [キャッシュを破棄]

これらのテンプレートは、中で適切な背景色付テキストが入ったセル作成用に使うよう設計されています。これらは一般的に比較表(オフィススイートの比較など)の中で使われます。

例えば、{{Yes}}は緑の背景色をもつセルを生成し、引数からセル中のテキスト(デフォルト値は"Yes")を受け取ります。

もし、引数を受け取らない表セルテンプレートを見つけ、セル中のテキストを変更できるようにしたい場合、テンプレートを複製せず、そのテンプレートを編集してテキストをデフォルト値の代用として置き換えるようにしてください。例えば、テンプレートのテキストがDroppedであれば, {{{1|Dropped}}}へと変更してください。

系列テンプレート[編集]

CSS クラス[1] テンプレート プレビュー1 プレビュー2 プレビュー3
table-rh {{rh}}[2] | Row header
 
| Row header
table-yes {{yes}}, {{yes|テキスト}} Yes テキスト
table-no {{no}}, {{no|テキスト}} No テキスト
table-yes2 {{yes2}}[3] テキスト、{{won}}、{{won|5}} テキスト テンプレート:Won テンプレート:Won
table-no2 {{no2}}[3] テキスト、{{nom}}、{{nom|5}} テンプレート:No2 テキスト テンプレート:Nom テンプレート:Nom
table-partial {{partial}}, {{Yes-No}} 部分的 テンプレート:Yes-No
table-na {{n/a}} テンプレート:N/a
table-free {{free}} テンプレート:Free
table-nonfree {{nonfree}}[3] ¥1,000 テンプレート:Nonfree ¥1,000
unstyled {{?}}[4]
unstyled {{pending}} テンプレート:Pending

脚注[編集]

  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