「テンプレート:Infobox/rowhldd」の版間の差分
提供: Yourpedia
細 (由亜辺出夫 がページ「Infobox/rowhldd」を「テンプレート:Infobox/rowhldd」に移動しました: 誤記の訂正) |
細 (表示崩れの原因になっているかもしれない箇所の修正) |
||
| (同じ利用者による、間の2版が非表示) | |||
| 1行目: | 1行目: | ||
| − | < | + | <includeonly><tr><th colspan="3" style="background-color:transparent; {{{headerstyle|}}}">{{{header|}}}</th></tr> |
| − | + | <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> | |
| − | <tr | + | {{Documentation}} |
| − | < | + | |
| − | {{ | + | |
</noinclude> | </noinclude> | ||
2019年2月3日 (日) 05:32時点における最新版
Infobox/rowhlddはInfoboxを組成するためのテンプレートです。ヘッダ・ラベル付きデータ行(2列)作成用です。
引数一覧[編集]
{{Infobox/rowhldd
|headerstyle=
|header=
|rowstyle=
|labelstyle=
|label=
|datastyle=
|data=
|datastyle2=
|data2=
}}
既定値[編集]
- 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,datastyle2 - text-align:left; background-color:transparent
使用例[編集]
常にtableの中で使用します。
- 入力例
<table>
{{Infobox/rowhldd
|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
|datastyle2= width:25em; background-color:limegreen
|data2= data2<br />data2
}}
</table>
- 出力例
| header | ||
|---|---|---|
| label | data data data | data2 data2 |
関連テンプレート[編集]
- {{Infobox}}
- {{Infobox/rowh}}
- {{Infobox/rowd}}
- {{Infobox/rowld}}
- {{Infobox/rowhld}}
- {{Infobox/rowldd}}