「テンプレート:Infobox/rowldd」の版間の差分
提供: Yourpedia
								
												
				|  (ページの作成:「<noinclude><table> </noinclude><tr class="{{{rowclass|}}}" style="vertical-align:top; {{{rowstyle|}}}"><th class="{{{labelclass|}}}" style="text-align:left; white-space:n...」) | 細 (表示崩れの原因になっているかもしれない箇所の修正) | ||
| (同じ利用者による、間の2版が非表示) | |||
| 1行目: | 1行目: | ||
| − | < | + | <includeonly><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></includeonly><noinclude> | 
| − | + | {{Documentation}} | |
| − | < | + | |
| − | {{ | + | |
| </noinclude> | </noinclude> | ||
2019年2月3日 (日) 05:35時点における最新版
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}}


