Difference between revisions of "Template:Infobox"
From Timelines
(With woe and regret, I remove the default navbox-style shading as discussed in talk.) |
(Removing stray linebreaks) |
||
Line 1: | Line 1: | ||
− | <table class="infobox {{{bodyclass|}}}" cellspacing="5" style="width:25em; text-align: left; font-size: 90%; {{{bodystyle|}}}"> | + | <table class="infobox {{{bodyclass|}}}" cellspacing="5" style="width:25em; text-align: left; font-size: 90%; {{{bodystyle|}}}"><!-- |
− | <!-- Caption--> | + | Caption |
− | {{#if:{{{title|}}}|<caption class="{{{titleclass|}}}" style="font-size: 130%; font-weight: bold; {{{titlestyle|}}}">{{{title}}}</caption>}} | + | -->{{#if:{{{title|}}}|<caption class="{{{titleclass|}}}" style="font-size: 130%; font-weight: bold; {{{titlestyle|}}}">{{{title}}}</caption>}} |
− | <!-- Header--> | + | <!-- |
− | {{#if:{{{above|}}}| | + | Header |
− | <tr><td colspan="2" class="{{{aboveclass|}}}" style="text-align:center; font-size: 130%; font-weight: bold; {{{abovestyle|}}}">{{{above}}} | + | -->{{#if:{{{above|}}}|<tr><td colspan="2" class="{{{aboveclass|}}}" style="text-align:center; font-size: 130%; font-weight: bold; {{{abovestyle|}}}">{{{above}}}</td></tr>}}<!-- |
− | </td></tr> | + | Image |
− | }} | + | -->{{#if:{{{image|}}}|<tr><td colspan="2" style="text-align:center; {{{imagestyle|}}}"> {{{image}}} {{#if:{{{caption|}}}|<br /> |
− | <!-- Image--> | + | <span style="{{{captionstyle|}}}">{{{caption}}} }}</span></td></tr>}}<!-- |
− | {{#if:{{{image|}}}| | ||
− | <tr><td colspan="2" style="text-align:center; {{{imagestyle|}}}"> {{{image}}} {{#if:{{{caption|}}}|<br /> | ||
− | <span style="{{{captionstyle|}}}">{{{caption}}} }}</span> | ||
− | </td></tr> | ||
− | }}<!-- | ||
Row 1 | Row 1 | ||
-->{{#if:{{{header1|}}}|<tr><th colspan="2" style="text-align:center; {{{headerstyle|}}}">{{{header1|}}}</th></tr>| {{#if:{{{label1|}}}|{{#if:{{{data1|}}}|<tr><th style="{{{labelstyle|}}}">{{{label1|}}}</th><td class="{{{class1|}}}" style="{{{datastyle|}}}">{{{data1|}}}</td></tr>}}| {{#if:{{{data1|}}}|<tr><td colspan="2" class="{{{class1|}}}" style="text-align:center; {{{datastyle|}}}">{{{data1|}}}</td></tr>}} }} }}<!-- | -->{{#if:{{{header1|}}}|<tr><th colspan="2" style="text-align:center; {{{headerstyle|}}}">{{{header1|}}}</th></tr>| {{#if:{{{label1|}}}|{{#if:{{{data1|}}}|<tr><th style="{{{labelstyle|}}}">{{{label1|}}}</th><td class="{{{class1|}}}" style="{{{datastyle|}}}">{{{data1|}}}</td></tr>}}| {{#if:{{{data1|}}}|<tr><td colspan="2" class="{{{class1|}}}" style="text-align:center; {{{datastyle|}}}">{{{data1|}}}</td></tr>}} }} }}<!-- |
Revision as of 06:50, 17 April 2008
Lua error in Module:Effective_protection_level at line 60: attempt to index field 'TitleBlacklist' (a nil value).
Template documentation[create]
Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages. Please add categories to the /doc subpage. Subpages of this template. |