「テンプレート:Infobox/rowld/doc」の版間の差分
提供: Yourpedia
(→使用例) |
(クラス設定の除去対応) |
||
| 5行目: | 5行目: | ||
<pre> | <pre> | ||
{{Infobox/rowld | {{Infobox/rowld | ||
| − | |||
|rowstyle= | |rowstyle= | ||
| − | |||
|labelstyle= | |labelstyle= | ||
|label= | |label= | ||
|colnum= | |colnum= | ||
| − | |||
|datastyle= | |datastyle= | ||
|data= | |data= | ||
| 19行目: | 16行目: | ||
*rowstyle - vertical-align:top | *rowstyle - vertical-align:top | ||
*labelstyle - font-weight:bold; text-align:left; white-space:nowrap | *labelstyle - font-weight:bold; text-align:left; white-space:nowrap | ||
| − | *datastyle - text-align:left | + | *datastyle - text-align:left; background-color:transparent |
*colnum - 1 | *colnum - 1 | ||
== 使用例 == | == 使用例 == | ||
2018年5月26日 (土) 22:36時点における版
| このページは、テンプレートの解説ページです。このページを直接参照すると、リンク先のページ名やURLを変数で指定しているリンクが赤リンクになる場合がありますが、リンク先を指定し直さなくてよい場合もあります。リンクの設定の不具合に関する質問等は親ページの会話ページに投稿して下さい。 |
Infobox/rowldはInfoboxを組成するためのテンプレートです。ラベル付きデータ行作成用です。
引数一覧
{{Infobox/rowld
|rowstyle=
|labelstyle=
|label=
|colnum=
|datastyle=
|data=
}}
既定値
- rowstyle - vertical-align:top
- labelstyle - font-weight:bold; text-align:left; white-space:nowrap
- datastyle - text-align:left; background-color:transparent
- colnum - 1
使用例
常にtableの中で使用します。
- 入力例
<table>
{{Infobox/rowld
|labelstyle= width:5em; background-color:orange
|label= label
|datastyle= width:15em; background-color:yellowgreen
|data= data<br />data<br />data
}}
</table>
- 出力例
| label | data data data |
|---|
関連テンプレート
- {{Infobox}}
- {{Infobox/rowh}}
- {{Infobox/rowd}}
- {{Infobox/rowhld}}
- {{Infobox/rowldd}}
- {{Infobox/rowhldd}}