Difference between revisions of "Template:Infobox"

From collargoggle codex
m
Line 1: Line 1:
 
<table class="infobox">
 
<table class="infobox">
 
{{#if: {{{title|}}}
 
{{#if: {{{title|}}}
   | <caption class="infobox__title">{{{title}}}</caption>
+
   | <caption class="infobox_title">{{{title}}}</caption>
 
}}
 
}}
 
{{#if: {{{subtitle|}}}
 
{{#if: {{{subtitle|}}}
   | <tr><td class"infobox__subtitle" colspan="2">{{{subtitle}}}</td></tr>
+
   | <tr><th class"infobox_subtitle" colspan="2">{{{subtitle}}}</th></tr>
 
}}
 
}}
 
{{#if: {{{image|}}}  
 
{{#if: {{{image|}}}  
   | <tr><td class="infobox__image" colspan="2">[[File:{{{image}}}|300px|frameless]]</td></tr>
+
   | <tr><td class="infobox_image" colspan="2">[[File:{{{image}}}|300px|frameless]]</td></tr>
 
}}
 
}}
 
{{#if: {{{image_caption|}}}
 
{{#if: {{{image_caption|}}}
   | <tr><td class="infobox__caption" colspan="2">{{{image_caption}}}</td></tr>
+
   | <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}}} }}

Revision as of 12:35, 1 May 2021

This documentation is transcluded from Template:Infobox/doc and needs to be edited separately.

Template:Infobox/doc