「テンプレート:Infobox/doc」の版間の差分
ナビゲーションに移動
検索に移動
編集の要約なし
template>Fryed-peach 細 (更新完了) |
template>新幹線 編集の要約なし |
||
43行目: | 43行目: | ||
; bodyclass : このパラメータは、Infobox全体の「class」属性に挿入されます。デフォルトは <code>infobox</code> です。そのため、このパラメータに <code>bordered</code> と記述すると <code>infobox bordered</code> となるので、表全体に罫線が引かれます。 | ; bodyclass : このパラメータは、Infobox全体の「class」属性に挿入されます。デフォルトは <code>infobox</code> です。そのため、このパラメータに <code>bordered</code> と記述すると <code>infobox bordered</code> となるので、表全体に罫線が引かれます。 | ||
== | == ソース・使用例 == | ||
{{Infobox2 | |||
|title = title | |||
|above = above | |||
|abovestyle = background-color:#ccf | |||
|headerstyle = background-color:#ccf | |||
|subheader = subheader | |||
|subheader2 = subheader2 | |||
|image = [[File:Example.svg|200px]] | |||
|caption = caption | |||
|image2 = [[File:Example.svg|200px]] | |||
|caption2 = caption2 | |||
|header1 = header1 | |||
|label2 = label2 | |||
|data2 = data2 | |||
|belowstyle = background-color:#ccf | |||
|below = below | |||
}} | |||
<pre style="overflow:auto;">{{Infobox2 | |||
|bodystyle = | |||
|title = | |||
|titlestyle = | |||
|above = | |||
|abovestyle = | |||
|subheader = | |||
|subheaderclass = | |||
| | |subheaderstyle = | ||
| | |subheader1 = | ||
| | |subheader1class = | ||
| | |subheader1style = | ||
| | |subheader2 = | ||
| | |subheader2class = | ||
| | |subheader2style = | ||
| | |subheader3 = | ||
| | |subheader3class = | ||
| | |subheader3style = | ||
| | |subheader4 = | ||
|subheader4class = | |||
|subheader4style = | |||
|subheader5 = | |||
|subheader5class = | |||
|subheader5style = | |||
| | |image = | ||
|imagestyle = | |||
|caption = | |||
|captionstyle = | |||
|image2 = | |||
|image2style = | |||
|caption1 = | |||
|caption1style = | |||
|image2 = | |||
|image2style = | |||
|caption2 = | |||
|caption2style = | |||
|image2 = | |||
|image2style = | |||
|caption2 = | |||
|caption2style = | |||
|image3 = | |||
|images3tyle = | |||
|caption3 = | |||
|caption3style = | |||
| | |headerstyle = | ||
|labelstyle = | |||
|datastyle = | |||
| | |header1 = | ||
| | |label1 = | ||
|data1 = | |||
|header2 = | |||
|label2 = | |||
|data2 = | |||
|header3 = | |||
|label3 = | |||
|data3 = | |||
|header4 = | |||
|label4 = | |||
|data4 = | |||
|header5 = | |||
|label5 = | |||
|data5 = | |||
|header6 = | |||
|label6 = | |||
|data6 = | |||
|header7 = | |||
|label7 = | |||
|data7 = | |||
|header8 = | |||
|label8 = | |||
|data8 = | |||
|header9 = | |||
|label9 = | |||
|data9 = | |||
|header10 = | |||
|label10 = | |||
|data10 = | |||
|header11 = | |||
|label11 = | |||
|data11 = | |||
|header12 = | |||
|label12 = | |||
|data12 = | |||
|header13 = | |||
|label13 = | |||
|data13 = | |||
|header14 = | |||
|label14 = | |||
|data14 = | |||
|header15 = | |||
|label15 = | |||
|data15 = | |||
|header16 = | |||
|label16 = | |||
|data16 = | |||
|header17 = | |||
|label17 = | |||
|data17 = | |||
|header18 = | |||
|label18 = | |||
|data18 = | |||
|header19 = | |||
|label19 = | |||
|data19 = | |||
|header20 = | |||
|label20 = | |||
|data20 = | |||
. | |||
. | |||
. | |||
|header80 = | |||
|label80 = | |||
|data80 = | |||
| | |belowstyle = | ||
|below = | |||
| below = | |||
}} | }} | ||
</pre><includeonly> | </pre><includeonly> |