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

