「テンプレート:Infobox/rowld」の版間の差分
提供: Yourpedia
(ページの作成:「<noinclude><table> </noinclude><tr class="{{{rowclass|}}}" style="vertical-align:top; {{{rowstyle|}}}"><th class="{{{labelclass|}}}" style="text-align:left; white-space:n...」) |
細 (表示崩れの原因になっているかもしれない箇所の修正) |
||
| (同じ利用者による、間の1版が非表示) | |||
| 1行目: | 1行目: | ||
| − | < | + | <includeonly><tr style="vertical-align:top; {{{rowstyle|}}}"><th style="text-align:left; white-space:nowrap; {{{labelstyle|}}}">{{{label|}}}</th><td colspan="{{{colnum|1}}}" style="background-color:transparent; {{{datastyle|}}}">{{{data|}}}</td></tr></includeonly><noinclude> |
| − | + | {{Documentation}} | |
| − | < | + | |
| − | {{ | + | |
</noinclude> | </noinclude> | ||
2019年2月3日 (日) 05:39時点における最新版
Infobox/rowldはInfoboxを組成するためのテンプレートです。ラベル付きデータ行作成用です。
引数一覧[編集]
{{Infobox/rowld
|rowstyle=
|labelstyle=
|label=
|colnum=
|datastyle=
|data=
}}
既定値[編集]
- rowstyle - vertical-align:top
- labelstyle - font-weight:bold; text-align:left; white-space:nowrap
- datastyle - text-align:left; background-color:transparent
- colnum - 1
使用例[編集]
常にtableの中で使用します。
- 入力例
<table>
{{Infobox/rowld
|labelstyle= width:5em; background-color:orange
|label= label
|datastyle= width:15em; background-color:yellowgreen
|data= data<br />data<br />data
}}
</table>
- 出力例
| label | data data data |
|---|
関連テンプレート[編集]
- {{Infobox}}
- {{Infobox/rowh}}
- {{Infobox/rowd}}
- {{Infobox/rowhld}}
- {{Infobox/rowldd}}
- {{Infobox/rowhldd}}