「テンプレート:Infobox」の版間の差分
提供: Yourpedia
細 (縦棒をテンプレ化) |
(hiddenStructure使わない版) |
||
| 1行目: | 1行目: | ||
| − | <includeonly><table class="infobox {{{bodyclass|}}}" style="width:22em; {{{bodystyle|}}}"> | + | <includeonly><table class="infobox {{{bodyclass|}}}" style="width:22em; {{{bodystyle|}}}"> |
| − | + | {{Infobox/rowh | |
| − | + | ||
|class={{{titleclass|}}} | |class={{{titleclass|}}} | ||
| + | |style={{{titlestyle|}}} | ||
|header={{{title|}}} | |header={{{title|}}} | ||
| − | | | + | |colnum={{{colnum|2}}} |
| − | }} | + | }} |
| − | + | {{Infobox/rowh | |
| − | + | ||
|class={{{aboveclass|}}} | |class={{{aboveclass|}}} | ||
| + | |style= font-size:125%; {{{abovestyle|}}} | ||
|header={{{above|}}} | |header={{{above|}}} | ||
| − | | | + | |colnum={{{colnum|2}}} |
| − | }} | + | }} |
| − | + | {{Infobox/rowd | |
| − | + | |class={{{subheaderclass|}}} | |
| − | | | + | |style={{{subheaderstyle|{{{subheaderstyle1|}}}}}} |
|data={{{subheader|{{{subheader1|}}}}}} | |data={{{subheader|{{{subheader1|}}}}}} | ||
| − | | | + | |colnum={{{colnum|2}}} |
| + | }} | ||
| + | {{Infobox/rowd | ||
|class={{{subheaderclass|}}} | |class={{{subheaderclass|}}} | ||
| − | | | + | |style={{{subheaderstyle|{{{subheaderstyle2|}}}}}} |
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
|data={{{subheader2|}}} | |data={{{subheader2|}}} | ||
| − | | | + | |colnum={{{colnum|2}}} |
| − | |class={{{ | + | }} |
| − | + | {{Infobox/rowd | |
| − | }} | + | |class={{{imageclass|{{{imageclass1|}}}}}} |
| − | + | |style={{{imagestyle|{{{imagestyle1|}}}}}} | |
| − | + | ||
| − | | | + | |
|data={{{image|{{{image1|}}}}}} | |data={{{image|{{{image1|}}}}}} | ||
| − | | | + | |colnum={{{colnum|2}}} |
| − | + | }} | |
| − | | | + | {{Infobox/rowd |
| − | + | |class={{{imageclass|{{{imageclass1|}}}}}} | |
| − | | | + | |style={{{captionstyle|{{{captionstyle1|}}}}}} |
|data={{{caption|{{{caption1|}}}}}} | |data={{{caption|{{{caption1|}}}}}} | ||
| − | | | + | |colnum={{{colnum|2}}} |
| − | + | }} | |
| − | | | + | {{Infobox/rowd |
| − | + | |class={{{imageclass|{{{imageclass2|}}}}}} | |
| − | + | |style={{{imagestyle|{{{imagestyle2|}}}}}} | |
| − | + | ||
| − | + | ||
|data={{{image2|}}} | |data={{{image2|}}} | ||
| − | | | + | |colnum={{{colnum|2}}} |
| − | |class={{{imageclass| | + | }} |
| − | + | {{Infobox/rowd | |
| − | }} | + | |class={{{imageclass|{{{imageclass2|}}}}}} |
| − | | | + | |style={{{captionstyle|{{{captionstyle2|}}}}}} |
|data={{{caption2|}}} | |data={{{caption2|}}} | ||
| − | | | + | |colnum={{{colnum|2}}} |
| − | + | }} | |
| − | + | {{Infobox/rowhld | |
| − | + | |rowclass={{{rowclass1|}}} | |
| − | + | |rowstyle={{{rowstyle1|}}} | |
| − | + | |headerclass={{{headerclass|}}} | |
| − | + | |headerstyle={{{headerstyle|}}} | |
| − | }}{{Infobox/ | + | |header={{{header1|}}} |
| − | + | |colnum={{{colnum|2}}} | |
| − | + | |labelclass={{{labelclass|}}} | |
| − | + | |labelstyle={{{labelstyle|}}} | |
| − | + | |label={{{label1|}}} | |
| − | }}{{Infobox/ | + | |dataclass={{{class1|}}} |
| − | + | |datastyle={{{datastyle|}}} | |
| − | + | |data={{{data1|}}} | |
| − | + | |datacolnum={{{datacolnum|1}}} | |
| − | + | }} | |
| − | }}{{Infobox/ | + | {{Infobox/rowhld |
| − | + | |rowclass={{{rowclass2|}}} | |
| − | + | |rowstyle={{{rowstyle2|}}} | |
| − | + | |headerclass={{{headerclass|}}} | |
| − | + | |headerstyle={{{headerstyle|}}} | |
| − | }}{{Infobox/ | + | |header={{{header2|}}} |
| − | + | |colnum={{{colnum|2}}} | |
| − | + | |labelclass={{{labelclass|}}} | |
| − | + | |labelstyle={{{labelstyle|}}} | |
| − | + | |label={{{label2|}}} | |
| − | }}{{Infobox/ | + | |dataclass={{{class2|}}} |
| − | + | |datastyle={{{datastyle|}}} | |
| − | + | |data={{{data2|}}} | |
| − | + | |datacolnum={{{datacolnum|1}}} | |
| − | + | }} | |
| − | }}{{Infobox/ | + | {{Infobox/rowhld |
| − | + | |rowclass={{{rowclass3|}}} | |
| − | + | |rowstyle={{{rowstyle3|}}} | |
| − | + | |headerclass={{{headerclass|}}} | |
| − | + | |headerstyle={{{headerstyle|}}} | |
| − | }}{{Infobox/ | + | |header={{{header3|}}} |
| − | + | |colnum={{{colnum|2}}} | |
| − | + | |labelclass={{{labelclass|}}} | |
| − | + | |labelstyle={{{labelstyle|}}} | |
| − | + | |label={{{label3|}}} | |
| − | }}{{Infobox/ | + | |dataclass={{{class3|}}} |
| − | + | |datastyle={{{datastyle|}}} | |
| − | + | |data={{{data3|}}} | |
| − | + | |datacolnum={{{datacolnum|1}}} | |
| − | + | }} | |
| − | }}{{Infobox/ | + | {{Infobox/rowhld |
| − | + | |rowclass={{{rowclass4|}}} | |
| − | }}{{Infobox/ | + | |rowstyle={{{rowstyle4|}}} |
| − | + | |headerclass={{{headerclass|}}} | |
| − | }}{{Infobox/ | + | |headerstyle={{{headerstyle|}}} |
| − | + | |header={{{header4|}}} | |
| − | + | |colnum={{{colnum|2}}} | |
| − | + | |labelclass={{{labelclass|}}} | |
| − | + | |labelstyle={{{labelstyle|}}} | |
| − | + | |label={{{label4|}}} | |
| − | + | |dataclass={{{class4|}}} | |
| − | + | |datastyle={{{datastyle|}}} | |
| + | |data={{{data4|}}} | ||
| + | |datacolnum={{{datacolnum|1}}} | ||
| + | }} | ||
| + | {{Infobox/rowhld | ||
| + | |rowclass={{{rowclass5|}}} | ||
| + | |rowstyle={{{rowstyle5|}}} | ||
| + | |headerclass={{{headerclass|}}} | ||
| + | |headerstyle={{{headerstyle|}}} | ||
| + | |header={{{header5|}}} | ||
| + | |colnum={{{colnum|2}}} | ||
| + | |labelclass={{{labelclass|}}} | ||
| + | |labelstyle={{{labelstyle|}}} | ||
| + | |label={{{label5|}}} | ||
| + | |dataclass={{{class5|}}} | ||
| + | |datastyle={{{datastyle|}}} | ||
| + | |data={{{data5|}}} | ||
| + | |datacolnum={{{datacolnum|1}}} | ||
| + | }} | ||
| + | {{Infobox/rowhld | ||
| + | |rowclass={{{rowclass6|}}} | ||
| + | |rowstyle={{{rowstyle6|}}} | ||
| + | |headerclass={{{headerclass|}}} | ||
| + | |headerstyle={{{headerstyle|}}} | ||
| + | |header={{{header6|}}} | ||
| + | |colnum={{{colnum|2}}} | ||
| + | |labelclass={{{labelclass|}}} | ||
| + | |labelstyle={{{labelstyle|}}} | ||
| + | |label={{{label6|}}} | ||
| + | |dataclass={{{class6|}}} | ||
| + | |datastyle={{{datastyle|}}} | ||
| + | |data={{{data6|}}} | ||
| + | |datacolnum={{{datacolnum|1}}} | ||
| + | }} | ||
| + | {{Infobox/rowhld | ||
| + | |rowclass={{{rowclass7|}}} | ||
| + | |rowstyle={{{rowstyle7|}}} | ||
| + | |headerclass={{{headerclass|}}} | ||
| + | |headerstyle={{{headerstyle|}}} | ||
| + | |header={{{header7|}}} | ||
| + | |colnum={{{colnum|2}}} | ||
| + | |labelclass={{{labelclass|}}} | ||
| + | |labelstyle={{{labelstyle|}}} | ||
| + | |label={{{label7|}}} | ||
| + | |dataclass={{{class7|}}} | ||
| + | |datastyle={{{datastyle|}}} | ||
| + | |data={{{data7|}}} | ||
| + | |datacolnum={{{datacolnum|1}}} | ||
| + | }} | ||
| + | {{Infobox/rowhld | ||
| + | |rowclass={{{rowclass8|}}} | ||
| + | |rowstyle={{{rowstyle8|}}} | ||
| + | |headerclass={{{headerclass|}}} | ||
| + | |headerstyle={{{headerstyle|}}} | ||
| + | |header={{{header8|}}} | ||
| + | |colnum={{{colnum|2}}} | ||
| + | |labelclass={{{labelclass|}}} | ||
| + | |labelstyle={{{labelstyle|}}} | ||
| + | |label={{{label8|}}} | ||
| + | |dataclass={{{class8|}}} | ||
| + | |datastyle={{{datastyle|}}} | ||
| + | |data={{{data8|}}} | ||
| + | |datacolnum={{{datacolnum|1}}} | ||
| + | }} | ||
| + | {{Infobox/rowhld | ||
| + | |rowclass={{{rowclass9|}}} | ||
| + | |rowstyle={{{rowstyle9|}}} | ||
| + | |headerclass={{{headerclass|}}} | ||
| + | |headerstyle={{{headerstyle|}}} | ||
| + | |header={{{header9|}}} | ||
| + | |colnum={{{colnum|2}}} | ||
| + | |labelclass={{{labelclass|}}} | ||
| + | |labelstyle={{{labelstyle|}}} | ||
| + | |label={{{label9|}}} | ||
| + | |dataclass={{{class9|}}} | ||
| + | |datastyle={{{datastyle|}}} | ||
| + | |data={{{data9|}}} | ||
| + | |datacolnum={{{datacolnum|1}}} | ||
| + | }} | ||
| + | {{Infobox/rowhld | ||
| + | |rowclass={{{rowclass10|}}} | ||
| + | |rowstyle={{{rowstyle10|}}} | ||
| + | |headerclass={{{headerclass|}}} | ||
| + | |headerstyle={{{headerstyle|}}} | ||
| + | |header={{{header10|}}} | ||
| + | |colnum={{{colnum|2}}} | ||
| + | |labelclass={{{labelclass|}}} | ||
| + | |labelstyle={{{labelstyle|}}} | ||
| + | |label={{{label10|}}} | ||
| + | |dataclass={{{class10|}}} | ||
| + | |datastyle={{{datastyle|}}} | ||
| + | |data={{{data10|}}} | ||
| + | |datacolnum={{{datacolnum|1}}} | ||
| + | }} | ||
| + | {{Infobox/rowhld | ||
| + | |rowclass={{{rowclass11|}}} | ||
| + | |rowstyle={{{rowstyle11|}}} | ||
| + | |headerclass={{{headerclass|}}} | ||
| + | |headerstyle={{{headerstyle|}}} | ||
| + | |header={{{header11|}}} | ||
| + | |colnum={{{colnum|2}}} | ||
| + | |labelclass={{{labelclass|}}} | ||
| + | |labelstyle={{{labelstyle|}}} | ||
| + | |label={{{label11|}}} | ||
| + | |dataclass={{{class11|}}} | ||
| + | |datastyle={{{datastyle|}}} | ||
| + | |data={{{data11|}}} | ||
| + | |datacolnum={{{datacolnum|1}}} | ||
| + | }} | ||
| + | {{Infobox/rowhld | ||
| + | |rowclass={{{rowclass12|}}} | ||
| + | |rowstyle={{{rowstyle12|}}} | ||
| + | |headerclass={{{headerclass|}}} | ||
| + | |headerstyle={{{headerstyle|}}} | ||
| + | |header={{{header12|}}} | ||
| + | |colnum={{{colnum|2}}} | ||
| + | |labelclass={{{labelclass|}}} | ||
| + | |labelstyle={{{labelstyle|}}} | ||
| + | |label={{{label12|}}} | ||
| + | |dataclass={{{class12|}}} | ||
| + | |datastyle={{{datastyle|}}} | ||
| + | |data={{{data12|}}} | ||
| + | |datacolnum={{{datacolnum|1}}} | ||
| + | }} | ||
| + | {{Infobox/rowhld | ||
| + | |rowclass={{{rowclass13|}}} | ||
| + | |rowstyle={{{rowstyle13|}}} | ||
| + | |headerclass={{{headerclass|}}} | ||
| + | |headerstyle={{{headerstyle|}}} | ||
| + | |header={{{header13|}}} | ||
| + | |colnum={{{colnum|2}}} | ||
| + | |labelclass={{{labelclass|}}} | ||
| + | |labelstyle={{{labelstyle|}}} | ||
| + | |label={{{label13|}}} | ||
| + | |dataclass={{{class13|}}} | ||
| + | |datastyle={{{datastyle|}}} | ||
| + | |data={{{data13|}}} | ||
| + | |datacolnum={{{datacolnum|1}}} | ||
| + | }} | ||
| + | {{Infobox/rowhld | ||
| + | |rowclass={{{rowclass14|}}} | ||
| + | |rowstyle={{{rowstyle14|}}} | ||
| + | |headerclass={{{headerclass|}}} | ||
| + | |headerstyle={{{headerstyle|}}} | ||
| + | |header={{{header14|}}} | ||
| + | |colnum={{{colnum|2}}} | ||
| + | |labelclass={{{labelclass|}}} | ||
| + | |labelstyle={{{labelstyle|}}} | ||
| + | |label={{{label14|}}} | ||
| + | |dataclass={{{class14|}}} | ||
| + | |datastyle={{{datastyle|}}} | ||
| + | |data={{{data14|}}} | ||
| + | |datacolnum={{{datacolnum|1}}} | ||
| + | }} | ||
| + | {{Infobox/rowhld | ||
| + | |rowclass={{{rowclass15|}}} | ||
| + | |rowstyle={{{rowstyle15|}}} | ||
| + | |headerclass={{{headerclass|}}} | ||
| + | |headerstyle={{{headerstyle|}}} | ||
| + | |header={{{header15|}}} | ||
| + | |colnum={{{colnum|2}}} | ||
| + | |labelclass={{{labelclass|}}} | ||
| + | |labelstyle={{{labelstyle|}}} | ||
| + | |label={{{label15|}}} | ||
| + | |dataclass={{{class15|}}} | ||
| + | |datastyle={{{datastyle|}}} | ||
| + | |data={{{data15|}}} | ||
| + | |datacolnum={{{datacolnum|1}}} | ||
| + | }} | ||
| + | {{Infobox/rowhld | ||
| + | |rowclass={{{rowclass16|}}} | ||
| + | |rowstyle={{{rowstyle16|}}} | ||
| + | |headerclass={{{headerclass|}}} | ||
| + | |headerstyle={{{headerstyle|}}} | ||
| + | |header={{{header16|}}} | ||
| + | |colnum={{{colnum|2}}} | ||
| + | |labelclass={{{labelclass|}}} | ||
| + | |labelstyle={{{labelstyle|}}} | ||
| + | |label={{{label16|}}} | ||
| + | |dataclass={{{class16|}}} | ||
| + | |datastyle={{{datastyle|}}} | ||
| + | |data={{{data16|}}} | ||
| + | |datacolnum={{{datacolnum|1}}} | ||
| + | }} | ||
| + | {{Infobox/rowhld | ||
| + | |rowclass={{{rowclass17|}}} | ||
| + | |rowstyle={{{rowstyle17|}}} | ||
| + | |headerclass={{{headerclass|}}} | ||
| + | |headerstyle={{{headerstyle|}}} | ||
| + | |header={{{header17|}}} | ||
| + | |colnum={{{colnum|2}}} | ||
| + | |labelclass={{{labelclass|}}} | ||
| + | |labelstyle={{{labelstyle|}}} | ||
| + | |label={{{label17|}}} | ||
| + | |dataclass={{{class17|}}} | ||
| + | |datastyle={{{datastyle|}}} | ||
| + | |data={{{data17|}}} | ||
| + | |datacolnum={{{datacolnum|1}}} | ||
| + | }} | ||
| + | {{Infobox/rowhld | ||
| + | |rowclass={{{rowclass18|}}} | ||
| + | |rowstyle={{{rowstyle18|}}} | ||
| + | |headerclass={{{headerclass|}}} | ||
| + | |headerstyle={{{headerstyle|}}} | ||
| + | |header={{{header18|}}} | ||
| + | |colnum={{{colnum|2}}} | ||
| + | |labelclass={{{labelclass|}}} | ||
| + | |labelstyle={{{labelstyle|}}} | ||
| + | |label={{{label18|}}} | ||
| + | |dataclass={{{class18|}}} | ||
| + | |datastyle={{{datastyle|}}} | ||
| + | |data={{{data18|}}} | ||
| + | |datacolnum={{{datacolnum|1}}} | ||
| + | }} | ||
| + | {{Infobox/rowhld | ||
| + | |rowclass={{{rowclass19|}}} | ||
| + | |rowstyle={{{rowstyle19|}}} | ||
| + | |headerclass={{{headerclass|}}} | ||
| + | |headerstyle={{{headerstyle|}}} | ||
| + | |header={{{header19|}}} | ||
| + | |colnum={{{colnum|2}}} | ||
| + | |labelclass={{{labelclass|}}} | ||
| + | |labelstyle={{{labelstyle|}}} | ||
| + | |label={{{label19|}}} | ||
| + | |dataclass={{{class19|}}} | ||
| + | |datastyle={{{datastyle|}}} | ||
| + | |data={{{data19|}}} | ||
| + | |datacolnum={{{datacolnum|1}}} | ||
| + | }} | ||
| + | {{Infobox/rowhld | ||
| + | |rowclass={{{rowclass20|}}} | ||
| + | |rowstyle={{{rowstyle20|}}} | ||
| + | |headerclass={{{headerclass|}}} | ||
| + | |headerstyle={{{headerstyle|}}} | ||
| + | |header={{{header20|}}} | ||
| + | |colnum={{{colnum|2}}} | ||
| + | |labelclass={{{labelclass|}}} | ||
| + | |labelstyle={{{labelstyle|}}} | ||
| + | |label={{{label20|}}} | ||
| + | |dataclass={{{class20|}}} | ||
| + | |datastyle={{{datastyle|}}} | ||
| + | |data={{{data20|}}} | ||
| + | |datacolnum={{{datacolnum|1}}} | ||
| + | }} | ||
| + | {{Infobox/rowhld | ||
| + | |rowclass={{{rowclass21|}}} | ||
| + | |rowstyle={{{rowstyle21|}}} | ||
| + | |headerclass={{{headerclass|}}} | ||
| + | |headerstyle={{{headerstyle|}}} | ||
| + | |header={{{header21|}}} | ||
| + | |colnum={{{colnum|2}}} | ||
| + | |labelclass={{{labelclass|}}} | ||
| + | |labelstyle={{{labelstyle|}}} | ||
| + | |label={{{label21|}}} | ||
| + | |dataclass={{{class21|}}} | ||
| + | |datastyle={{{datastyle|}}} | ||
| + | |data={{{data21|}}} | ||
| + | |datacolnum={{{datacolnum|1}}} | ||
| + | }} | ||
| + | {{Infobox/rowhld | ||
| + | |rowclass={{{rowclass22|}}} | ||
| + | |rowstyle={{{rowstyle22|}}} | ||
| + | |headerclass={{{headerclass|}}} | ||
| + | |headerstyle={{{headerstyle|}}} | ||
| + | |header={{{header22|}}} | ||
| + | |colnum={{{colnum|2}}} | ||
| + | |labelclass={{{labelclass|}}} | ||
| + | |labelstyle={{{labelstyle|}}} | ||
| + | |label={{{label22|}}} | ||
| + | |dataclass={{{class22|}}} | ||
| + | |datastyle={{{datastyle|}}} | ||
| + | |data={{{data22|}}} | ||
| + | |datacolnum={{{datacolnum|1}}} | ||
| + | }} | ||
| + | {{Infobox/rowhld | ||
| + | |rowclass={{{rowclass23|}}} | ||
| + | |rowstyle={{{rowstyle23|}}} | ||
| + | |headerclass={{{headerclass|}}} | ||
| + | |headerstyle={{{headerstyle|}}} | ||
| + | |header={{{header23|}}} | ||
| + | |colnum={{{colnum|2}}} | ||
| + | |labelclass={{{labelclass|}}} | ||
| + | |labelstyle={{{labelstyle|}}} | ||
| + | |label={{{label23|}}} | ||
| + | |dataclass={{{class23|}}} | ||
| + | |datastyle={{{datastyle|}}} | ||
| + | |data={{{data23|}}} | ||
| + | |datacolnum={{{datacolnum|1}}} | ||
| + | }} | ||
| + | {{Infobox/rowhld | ||
| + | |rowclass={{{rowclass24|}}} | ||
| + | |rowstyle={{{rowstyle24|}}} | ||
| + | |headerclass={{{headerclass|}}} | ||
| + | |headerstyle={{{headerstyle|}}} | ||
| + | |header={{{header24|}}} | ||
| + | |colnum={{{colnum|2}}} | ||
| + | |labelclass={{{labelclass|}}} | ||
| + | |labelstyle={{{labelstyle|}}} | ||
| + | |label={{{label24|}}} | ||
| + | |dataclass={{{class24|}}} | ||
| + | |datastyle={{{datastyle|}}} | ||
| + | |data={{{data24|}}} | ||
| + | |datacolnum={{{datacolnum|1}}} | ||
| + | }} | ||
| + | {{Infobox/rowhld | ||
| + | |rowclass={{{rowclass25|}}} | ||
| + | |rowstyle={{{rowstyle25|}}} | ||
| + | |headerclass={{{headerclass|}}} | ||
| + | |headerstyle={{{headerstyle|}}} | ||
| + | |header={{{header25|}}} | ||
| + | |colnum={{{colnum|2}}} | ||
| + | |labelclass={{{labelclass|}}} | ||
| + | |labelstyle={{{labelstyle|}}} | ||
| + | |label={{{label25|}}} | ||
| + | |dataclass={{{class25|}}} | ||
| + | |datastyle={{{datastyle|}}} | ||
| + | |data={{{data25|}}} | ||
| + | |datacolnum={{{datacolnum|1}}} | ||
| + | }} | ||
| + | {{Infobox/rowhld | ||
| + | |rowclass={{{rowclass26|}}} | ||
| + | |rowstyle={{{rowstyle26|}}} | ||
| + | |headerclass={{{headerclass|}}} | ||
| + | |headerstyle={{{headerstyle|}}} | ||
| + | |header={{{header26|}}} | ||
| + | |colnum={{{colnum|2}}} | ||
| + | |labelclass={{{labelclass|}}} | ||
| + | |labelstyle={{{labelstyle|}}} | ||
| + | |label={{{label26|}}} | ||
| + | |dataclass={{{class26|}}} | ||
| + | |datastyle={{{datastyle|}}} | ||
| + | |data={{{data26|}}} | ||
| + | |datacolnum={{{datacolnum|1}}} | ||
| + | }} | ||
| + | {{Infobox/rowhld | ||
| + | |rowclass={{{rowclass27|}}} | ||
| + | |rowstyle={{{rowstyle27|}}} | ||
| + | |headerclass={{{headerclass|}}} | ||
| + | |headerstyle={{{headerstyle|}}} | ||
| + | |header={{{header27|}}} | ||
| + | |colnum={{{colnum|2}}} | ||
| + | |labelclass={{{labelclass|}}} | ||
| + | |labelstyle={{{labelstyle|}}} | ||
| + | |label={{{label27|}}} | ||
| + | |dataclass={{{class27|}}} | ||
| + | |datastyle={{{datastyle|}}} | ||
| + | |data={{{data27|}}} | ||
| + | |datacolnum={{{datacolnum|1}}} | ||
| + | }} | ||
| + | {{Infobox/rowhld | ||
| + | |rowclass={{{rowclass28|}}} | ||
| + | |rowstyle={{{rowstyle28|}}} | ||
| + | |headerclass={{{headerclass|}}} | ||
| + | |headerstyle={{{headerstyle|}}} | ||
| + | |header={{{header28|}}} | ||
| + | |colnum={{{colnum|2}}} | ||
| + | |labelclass={{{labelclass|}}} | ||
| + | |labelstyle={{{labelstyle|}}} | ||
| + | |label={{{label28|}}} | ||
| + | |dataclass={{{class28|}}} | ||
| + | |datastyle={{{datastyle|}}} | ||
| + | |data={{{data28|}}} | ||
| + | |datacolnum={{{datacolnum|1}}} | ||
| + | }} | ||
| + | {{Infobox/rowhld | ||
| + | |rowclass={{{rowclass29|}}} | ||
| + | |rowstyle={{{rowstyle29|}}} | ||
| + | |headerclass={{{headerclass|}}} | ||
| + | |headerstyle={{{headerstyle|}}} | ||
| + | |header={{{header29|}}} | ||
| + | |colnum={{{colnum|2}}} | ||
| + | |labelclass={{{labelclass|}}} | ||
| + | |labelstyle={{{labelstyle|}}} | ||
| + | |label={{{label29|}}} | ||
| + | |dataclass={{{class29|}}} | ||
| + | |datastyle={{{datastyle|}}} | ||
| + | |data={{{data29|}}} | ||
| + | |datacolnum={{{datacolnum|1}}} | ||
| + | }} | ||
| + | {{Infobox/rowhld | ||
| + | |rowclass={{{rowclass30|}}} | ||
| + | |rowstyle={{{rowstyle30|}}} | ||
| + | |headerclass={{{headerclass|}}} | ||
| + | |headerstyle={{{headerstyle|}}} | ||
| + | |header={{{header30|}}} | ||
| + | |colnum={{{colnum|2}}} | ||
| + | |labelclass={{{labelclass|}}} | ||
| + | |labelstyle={{{labelstyle|}}} | ||
| + | |label={{{label30|}}} | ||
| + | |dataclass={{{class30|}}} | ||
| + | |datastyle={{{datastyle|}}} | ||
| + | |data={{{data30|}}} | ||
| + | |datacolnum={{{datacolnum|1}}} | ||
| + | }} | ||
| + | {{Infobox/rowd | ||
|class={{{belowclass|}}} | |class={{{belowclass|}}} | ||
| − | }} | + | |style= {{{belowstyle|}}} |
| − | + | |data={{{below|}}} | |
| − | + | |colnum={{{colnum|2}}} | |
| − | | | + | }} |
| − | |data=[[: | + | {{Infobox/rowd |
| − | | | + | |class={{{nameclass|{{{tnavbarclass|{{{belowclass|}}}}}}}}} |
| + | |style= text-align:right; font-size:85% | ||
| + | |data=[[:Template:{{{name|{{{tnavbar|}}}}}}{{!}}テンプレートを表示]] | ||
| + | |colnum={{{colnum|2}}} | ||
}}</table></includeonly><noinclude> | }}</table></includeonly><noinclude> | ||
{{Documentation}} | {{Documentation}} | ||
</noinclude> | </noinclude> | ||
2018年5月18日 (金) 00:16時点における版
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=
}}