Difference between revisions of "Template:Infobox"

From collargoggle codex
m
Line 1: Line 1:
<table class="box {{{color|gray}}} infobox">
+
<table class="infobox">
<caption class="infobox__title">{{{title | {{ROOTPAGENAME}}}}}</caption>
+
{{#if: {{{title|}}}
 +
  | <caption class="infobox__title">{{{title}}}</caption>
 +
}}
 
{{#if: {{{subtitle|}}}
 
{{#if: {{{subtitle|}}}
   | <tr><td class"infobox__caption" colspan="2">{{{subtitle}}}</td></tr>
+
   | <tr><td class"infobox__subtitle" colspan="2">{{{subtitle}}}</td></tr>
 
}}
 
}}
 
{{#if: {{{image|}}}  
 
{{#if: {{{image|}}}  

Revision as of 11:57, 1 May 2021

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

Template:Infobox/doc