Difference between revisions of "Template:infobox"
(add class parameters for title and above, since some vcard infoboxes out there use these for data) |
m (Protected "Template:infobox": Excessive vandalism ([edit=autoconfirmed] (indefinite) [move=autoconfirmed] (indefinite))) |
||
| (90 intermediate revisions by 22 users not shown) | |||
| Line 1: | Line 1: | ||
| − | + | {{#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 | |
| + | -->{{#if:{{{title|}}}|<caption class="{{{titleclass|}}}" style="{{{titlestyle|}}}">{{{title}}}</caption>}}<!-- | ||
| + | Header | ||
| + | -->{{#if:{{{above|}}}|<tr><th colspan=2 class="{{{aboveclass|}}}" style="text-align:center; font-size:125%; font-weight:bold; {{{abovestyle|}}}">{{{above}}}</th></tr>}} | ||
| + | }}{{#ifeq:{{{child|}}}|yes|{{#if:{{{title|}}}|'''{{{title}}}'''}}}}<!-- | ||
| + | Subheader1 | ||
| + | -->{{#if:{{{subheader|{{{subheader1|}}}}}}|{{Infobox/row | ||
| + | |data={{{subheader|{{{subheader1|}}}}}} | ||
| + | |datastyle={{{subheaderstyle|{{{subheaderstyle1|}}}}}} | ||
| + | |class={{{subheaderclass|}}} | ||
| + | |rowclass={{{subheaderrowclass|{{{subheaderrowclass1|}}}}}} | ||
| + | } | ||
| − | {{ | + | This page is copied from Wikipedia's {{w|Template:Infobox}}. |
| − | + | ||
| + | [[Category:Templates]] | ||
</noinclude> | </noinclude> | ||
Latest revision as of 22:13, 25 August 2017
This page is copied from Wikipedia's Template:Infobox.
