「テンプレート:Infobox」の版間の差分
提供: Yourpedia
(条件文を使用しない版) |
|||
1行目: | 1行目: | ||
− | < | + | <includeonly><table class="infobox {{{bodyclass|}}}" style="width:22em; {{{bodystyle|}}}"><!-- |
Caption | Caption | ||
− | -->{{ | + | -->{{Infobox/rowh2 |
+ | |class={{{titleclass|}}} | ||
+ | |header={{{title|}}} | ||
+ | |headerstyle={{{titlestyle|}}} | ||
+ | }}<!-- | ||
Header | Header | ||
− | -->{{ | + | -->{{Infobox/rowh2 |
− | + | |class={{{aboveclass|}}} | |
+ | |header={{{above|}}} | ||
+ | |headerstyle= font-size:125%; {{{abovestyle|}}} | ||
+ | }}<!-- | ||
Subheader1 | Subheader1 | ||
− | -->{{ | + | -->{{Infobox/rowd2 |
+ | |flag={{{subheaderflag|{{{subheaderflag1|}}}}}} | ||
|data={{{subheader|{{{subheader1|}}}}}} | |data={{{subheader|{{{subheader1|}}}}}} | ||
|datastyle={{{subheaderstyle|{{{subheaderstyle1|}}}}}} | |datastyle={{{subheaderstyle|{{{subheaderstyle1|}}}}}} | ||
|class={{{subheaderclass|}}} | |class={{{subheaderclass|}}} | ||
|rowclass={{{subheaderrowclass|{{{subheaderrowclass1|}}}}}} | |rowclass={{{subheaderrowclass|{{{subheaderrowclass1|}}}}}} | ||
− | + | }}<!-- | |
Subheader2 | Subheader2 | ||
− | -->{{ | + | -->{{Infobox/rowd2 |
− | |data={{{subheader2}}} | + | |flag={{{subheaderflag2|}}} |
+ | |data={{{subheader2|}}} | ||
|datastyle={{{subheaderstyle|{{{subheaderstyle2|}}}}}} | |datastyle={{{subheaderstyle|{{{subheaderstyle2|}}}}}} | ||
|class={{{subheaderclass|}}} | |class={{{subheaderclass|}}} | ||
|rowclass={{{subheaderrowclass2|}}} | |rowclass={{{subheaderrowclass2|}}} | ||
− | + | }}<!-- | |
Image1 | Image1 | ||
− | --> | + | -->{{Infobox/rowd2 |
− | | | + | |flag={{{imageflag|{{{imageflag1|}}}}}} |
+ | |data={{{image|{{{image1|}}}}}} | ||
|datastyle={{{imagestyle|}}} | |datastyle={{{imagestyle|}}} | ||
|class={{{imageclass|}}} | |class={{{imageclass|}}} | ||
− | |rowclass={{{imagerowclass1|}}} | + | |rowclass={{{imagerowclass|{{{imagerowclass1|}}}}}} |
− | }} }}<!-- | + | }}{{Infobox/rowd2 |
+ | |flag={{{imageflag|{{{imageflag1|}}}}}} | ||
+ | |data={{{caption|{{{caption1|}}}}}} | ||
+ | |datastyle={{{captionstyle|}}} | ||
+ | |class={{{imageclass|}}} | ||
+ | |rowclass={{{imagerowclass|{{{imagerowclass1|}}}}}} | ||
+ | }}<!-- | ||
Image2 | Image2 | ||
− | --> | + | -->{{Infobox/rowd2 |
− | | | + | |flag={{{imageflag2|}}} |
+ | |data={{{image2|}}} | ||
|datastyle={{{imagestyle|}}} | |datastyle={{{imagestyle|}}} | ||
|class={{{imageclass|}}} | |class={{{imageclass|}}} | ||
|rowclass={{{imagerowclass2|}}} | |rowclass={{{imagerowclass2|}}} | ||
− | }} }}<!-- | + | }}{{Infobox/rowd2 |
− | -->{{Infobox/ | + | |flag={{{imageflag2|}}} |
− | + | |data={{{caption2|}}} | |
− | + | |datastyle={{{captionstyle|}}} | |
− | + | |class={{{imageclass|}}} | |
− | + | |rowclass={{{imagerowclass2|}}} | |
− | }}{{Infobox/ | + | }}<!-- |
− | + | -->{{Infobox/rowhd |header={{{header1|}}} |headerstyle={{{headerstyle|}}} |label={{{label1|}}} |labelstyle={{{labelstyle|}}} |data={{{data1|}}} |datastyle={{{datastyle|}}} |class={{{class1|}}} |rowclass={{{rowclass1|}}} | |
− | + | }}{{Infobox/rowhd |header={{{header2|}}} |headerstyle={{{headerstyle|}}} |label={{{label2|}}} |labelstyle={{{labelstyle|}}} |data={{{data2|}}} |datastyle={{{datastyle|}}} |class={{{class2|}}} |rowclass={{{rowclass2|}}} | |
− | + | }}{{Infobox/rowhd |header={{{header3|}}} |headerstyle={{{headerstyle|}}} |label={{{label3|}}} |labelstyle={{{labelstyle|}}} |data={{{data3|}}} |datastyle={{{datastyle|}}} |class={{{class3|}}} |rowclass={{{rowclass3|}}} | |
− | + | }}{{Infobox/rowhd |header={{{header4|}}} |headerstyle={{{headerstyle|}}} |label={{{label4|}}} |labelstyle={{{labelstyle|}}} |data={{{data4|}}} |datastyle={{{datastyle|}}} |class={{{class4|}}} |rowclass={{{rowclass4|}}} | |
− | }}{{Infobox/ | + | }}{{Infobox/rowhd |header={{{header5|}}} |headerstyle={{{headerstyle|}}} |label={{{label5|}}} |labelstyle={{{labelstyle|}}} |data={{{data5|}}} |datastyle={{{datastyle|}}} |class={{{class5|}}} |rowclass={{{rowclass5|}}} |
− | + | }}{{Infobox/rowhd |header={{{header6|}}} |headerstyle={{{headerstyle|}}} |label={{{label6|}}} |labelstyle={{{labelstyle|}}} |data={{{data6|}}} |datastyle={{{datastyle|}}} |class={{{class6|}}} |rowclass={{{rowclass6|}}} | |
− | + | }}{{Infobox/rowhd |header={{{header7|}}} |headerstyle={{{headerstyle|}}} |label={{{label7|}}} |labelstyle={{{labelstyle|}}} |data={{{data7|}}} |datastyle={{{datastyle|}}} |class={{{class7|}}} |rowclass={{{rowclass7|}}} | |
− | + | }}{{Infobox/rowhd |header={{{header8|}}} |headerstyle={{{headerstyle|}}} |label={{{label8|}}} |labelstyle={{{labelstyle|}}} |data={{{data8|}}} |datastyle={{{datastyle|}}} |class={{{class8|}}} |rowclass={{{rowclass8|}}} | |
− | + | }}{{Infobox/rowhd |header={{{header9|}}} |headerstyle={{{headerstyle|}}} |label={{{label9|}}} |labelstyle={{{labelstyle|}}} |data={{{data9|}}} |datastyle={{{datastyle|}}} |class={{{class9|}}} |rowclass={{{rowclass9|}}} | |
− | }}{{Infobox/ | + | }}{{Infobox/rowhd |header={{{header10|}}} |headerstyle={{{headerstyle|}}} |label={{{label10|}}} |labelstyle={{{labelstyle|}}} |data={{{data10|}}} |datastyle={{{datastyle|}}} |class={{{class10|}}} |rowclass={{{rowclass10|}}} |
− | + | }}{{Infobox/rowhd |header={{{header11|}}} |headerstyle={{{headerstyle|}}} |label={{{label11|}}} |labelstyle={{{labelstyle|}}} |data={{{data11|}}} |datastyle={{{datastyle|}}} |class={{{class11|}}} |rowclass={{{rowclass11|}}} | |
− | + | }}{{Infobox/rowhd |header={{{header12|}}} |headerstyle={{{headerstyle|}}} |label={{{label12|}}} |labelstyle={{{labelstyle|}}} |data={{{data12|}}} |datastyle={{{datastyle|}}} |class={{{class12|}}} |rowclass={{{rowclass12|}}} | |
− | + | }}{{Infobox/rowhd |header={{{header13|}}} |headerstyle={{{headerstyle|}}} |label={{{label13|}}} |labelstyle={{{labelstyle|}}} |data={{{data13|}}} |datastyle={{{datastyle|}}} |class={{{class13|}}} |rowclass={{{rowclass13|}}} | |
− | + | }}{{Infobox/rowhd |header={{{header14|}}} |headerstyle={{{headerstyle|}}} |label={{{label14|}}} |labelstyle={{{labelstyle|}}} |data={{{data14|}}} |datastyle={{{datastyle|}}} |class={{{class14|}}} |rowclass={{{rowclass14|}}} | |
− | }}{{Infobox/ | + | }}{{Infobox/rowhd |header={{{header15|}}} |headerstyle={{{headerstyle|}}} |label={{{label15|}}} |labelstyle={{{labelstyle|}}} |data={{{data15|}}} |datastyle={{{datastyle|}}} |class={{{class15|}}} |rowclass={{{rowclass15|}}} |
− | + | }}{{Infobox/rowhd |header={{{header16|}}} |headerstyle={{{headerstyle|}}} |label={{{label16|}}} |labelstyle={{{labelstyle|}}} |data={{{data16|}}} |datastyle={{{datastyle|}}} |class={{{class16|}}} |rowclass={{{rowclass16|}}} | |
− | + | }}{{Infobox/rowhd |header={{{header17|}}} |headerstyle={{{headerstyle|}}} |label={{{label17|}}} |labelstyle={{{labelstyle|}}} |data={{{data17|}}} |datastyle={{{datastyle|}}} |class={{{class17|}}} |rowclass={{{rowclass17|}}} | |
− | + | }}{{Infobox/rowhd |header={{{header18|}}} |headerstyle={{{headerstyle|}}} |label={{{label18|}}} |labelstyle={{{labelstyle|}}} |data={{{data18|}}} |datastyle={{{datastyle|}}} |class={{{class18|}}} |rowclass={{{rowclass18|}}} | |
− | + | }}{{Infobox/rowhd |header={{{header19|}}} |headerstyle={{{headerstyle|}}} |label={{{label19|}}} |labelstyle={{{labelstyle|}}} |data={{{data19|}}} |datastyle={{{datastyle|}}} |class={{{class19|}}} |rowclass={{{rowclass19|}}} | |
− | }}{{Infobox/ | + | }}{{Infobox/rowhd |header={{{header20|}}} |headerstyle={{{headerstyle|}}} |label={{{label20|}}} |labelstyle={{{labelstyle|}}} |data={{{data20|}}} |datastyle={{{datastyle|}}} |class={{{class20|}}} |rowclass={{{rowclass20|}}} |
− | + | }}{{Infobox/rowhd |header={{{header21|}}} |headerstyle={{{headerstyle|}}} |label={{{label21|}}} |labelstyle={{{labelstyle|}}} |data={{{data21|}}} |datastyle={{{datastyle|}}} |class={{{class21|}}} |rowclass={{{rowclass21|}}} | |
− | + | }}{{Infobox/rowhd |header={{{header22|}}} |headerstyle={{{headerstyle|}}} |label={{{label22|}}} |labelstyle={{{labelstyle|}}} |data={{{data22|}}} |datastyle={{{datastyle|}}} |class={{{class22|}}} |rowclass={{{rowclass22|}}} | |
− | + | }}{{Infobox/rowhd |header={{{header23|}}} |headerstyle={{{headerstyle|}}} |label={{{label23|}}} |labelstyle={{{labelstyle|}}} |data={{{data23|}}} |datastyle={{{datastyle|}}} |class={{{class23|}}} |rowclass={{{rowclass23|}}} | |
− | + | }}{{Infobox/rowhd |header={{{header24|}}} |headerstyle={{{headerstyle|}}} |label={{{label24|}}} |labelstyle={{{labelstyle|}}} |data={{{data24|}}} |datastyle={{{datastyle|}}} |class={{{class24|}}} |rowclass={{{rowclass24|}}} | |
− | }}{{Infobox/ | + | }}{{Infobox/rowhd |header={{{header25|}}} |headerstyle={{{headerstyle|}}} |label={{{label25|}}} |labelstyle={{{labelstyle|}}} |data={{{data25|}}} |datastyle={{{datastyle|}}} |class={{{class25|}}} |rowclass={{{rowclass25|}}} |
− | + | }}{{Infobox/rowhd |header={{{header26|}}} |headerstyle={{{headerstyle|}}} |label={{{label26|}}} |labelstyle={{{labelstyle|}}} |data={{{data26|}}} |datastyle={{{datastyle|}}} |class={{{class26|}}} |rowclass={{{rowclass26|}}} | |
− | + | }}{{Infobox/rowhd |header={{{header27|}}} |headerstyle={{{headerstyle|}}} |label={{{label27|}}} |labelstyle={{{labelstyle|}}} |data={{{data27|}}} |datastyle={{{datastyle|}}} |class={{{class27|}}} |rowclass={{{rowclass27|}}} | |
− | + | }}{{Infobox/rowhd |header={{{header28|}}} |headerstyle={{{headerstyle|}}} |label={{{label28|}}} |labelstyle={{{labelstyle|}}} |data={{{data28|}}} |datastyle={{{datastyle|}}} |class={{{class28|}}} |rowclass={{{rowclass28|}}} | |
− | + | }}{{Infobox/rowhd |header={{{header29|}}} |headerstyle={{{headerstyle|}}} |label={{{label29|}}} |labelstyle={{{labelstyle|}}} |data={{{data29|}}} |datastyle={{{datastyle|}}} |class={{{class29|}}} |rowclass={{{rowclass29|}}} | |
− | }}{{Infobox/ | + | }}{{Infobox/rowhd |header={{{header30|}}} |headerstyle={{{headerstyle|}}} |label={{{label30|}}} |labelstyle={{{labelstyle|}}} |data={{{data30|}}} |datastyle={{{datastyle|}}} |class={{{class30|}}} |rowclass={{{rowclass30|}}} |
− | + | }}{{Infobox/rowhd |header={{{header31|}}} |headerstyle={{{headerstyle|}}} |label={{{label31|}}} |labelstyle={{{labelstyle|}}} |data={{{data31|}}} |datastyle={{{datastyle|}}} |class={{{class31|}}} |rowclass={{{rowclass31|}}} | |
− | + | }}{{Infobox/rowhd |header={{{header32|}}} |headerstyle={{{headerstyle|}}} |label={{{label32|}}} |labelstyle={{{labelstyle|}}} |data={{{data32|}}} |datastyle={{{datastyle|}}} |class={{{class32|}}} |rowclass={{{rowclass32|}}} | |
− | + | }}{{Infobox/rowhd |header={{{header33|}}} |headerstyle={{{headerstyle|}}} |label={{{label33|}}} |labelstyle={{{labelstyle|}}} |data={{{data33|}}} |datastyle={{{datastyle|}}} |class={{{class33|}}} |rowclass={{{rowclass33|}}} | |
− | + | }}{{Infobox/rowhd |header={{{header34|}}} |headerstyle={{{headerstyle|}}} |label={{{label34|}}} |labelstyle={{{labelstyle|}}} |data={{{data34|}}} |datastyle={{{datastyle|}}} |class={{{class34|}}} |rowclass={{{rowclass34|}}} | |
− | }}{{Infobox/ | + | }}{{Infobox/rowhd |header={{{header35|}}} |headerstyle={{{headerstyle|}}} |label={{{label35|}}} |labelstyle={{{labelstyle|}}} |data={{{data35|}}} |datastyle={{{datastyle|}}} |class={{{class35|}}} |rowclass={{{rowclass35|}}} |
− | + | }}{{Infobox/rowhd |header={{{header36|}}} |headerstyle={{{headerstyle|}}} |label={{{label36|}}} |labelstyle={{{labelstyle|}}} |data={{{data36|}}} |datastyle={{{datastyle|}}} |class={{{class36|}}} |rowclass={{{rowclass36|}}} | |
− | + | }}{{Infobox/rowhd |header={{{header37|}}} |headerstyle={{{headerstyle|}}} |label={{{label37|}}} |labelstyle={{{labelstyle|}}} |data={{{data37|}}} |datastyle={{{datastyle|}}} |class={{{class37|}}} |rowclass={{{rowclass37|}}} | |
− | + | }}{{Infobox/rowhd |header={{{header38|}}} |headerstyle={{{headerstyle|}}} |label={{{label38|}}} |labelstyle={{{labelstyle|}}} |data={{{data38|}}} |datastyle={{{datastyle|}}} |class={{{class38|}}} |rowclass={{{rowclass38|}}} | |
− | + | }}{{Infobox/rowhd |header={{{header39|}}} |headerstyle={{{headerstyle|}}} |label={{{label39|}}} |labelstyle={{{labelstyle|}}} |data={{{data39|}}} |datastyle={{{datastyle|}}} |class={{{class39|}}} |rowclass={{{rowclass39|}}} | |
− | }}{{Infobox/ | + | }}{{Infobox/rowhd |header={{{header40|}}} |headerstyle={{{headerstyle|}}} |label={{{label40|}}} |labelstyle={{{labelstyle|}}} |data={{{data40|}}} |datastyle={{{datastyle|}}} |class={{{class40|}}} |rowclass={{{rowclass40|}}} |
− | + | }}{{Infobox/rowhd |header={{{header41|}}} |headerstyle={{{headerstyle|}}} |label={{{label41|}}} |labelstyle={{{labelstyle|}}} |data={{{data41|}}} |datastyle={{{datastyle|}}} |class={{{class41|}}} |rowclass={{{rowclass41|}}} | |
− | + | }}{{Infobox/rowhd |header={{{header42|}}} |headerstyle={{{headerstyle|}}} |label={{{label42|}}} |labelstyle={{{labelstyle|}}} |data={{{data42|}}} |datastyle={{{datastyle|}}} |class={{{class42|}}} |rowclass={{{rowclass42|}}} | |
− | + | }}{{Infobox/rowhd |header={{{header43|}}} |headerstyle={{{headerstyle|}}} |label={{{label43|}}} |labelstyle={{{labelstyle|}}} |data={{{data43|}}} |datastyle={{{datastyle|}}} |class={{{class43|}}} |rowclass={{{rowclass43|}}} | |
− | + | }}{{Infobox/rowhd |header={{{header44|}}} |headerstyle={{{headerstyle|}}} |label={{{label44|}}} |labelstyle={{{labelstyle|}}} |data={{{data44|}}} |datastyle={{{datastyle|}}} |class={{{class44|}}} |rowclass={{{rowclass44|}}} | |
− | }}{{Infobox/ | + | }}{{Infobox/rowhd |header={{{header45|}}} |headerstyle={{{headerstyle|}}} |label={{{label45|}}} |labelstyle={{{labelstyle|}}} |data={{{data45|}}} |datastyle={{{datastyle|}}} |class={{{class45|}}} |rowclass={{{rowclass45|}}} |
− | + | }}{{Infobox/rowhd |header={{{header46|}}} |headerstyle={{{headerstyle|}}} |label={{{label46|}}} |labelstyle={{{labelstyle|}}} |data={{{data46|}}} |datastyle={{{datastyle|}}} |class={{{class46|}}} |rowclass={{{rowclass46|}}} | |
− | + | }}{{Infobox/rowhd |header={{{header47|}}} |headerstyle={{{headerstyle|}}} |label={{{label47|}}} |labelstyle={{{labelstyle|}}} |data={{{data47|}}} |datastyle={{{datastyle|}}} |class={{{class47|}}} |rowclass={{{rowclass47|}}} | |
− | + | }}{{Infobox/rowhd |header={{{header48|}}} |headerstyle={{{headerstyle|}}} |label={{{label48|}}} |labelstyle={{{labelstyle|}}} |data={{{data48|}}} |datastyle={{{datastyle|}}} |class={{{class48|}}} |rowclass={{{rowclass48|}}} | |
− | + | }}{{Infobox/rowhd |header={{{header49|}}} |headerstyle={{{headerstyle|}}} |label={{{label49|}}} |labelstyle={{{labelstyle|}}} |data={{{data49|}}} |datastyle={{{datastyle|}}} |class={{{class49|}}} |rowclass={{{rowclass49|}}} | |
− | }}{{Infobox/ | + | }}{{Infobox/rowhd |header={{{header50|}}} |headerstyle={{{headerstyle|}}} |label={{{label50|}}} |labelstyle={{{labelstyle|}}} |data={{{data50|}}} |datastyle={{{datastyle|}}} |class={{{class50|}}} |rowclass={{{rowclass50|}}} |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | }}{{Infobox/ | + | |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | }}{{Infobox/ | + | |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | }}{{Infobox/ | + | |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | }}{{Infobox/ | + | |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | }}{{Infobox/ | + | |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | }}{{Infobox/ | + | |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | }}{{Infobox/ | + | |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | }}{{Infobox/ | + | |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | }}{{Infobox/ | + | |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | }}{{Infobox/ | + | |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | }}{{Infobox/ | + | |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | }}{{Infobox/ | + | |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | }}{{Infobox/ | + | |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | }}{{Infobox/ | + | |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | }}{{Infobox/ | + | |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | }}{{Infobox/ | + | |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | }}{{Infobox/ | + | |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | }}{{Infobox/ | + | |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | }}{{Infobox/ | + | |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | }}{{Infobox/ | + | |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | }}{{Infobox/ | + | |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | }}{{Infobox/ | + | |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | }}{{Infobox/ | + | |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | }}{{Infobox/ | + | |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | }}{{Infobox/ | + | |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | }}{{Infobox/ | + | |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | }}{{Infobox/ | + | |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | }}{{Infobox/ | + | |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | }}{{Infobox/ | + | |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | }}{{Infobox/ | + | |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | }}{{Infobox/ | + | |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | }}{{Infobox/ | + | |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | }}{{Infobox/ | + | |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | }}{{Infobox/ | + | |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | }}{{Infobox/ | + | |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | }}{{Infobox/ | + | |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | }}{{Infobox/ | + | |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | }}{{Infobox/ | + | |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
}}<!-- Below | }}<!-- Below | ||
− | -->{{ | + | -->{{Infobox/rowd2 |
+ | |flag={{{belowflag|}}} | ||
+ | |data={{{below|}}} | ||
+ | |datastyle= {{{belowstyle|}}} | ||
+ | |class={{{belowclass|}}} | ||
+ | }}<!-- | ||
Navbar | Navbar | ||
− | -->{{ | + | -->{{Infobox/rowd2 |
− | + | |flag={{{nameflag|{{{tnavbarflag|}}}}}} | |
+ | |data=[[:テンプレート:{{{name|{{{tnavbar|}}}}}}|テンプレートを表示]] | ||
+ | |datastyle= text-align:right; font-size:85% | ||
+ | }}</table></includeonly><noinclude> | ||
{{Documentation}} | {{Documentation}} | ||
− | + | </noinclude> |
2018年5月11日 (金) 21:09時点における版
Infoboxテンプレートは、Infoboxを作成するためのメタテンプレートです。Wikipediaの同名テンプレートとの互換を実現するために作成しました。
引数一覧
- body全体にかかる引数
- bodyclass:cssクラスを指定します。既定値は「infobox」に設定されており、引数を指定すると「infobox (bodyclass)」という名前のクラスになります。
- bodystyle:スタイルを指定します。既定値として「width:22em; clear:right; float:right」が設定されており、引数を指定するとスタイルが追加・修正されます。
- 最下部の、テンプレート本体への内部リンク
- nameまたはtnavbar:「テンプレート:ほげほげ」の「ほげほげ」にあたる文字列を入力します。
- nameflagまたはtnavbarflag:引数にNULL値を指定すると、テンプレートへのリンクが出力表示されなくなります。
コンテンツ
|
スタイル
|
Infobox使用テンプレートの移入時調整手順
- 条件文は、表示崩れの原因になるため、除去します。
- スタイルの設定がやや複雑に書かれていて、title行やsubheader行、caption行が活用されていない場合などは、入力先を整理して簡潔に書き直した方がいいと思います。
- 最下部のテンプレートへのリンクを表示したくない場合は、nameflagないしtnavbarflagの引数にNULL値を指定します。表示したい場合は、既にnameないしtnavbarが入力指定されていれば、そのままで問題ないと思いますが、入力指定がなければ、テンプレート名を入力指定します。
限界
- ラベル付データ行は40行あり、それを超える行は表示されなくなります。
- ラベル付データ行のラベルの列を消してデータを表示することはできません。
- 引数「child」を指定することによって、別のInfobox内に組込み可能なInfobox(Infoboxからtableタグをなくした版)にする機能はありません。
- 行の表示・非表示は、制御できません。条件文が使えない前提があり、またclass{{{変数|}}}="hiddenStructure"のように書いて、「変数」に入力があったときコードを壊して出力表示させるというやり方を使うと、レイアウトが崩れ易くなるためです。
- とはいえ、或る行に何も入力がなければ、行が細く表示されますので、
- 画像の欄は、「画像ファイル」と「画像サイズ」と「画像コメント」を別々に入力する仕様にするよりも、「[[画像:画像ファイル{{!}}画像サイズ{{!}}画像コメント]]」をまとめて入力する仕様にする
- 外部リンクの欄を作るときは、「URL」と「サイト名」を別々に入力する仕様にするよりも、「[URL サイト名]」をまとめて入力する仕様にする
- など工夫すれば、それほど目立たなくなると思います。
フォーマット
{{Infobox |bodyclass= |bodystyle= |title= |titlestyle= |above= |abovestyle= |subheader= |subheaderstyle= |subheader2= |subheaderstyle2= |image= |imagestyle= |caption= |captionstyle= |image2= |imagestyle2= |caption2= |captionstyle2= |headerstyle= |labelstyle= |datastyle= |header1= |label1= |data1= |header2= |label2= |data2= . . . |header40= |label40= |data40= |below= |belowstyle= |tnavbar= }}