Difference between revisions of "Template:Infobox"

From Realm of Shadows
Jump to navigation Jump to search
Line 1: Line 1:
{{#invoke:Infobox|infobox}}<noinclude>
+
{{{!}} class="infobox {{{bodyclass|}}}" cellspacing="5" style="width: 22em; text-align: left; font-size: 88%; line-height: 1.5em; {{{bodystyle|}}}"<!--
 
+
Caption
{{documentation}}
+
-->{{#if:{{{title|}}}|<nowiki/>
<!-- Categories go in the /doc subpage, and interwikis go in Wikidata. -->
+
{{!}}+
</noinclude>
+
{{!}}class="{{{titleclass|}}}" style="font-size: 125%; font-weight: bold; {{{titlestyle|}}}"{{!}}{{{title}}} }}<!--
 +
Header
 +
-->{{#if:{{{above|}}}|<nowiki/>
 +
{{!}}-
 +
{{!}}colspan="2" class="{{{aboveclass|}}}" style="text-align:center; font-size: 125%; font-weight: bold; {{{abovestyle|}}}"{{!}}{{{above}}} }}<!--
 +
Subheader
 +
-->{{#if:{{{subheader|}}}|<nowiki/>
 +
{{!}}-
 +
{{!}}colspan="2" class="{{{subheaderclass|}}}" style="text-align:center; {{{subheaderstyle|}}}"{{!}}{{{subheader}}} }}<!--
 +
<!--
 +
Subheader2
 +
-->{{#if:{{{subheader2|}}}|<nowiki/>
 +
{{!}}-
 +
{{!}}colspan="2" class="{{{subheaderclass|}}}" style="text-align:center; {{{subheaderstyle|}}}"{{!}}{{{subheader2}}} }}<!--
 +
Image
 +
-->{{#if:{{{image|}}}|<nowiki/>
 +
{{!}}-
 +
{{!}}colspan="2" class="{{{imageclass|}}}" style="text-align:center; {{{imagestyle|}}}"{{!}} {{{image}}} {{#if:{{{caption|}}}|<br />
 +
<span style="{{{captionstyle|}}}">{{{caption}}}</span> }} }}<!--
 +
Row 1
 +
-->{{#if:{{{header1|}}}|<nowiki/>

Revision as of 16:14, 29 August 2020

{{{title}}} }}{{#if:|
{{{above}}} }}{{#if:|
{{{subheader}}} }}{{#if:|
{{{subheader2}}} }}{{#if:|
{{{image}}} {{#if:|

{{{caption}}} }} }}{{#if:|