Template:Infobox civil conflict: Difference between revisions
Appearance
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..." |
m Protected "Template:Infobox civil conflict" ([Edit=Allow only administrators] (indefinite) [Move=Allow only administrators] (indefinite)) |
||
(2 intermediate revisions by the same user not shown) | |||
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 colspan="2" 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; vertical-align:top;">Part of</th> | ||
<td style="vertical-align:top;">{{{partof}}}</td> | |||
</tr> | |||
}} | |||
{{#if:{{{date|}}}| | |||
<tr> | |||
<th style="background:#eee; vertical-align:top;">Date</th> | |||
<td style="vertical-align:top;">{{{date}}}</td> | |||
</tr> | |||
}} | |||
{{#if:{{{place|}}}| | |||
<tr> | |||
<th style="background:#eee; vertical-align:top;">Place</th> | |||
<td style="vertical-align:top;">{{{place}}}</td> | |||
</tr> | |||
}} | |||
{{#if:{{{causes|}}}| | |||
<tr> | |||
<th style="background:#eee; vertical-align:top;">Causes</th> | |||
<td style="vertical-align:top;">{{{causes}}}</td> | |||
</tr> | |||
}} | |||
{{#if:{{{goals|}}}| | |||
<tr> | |||
<th style="background:#eee; vertical-align:top;">Goals</th> | |||
<td style="vertical-align:top;">{{{goals}}}</td> | |||
</tr> | |||
}} | |||
{{#if:{{{methods|}}}| | |||
<tr> | |||
<th style="background:#eee; vertical-align:top;">Methods</th> | |||
<td style="vertical-align:top;">{{{methods}}}</td> | |||
</tr> | |||
}} | |||
{{#if:{{{result|}}}| | |||
<tr> | |||
<th style="background:#eee; vertical-align:top;">Result</th> | |||
<td style="vertical-align:top;">{{{result}}}</td> | |||
</tr> | |||
}} | |||
{{#if:{{{status|}}}| | |||
<tr> | |||
<th style="background:#eee; vertical-align:top;">Status</th> | |||
<td style="vertical-align:top;">{{{status}}}</td> | |||
</tr> | |||
}} | |||
{{#if:{{{side1|}}}| | |||
<tr> | |||
<th style="background:#eee; vertical-align:top;">Side 1</th> | |||
<td style="vertical-align:top;">{{{side1}}}</td> | |||
</tr> | |||
}} | |||
{{#if:{{{side2|}}}| | |||
<tr> | |||
<th style="background:#eee; vertical-align:top;">Side 2</th> | |||
<td style="vertical-align:top;">{{{side2}}}</td> | |||
</tr> | |||
}} | |||
{{#if:{{{leadfigures1|}}}| | |||
<tr> | |||
<th style="background:#eee; vertical-align:top;">Leaders (Side 1)</th> | |||
<td style="vertical-align:top;">{{{leadfigures1}}}</td> | |||
</tr> | |||
}} | |||
{{#if:{{{leadfigures2|}}}| | |||
<tr> | |||
<th style="background:#eee; vertical-align:top;">Leaders (Side 2)</th> | |||
<td style="vertical-align:top;">{{{leadfigures2}}}</td> | |||
</tr> | |||
}} | |||
{{#if:{{{casualties1|}}}| | |||
<tr> | |||
<th style="background:#eee; vertical-align:top;">Casualties (Side 1)</th> | |||
<td style="vertical-align:top;">{{{casualties1}}}</td> | |||
</tr> | |||
}} | |||
{{#if:{{{casualties2|}}}| | |||
<tr> | |||
<th style="background:#eee; vertical-align:top;">Casualties (Side 2)</th> | |||
<td style="vertical-align:top;">{{{casualties2}}}</td> | |||
</tr> | |||
}} | |||
</table> | |||