テンプレート:Infobox/rowhld

提供: Yourpedia
移動: 案内検索
Template Info このテンプレートの解説はテンプレート:Infobox/rowhld/docから呼び出されています[編集] [履歴]

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
labeldata
data
data

関連テンプレート[編集]