Template:Infobox civil conflict: Difference between revisions
Created page with "{{Infobox | name = {{{title|}}} | bodystyle = width:300px; font-size:90%; line-height:1.4em; | title = {{{title|}}} | titlestyle = background:#ccc; font-size:120%; font-weight:bold; text-align:center; | image = {{{image|}}} | imagestyle = padding:5px; background:#fff; border:1px solid #ccc; | caption = {{{caption|}}} | label1 = Part of | data1 = {{{partof|}}} | label2 = Date | data2 = {{{date|}}} | label3..." |
No edit summary |
||
Line 1: | Line 1: | ||
<table class="infobox" style="width:300px; font-size:90%; line-height:1.5em; border:1px solid #aaa; background:#f9f9f9; float:right; clear:right; margin:0 0 1em 1em;"> | |||
<caption style="background:#ccc; font-weight:bold; font-size:120%; text-align:center;">{{{title|{{PAGENAME}}}}}</caption> | |||
{{#if:{{{image|}}}| | |||
<tr> | |||
<td style="text-align:center; padding:5px;"> | |||
[[File:{{{image}}}|frameless|250px]] | |||
<div style="font-size:85%; color:#555;">{{{caption|}}}</div> | |||
</td> | |||
</tr> | |||
}} | |||
| | {{#if:{{{partof|}}}| | ||
| | <tr><th style="background:#eee;">Part of</th><td>{{{partof}}}</td></tr> | ||
| | }} | ||
{{#if:{{{date|}}}| | |||
<tr><th style="background:#eee;">Date</th><td>{{{date}}}</td></tr> | |||
}} | |||
{{#if:{{{place|}}}| | |||
<tr><th style="background:#eee;">Place</th><td>{{{place}}}</td></tr> | |||
}} | |||
{{#if:{{{causes|}}}| | |||
<tr><th style="background:#eee;">Causes</th><td>{{{causes}}}</td></tr> | |||
}} | |||
{{#if:{{{goals|}}}| | |||
<tr><th style="background:#eee;">Goals</th><td>{{{goals}}}</td></tr> | |||
}} | |||
{{#if:{{{methods|}}}| | |||
<tr><th style="background:#eee;">Methods</th><td>{{{methods}}}</td></tr> | |||
}} | |||
{{#if:{{{result|}}}| | |||
<tr><th style="background:#eee;">Result</th><td>{{{result}}}</td></tr> | |||
}} | |||
{{#if:{{{status|}}}| | |||
<tr><th style="background:#eee;">Status</th><td>{{{status}}}</td></tr> | |||
}} | |||
{{#if:{{{side1|}}}| | |||
<tr><th style="background:#eee;">Side 1</th><td>{{{side1}}}</td></tr> | |||
}} | |||
{{#if:{{{side2|}}}| | |||
<tr><th style="background:#eee;">Side 2</th><td>{{{side2}}}</td></tr> | |||
}} | |||
{{#if:{{{leadfigures1|}}}| | |||
<tr><th style="background:#eee;">Leaders (Side 1)</th><td>{{{leadfigures1}}}</td></tr> | |||
}} | |||
{{#if:{{{leadfigures2|}}}| | |||
<tr><th style="background:#eee;">Leaders (Side 2)</th><td>{{{leadfigures2}}}</td></tr> | |||
}} | |||
{{#if:{{{casualties1|}}}| | |||
<tr><th style="background:#eee;">Casualties (Side 1)</th><td>{{{casualties1}}}</td></tr> | |||
}} | |||
{{#if:{{{casualties2|}}}| | |||
<tr><th style="background:#eee;">Casualties (Side 2)</th><td>{{{casualties2}}}</td></tr> | |||
}} | |||
</table> | |||