Difference between revisions of "Template:Infobox"
Jump to navigation
Jump to search
KimPegasus (talk | contribs) (First pass infobox metatemplate.) |
KimPegasus (talk | contribs) (Rearrange image position + add caption) |
||
Line 1: | Line 1: | ||
− | + | <table class="box {{{color|gray}}} infobox"> | |
− | |||
− | <table class="box {{{color|gray}}} | ||
<caption class="infobox__title">{{{title | {{ROOTPAGENAME}}}}}</caption> | <caption class="infobox__title">{{{title | {{ROOTPAGENAME}}}}}</caption> | ||
+ | {{#if: {{{image|}}} | ||
+ | | <tr><td class="infobox__image" colspan="2">[[File:{{{image}}}|320px|frameless]]</td></tr> | ||
+ | }} | ||
+ | {{#if: {{{image_caption|}}} | ||
+ | | <tr><td class="infobox__caption" colspan="2">{{{image_caption}}}</td></tr> | ||
+ | }} | ||
{{Infobox/Row | {{{heading1|}}} | {{{key1|}}} | {{{value1|}}} | color={{{color|gray}}} }} | {{Infobox/Row | {{{heading1|}}} | {{{key1|}}} | {{{value1|}}} | color={{{color|gray}}} }} | ||
{{Infobox/Row | {{{heading2|}}} | {{{key2|}}} | {{{value2|}}} | color={{{color|gray}}} }} | {{Infobox/Row | {{{heading2|}}} | {{{key2|}}} | {{{value2|}}} | color={{{color|gray}}} }} | ||
Line 54: | Line 58: | ||
{{Infobox/Row | {{{heading50|}}} | {{{key50|}}} | {{{value50|}}} | color={{{color|gray}}} }} | {{Infobox/Row | {{{heading50|}}} | {{{key50|}}} | {{{value50|}}} | color={{{color|gray}}} }} | ||
{{#if: {{{extension|}}} | <tr><td colspan="2">{{{extension}}}</td></tr> }} | {{#if: {{{extension|}}} | <tr><td colspan="2">{{{extension}}}</td></tr> }} | ||
− | </table | + | </table><noinclude> |
− | |||
{{Documentation}}</noinclude> | {{Documentation}}</noinclude> |
Revision as of 18:44, 6 October 2020
- This documentation is transcluded from Template:Infobox/doc and needs to be edited separately.