テンプレート:Infobox/rowldd

提供: Yourpedia
2018年5月17日 (木) 14:05時点における由亜辺出夫 (トーク | 投稿記録)による版 (ページの作成:「<noinclude><table> </noinclude><tr class="{{{rowclass|}}}" style="vertical-align:top; {{{rowstyle|}}}"><th class="{{{labelclass|}}}" style="text-align:left; white-space:n...」)

(差分) ←前の版 | 最新版 (差分) | 次の版→ (差分)
移動: 案内検索
Template Info このテンプレートの解説はテンプレート:Infobox/rowldd/docから呼び出されています[編集] [履歴]

Infobox/rowlddはInfoboxを組成するためのテンプレートです。ラベル付きデータ行(2列)作成用です。

引数一覧

{{Infobox/rowldd
 |rowstyle=
 |labelstyle=
 |label=
 |datastyle=
 |data=
 |datastyle2=
 |data2=
}}

既定値

  • rowstyle - vertical-align:top
  • labelstyle - white-space:nowrap; text-align:left;font-weight:bold
  • datastyle,datastyle2 - text-align:left; background-color:transparent

使用例

常にtableの中で使用します。

  • 入力例
<table>
{{Infobox/rowldd
 |labelstyle= width:5em; background-color:orange
 |label= label
 |datastyle= width:15em; background-color:yellowgreen
 |data= data<br />data<br />data
 |datastyle2= width:25em; background-color:limegreen
 |data2= data2<br />data2
}}
</table>
  • 出力例
labeldata
data
data
data2
data2

関連テンプレート