Difference between revisions of "Template:infobox"

Explain xkcd: It's 'cause you're dumb.
Jump to: navigation, search
(further font fixes (filled in wrong value))
m (Protected "Template:infobox": Excessive vandalism (‎[edit=autoconfirmed] (indefinite) ‎[move=autoconfirmed] (indefinite)))
 
(81 intermediate revisions by 21 users not shown)
Line 1: Line 1:
<table class="infobox {{{bodyclass|}}}" cellspacing="5" style="width: 22em; text-align: left; font-size: 88%; line-height: 1.5em; {{{bodystyle|}}}"><!--
+
{{#ifeq:{{{child|}}}|yes||<table class="infobox {{{bodyclass|}}}" cellspacing="5" style="width:22em; {{#if:{{{float|}}}|float: {{{float}}}; clear: {{#ifeq:{{{float|}}}|none|both|{{{float}}}}}; margin: 0 0 1em 1em;}} {{{bodystyle|}}}"><!--
 
  Caption
 
  Caption
-->{{#if:{{{title|}}}|<caption class="{{{titleclass|}}}" style="font-size: 125%; font-weight: bold; {{{titlestyle|}}}">{{{title}}}</caption>}}
+
-->{{#if:{{{title|}}}|<caption class="{{{titleclass|}}}" style="{{{titlestyle|}}}">{{{title}}}</caption>}}<!--
<!--
 
 
  Header
 
  Header
-->{{#if:{{{above|}}}|<tr><td colspan="2" class="{{{aboveclass|}}}" style="text-align:center; font-size: 125%; font-weight: bold; {{{abovestyle|}}}">{{{above}}}</td></tr>}}<!--
+
-->{{#if:{{{above|}}}|<tr><th colspan=2 class="{{{aboveclass|}}}" style="text-align:center; font-size:125%; font-weight:bold; {{{abovestyle|}}}">{{{above}}}</th></tr>}}
Image
+
}}{{#ifeq:{{{child|}}}|yes|{{#if:{{{title|}}}|'''{{{title}}}'''}}}}<!--
-->{{#if:{{{image|}}}|<tr><td colspan="2" style="text-align:center; {{{imagestyle|}}}"> {{{image}}} {{#if:{{{caption|}}}|<br />
+
Subheader1
<span
+
-->{{#if:{{{subheader|{{{subheader1|}}}}}}|{{Infobox/row
 +
|data={{{subheader|{{{subheader1|}}}}}}
 +
|datastyle={{{subheaderstyle|{{{subheaderstyle1|}}}}}}
 +
|class={{{subheaderclass|}}}
 +
|rowclass={{{subheaderrowclass|{{{subheaderrowclass1|}}}}}}
 +
}} }}<!--
 +
Subheader2
 +
-->{{#if:{{{subheader2|}}}|{{Infobox/row
 +
|data={{{subheader2}}}
 +
|datastyle={{{subheaderstyle|{{{subheaderstyle2|}}}}}}
 +
|class={{{subheaderclass|}}}
 +
|rowclass={{{subheaderrowclass2|}}}
 +
}} }}<!--
 +
Image1
 +
-->{{#if:{{{image|{{{image1|}}}}}}|{{Infobox/row
 +
|data={{{image|{{{image1}}} }}}{{#if:{{{caption|{{{caption1|}}}}}}|<br /><span style="
  
{{documentation}}
+
This page is copied from Wikipedia's {{w|Template:Infobox}}.
<!-- Add categories and interwikis to the /doc subpage, not here! -->
+
 
 +
[[Category:Templates]]
 
</noinclude>
 
</noinclude>

Latest revision as of 22:13, 25 August 2017

This page is copied from Wikipedia's Template:Infobox.