Template:Infobox battle: Difference between revisions
Appearance
No edit summary |
No edit summary |
||
| Line 1: | Line 1: | ||
<div class="infobox" style="width: 24em; border: 1px solid #a2a9b1; background: #f8f9fa; padding: 0; float: right; clear: right; margin: 0 0 1em 1em; font-size: | <div class="infobox" style="width: 24em; border: 1px solid #a2a9b1; background: #f8f9fa; padding: 0; float: right; clear: right; margin: 0 0 1em 1em; font-size: 100%; line-height: 1.35em;"> | ||
<div style="font-weight: bold; text-align: center; font-size: 1. | <div style="font-weight: bold; text-align: center; font-size: 1.25em; padding: 0.4em; background: #ccc; border-bottom: 1px solid #a2a9b1;">{{{name|Battle}}}</div> | ||
<div style="padding: 0.5em;"> | <div style="padding: 0.5em;"> | ||
{{#if:{{{conflict|}}}|'''Part of:''' {{{conflict}}}<br/>}} | {{#if:{{{conflict|}}}|'''Part of:''' {{{conflict}}}<br/>}} | ||
| Line 6: | Line 6: | ||
{{#if:{{{place|}}}|'''Place:''' {{{place}}}<br/>}} | {{#if:{{{place|}}}|'''Place:''' {{{place}}}<br/>}} | ||
{{#if:{{{result|}}}|'''Result:''' {{{result}}}<br/>}} | {{#if:{{{result|}}}|'''Result:''' {{{result}}}<br/>}} | ||
{{#if:{{{combatant1|}}}{{{combatant2|}}}|<table class="wikitable" style="width:100%; margin:0.4em 0; border-collapse:collapse; font-size: | {{#if:{{{combatant1|}}}{{{combatant2|}}}|<table class="wikitable" style="width:100%; margin:0.4em 0; border-collapse:collapse; font-size:105%;"> | ||
<tr> | <tr> | ||
<th style="width:50%; background:#d0e4f7; text-align:center; padding:0.3em;">Belligerents</th> | <th style="width:50%; background:#d0e4f7; text-align:center; padding:0.3em;">Belligerents</th> | ||
Revision as of 23:40, 20 June 2026
Battle
Install as Template:Infobox battle. Requires ParserFunctions. Fields: name, date, place, result, conflict, combatant1, combatant2, commander1, commander2, strength1, strength2, units1, units2, casualties1, casualties2, combatants (legacy fallback).