「テンプレート:Infobox/rowldd」の版間の差分
提供: Yourpedia
細 (由亜辺出夫 がページ「Infobox/rowldd」を「テンプレート:Infobox/rowldd」に移動しました: 誤記の訂正) |
(クラス設定の除去など) |
||
| 1行目: | 1行目: | ||
<noinclude><table> | <noinclude><table> | ||
| − | </noinclude><tr | + | </noinclude><tr style="vertical-align:top; {{{rowstyle|}}}"><th style="text-align:left; white-space:nowrap; {{{labelstyle|}}}">{{{label|}}}</th><td style="background-color:transparent; {{{datastyle|}}}">{{{data|}}}</td><td style="background-color:transparent; {{{datastyle2|}}}">{{{data2|}}}</td></tr><noinclude> |
</table> | </table> | ||
| − | {{ | + | {{Documentation}} |
</noinclude> | </noinclude> | ||
2018年5月26日 (土) 22:21時点における版
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>
- 出力例
| label | data data data | data2 data2 |
|---|
関連テンプレート
- {{Infobox}}
- {{Infobox/rowh}}
- {{Infobox/rowd}}
- {{Infobox/rowld}}
- {{Infobox/rowhld}}
- {{Infobox/rowhldd}}