Difference between revisions of "Template:Infobox"
Wikisimpsons - The Simpsons Wiki
m |
m |
||
Line 1: | Line 1: | ||
− | {| align="right" style=" | + | {| align="right" cellspacing="3" style="padding:0; border:2px solid #{{DarkColorSwitch}}; border-spacing:3px; margin:-3px; width:auto; font-size:100%; clear:none; background-color:#{{LightColorSwitch}}; border-top-left-radius: 5px; border-bottom-left-radius: 5px; border-top-right-radius: 5px; border-bottom-right-radius: 5px; border-radius: {{{Curve|10px}}};" |
|- | |- | ||
− | | | + | | colspan="2" style="text-align:center; font-size:125%; font-weight:bold;" | {{{name|{{PAGENAME}}}}} |
− | |||
|- | |- | ||
− | + | {{#if:{{{image|}}}|{{!}} colspan="2" style="text-align: center;" {{!}} {{infobox image|image={{{image}}}|image_size={{{image_size}}}|caption={{#if:{{{caption|}}}|{{{caption}}}}} }} }} | |
− | |||
− | {{#if:{{{ | ||
− | |||
− | |||
|- | |- | ||
− | {{#if:{{{ | + | {{#if:{{{image2|}}}|{{!}} colspan="2" style="text-align: center;" {{!}} {{infobox image|image={{{image2}}}|image_size={{{image_size2}}}|caption={{#if:{{{caption2|}}}|{{{caption2}}}}} }} }} |
− | {{!}} {{{ | ||
|- | |- | ||
− | + | | colspan="2" style="text-align:center; background:#{{DarkColorSwitch}}; border-radius: 10px;" | '''{{{subject}}} information''' | |
− | + | {| align="center" style="background: #FFFDF0; width: 100%; border-radius: {{{Curve|10px}}};" | |
− | |||
− | { | ||
− | |||
− | |||
− | {{{ | ||
|- | |- | ||
{{#if:{{{data1|}}}| | {{#if:{{{data1|}}}| | ||
Line 61: | Line 50: | ||
{{!}} style="border-top: 1px solid #aaa;" {{!}} {{{data10}}} }} | {{!}} style="border-top: 1px solid #aaa;" {{!}} {{{data10}}} }} | ||
|- | |- | ||
+ | {{#if:{{{data11|}}}| | ||
+ | ! align="right" width="80px" style="border-top: 1px solid #aaa;" {{!}} {{{title11}}}: | ||
+ | {{!}} style="border-top: 1px solid #aaa;" {{!}} {{{data11}}} }} | ||
+ | |- | ||
+ | {{#if:{{{data12|}}}| | ||
+ | ! align="right" width="80px" style="border-top: 1px solid #aaa;" {{!}} {{{title12}}}: | ||
+ | {{!}} style="border-top: 1px solid #aaa;" {{!}} {{{data12}}} }} | ||
+ | |- | ||
+ | {{#if:{{{data13|}}}| | ||
+ | ! align="right" width="80px" style="border-top: 1px solid #aaa;" {{!}} {{{title13}}}: | ||
+ | {{!}} style="border-top: 1px solid #aaa;" {{!}} {{{data13}}} }} | ||
+ | |- | ||
+ | {{#if:{{{data14|}}}| | ||
+ | ! align="right" width="80px" style="border-top: 1px solid #aaa;" {{!}} {{{title14}}}: | ||
+ | {{!}} style="border-top: 1px solid #aaa;" {{!}} {{{data14}}} }} | ||
+ | |- | ||
+ | {{#if:{{{data15|}}}| | ||
+ | ! align="right" width="80px" style="border-top: 1px solid #aaa;" {{!}} {{{title15}}}: | ||
+ | {{!}} style="border-top: 1px solid #aaa;" {{!}} {{{data15}}} }} | ||
+ | |- | ||
+ | {{#if:{{{data16|}}}| | ||
+ | ! align="right" width="80px" style="border-top: 1px solid #aaa;" {{!}} {{{title16}}}: | ||
+ | {{!}} style="border-top: 1px solid #aaa;" {{!}} {{{data16}}} }} | ||
+ | |- | ||
+ | {{#if:{{{data17|}}}| | ||
+ | ! align="right" width="80px" style="border-top: 1px solid #aaa;" {{!}} {{{title17}}}: | ||
+ | {{!}} style="border-top: 1px solid #aaa;" {{!}} {{{data17}}} }} | ||
+ | |- | ||
+ | {{#if:{{{data18|}}}| | ||
+ | ! align="right" width="80px" style="border-top: 1px solid #aaa;" {{!}} {{{title18}}}: | ||
+ | {{!}} style="border-top: 1px solid #aaa;" {{!}} {{{data18}}} }} | ||
+ | |- | ||
+ | {{#if:{{{data19|}}}| | ||
+ | ! align="right" width="80px" style="border-top: 1px solid #aaa;" {{!}} {{{title19}}}: | ||
+ | {{!}} style="border-top: 1px solid #aaa;" {{!}} {{{data19}}} }} | ||
+ | |- | ||
+ | {{#if:{{{data20|}}}| | ||
+ | ! align="right" width="80px" style="border-top: 1px solid #aaa;" {{!}} {{{title20}}}: | ||
+ | {{!}} style="border-top: 1px solid #aaa;" {{!}} {{{data20}}} }} | ||
+ | |- | ||
+ | {{#if:{{{data21|}}}| | ||
+ | ! align="right" width="80px" style="border-top: 1px solid #aaa;" {{!}} {{{title21}}}: | ||
+ | {{!}} style="border-top: 1px solid #aaa;" {{!}} {{{data21}}} }} | ||
+ | |- | ||
+ | {{#if:{{{data22|}}}| | ||
+ | ! align="right" width="80px" style="border-top: 1px solid #aaa;" {{!}} {{{title22}}}: | ||
+ | {{!}} style="border-top: 1px solid #aaa;" {{!}} {{{data22}}} }} | ||
+ | |- | ||
+ | {{#if:{{{data23|}}}| | ||
+ | ! align="right" width="80px" style="border-top: 1px solid #aaa;" {{!}} {{{title23}}}: | ||
+ | {{!}} style="border-top: 1px solid #aaa;" {{!}} {{{data23}}} }} | ||
+ | |- | ||
+ | {{#if:{{{data24|}}}| | ||
+ | ! align="right" width="80px" style="border-top: 1px solid #aaa;" {{!}} {{{title24}}}: | ||
+ | {{!}} style="border-top: 1px solid #aaa;" {{!}} {{{data24}}} }} | ||
+ | |- | ||
+ | {{#if:{{{data25|}}}| | ||
+ | ! align="right" width="80px" style="border-top: 1px solid #aaa;" {{!}} {{{title25}}}: | ||
+ | {{!}} style="border-top: 1px solid #aaa;" {{!}} {{{data25}}} }} | ||
+ | |- | ||
+ | {{#if:{{{data26|}}}| | ||
+ | ! align="right" width="80px" style="border-top: 1px solid #aaa;" {{!}} {{{title26}}}: | ||
+ | {{!}} style="border-top: 1px solid #aaa;" {{!}} {{{data26}}} }} | ||
+ | |- | ||
+ | {{#if:{{{data27|}}}| | ||
+ | ! align="right" width="80px" style="border-top: 1px solid #aaa;" {{!}} {{{title27}}}: | ||
+ | {{!}} style="border-top: 1px solid #aaa;" {{!}} {{{data27}}} }} | ||
+ | |- | ||
+ | {{#if:{{{data28|}}}| | ||
+ | ! align="right" width="80px" style="border-top: 1px solid #aaa;" {{!}} {{{title28}}}: | ||
+ | {{!}} style="border-top: 1px solid #aaa;" {{!}} {{{data28}}} }} | ||
+ | |- | ||
+ | {{#if:{{{data29|}}}| | ||
+ | ! align="right" width="80px" style="border-top: 1px solid #aaa;" {{!}} {{{title29}}}: | ||
+ | {{!}} style="border-top: 1px solid #aaa;" {{!}} {{{data29}}} }} | ||
+ | |- | ||
+ | {{#if:{{{data30|}}}| | ||
+ | ! align="right" width="80px" style="border-top: 1px solid #aaa;" {{!}} {{{title30}}}: | ||
+ | {{!}} style="border-top: 1px solid #aaa;" {{!}} {{{data30}}} }} | ||
|} | |} | ||
+ | {{#if:{{{name|}}}|{{align|right|{{navbar|{{{name}}}|mini=1}}}}}} | ||
|} | |} | ||
<noinclude> | <noinclude> | ||
<pre> | <pre> | ||
{{Infobox | {{Infobox | ||
− | |name= | + | |name = |
− | |image= | + | |image = |
− | |image2= | + | |image_size = |
− | | | + | |caption = |
− | | | + | |image2 = |
− | |subject= | + | |image_size2 = |
− | |title1= | + | |caption2 = |
− | |data1= | + | |subject = |
− | |title2= | + | |title1 = |
− | |data2= | + | |data1 = |
− | |title3= | + | |title2 = |
− | |data3= | + | |data2 = |
− | |title4= | + | |title3 = |
− | |data4= | + | |data3 = |
− | |title5= | + | |title4 = |
− | |data5= | + | |data4 = |
− | |title6= | + | |title5 = |
− | |data6= | + | |data5 = |
− | |title7= | + | |title6 = |
− | |data7= | + | |data6 = |
− | |title8= | + | |title7 = |
− | |data8= | + | |data7 = |
− | |title9= | + | |title8 = |
− | |data9= | + | |data8 = |
− | |title10= | + | |title9 = |
− | |data10= | + | |data9 = |
+ | |title10 = | ||
+ | |data10 = | ||
+ | |title11 = | ||
+ | |data11 = | ||
+ | |title12 = | ||
+ | |data12 = | ||
+ | |title13 = | ||
+ | |data13 = | ||
+ | |title14 = | ||
+ | |data14 = | ||
+ | |title15 = | ||
+ | |data15 = | ||
+ | |title16 = | ||
+ | |data16 = | ||
+ | |title17 = | ||
+ | |data17 = | ||
+ | |title18 = | ||
+ | |data18 = | ||
+ | |title19 = | ||
+ | |data19 = | ||
+ | |title20 = | ||
+ | |data20 = | ||
+ | |title21 = | ||
+ | |data21 = | ||
+ | |title22 = | ||
+ | |data22 = | ||
+ | |title23 = | ||
+ | |data23 = | ||
+ | |title24 = | ||
+ | |data24 = | ||
+ | |title25 = | ||
+ | |data25 = | ||
+ | |title26 = | ||
+ | |data26 = | ||
+ | |title27 = | ||
+ | |data27 = | ||
+ | |title28 = | ||
+ | |data28 = | ||
+ | |title29 = | ||
+ | |data29 = | ||
+ | |title30 = | ||
+ | |data30 = | ||
}} | }} | ||
</pre> | </pre> | ||
[[Category:Templates]][[Category:Infoboxes]]</noinclude> | [[Category:Templates]][[Category:Infoboxes]]</noinclude> |
Revision as of 17:03, March 12, 2021
Infobox | |
{{{subject}}} information
|
{{Infobox |name = |image = |image_size = |caption = |image2 = |image_size2 = |caption2 = |subject = |title1 = |data1 = |title2 = |data2 = |title3 = |data3 = |title4 = |data4 = |title5 = |data5 = |title6 = |data6 = |title7 = |data7 = |title8 = |data8 = |title9 = |data9 = |title10 = |data10 = |title11 = |data11 = |title12 = |data12 = |title13 = |data13 = |title14 = |data14 = |title15 = |data15 = |title16 = |data16 = |title17 = |data17 = |title18 = |data18 = |title19 = |data19 = |title20 = |data20 = |title21 = |data21 = |title22 = |data22 = |title23 = |data23 = |title24 = |data24 = |title25 = |data25 = |title26 = |data26 = |title27 = |data27 = |title28 = |data28 = |title29 = |data29 = |title30 = |data30 = }}