|
|
Line 1: |
Line 1: |
| <infobox theme="battle"> | | <div style="top: 0px; left: 0px; position: fixed; float: left;"> |
| <title source="conflict"></title>
| | [[File:Cyst.gif|link=]] |
| <image source="image"></image>
| | </div><div style="top: 0px; right: 0px; position: fixed; float: right;"> |
| ''<data source="caption"></data>''
| | [[File:Cyst.gif|link=]] |
| <group>
| | </div><div style="bottom: 0px; left: 0px; position: fixed; float: left;"> |
| <header>Part of {{{partof}}}</header>
| | [[File:Cyst.gif|link=]] |
| <data source="date"><label>Date</label></data>
| | </div> |
| <data source="location"><label>Location</label></data>
| | <div style="bottom: 0px; right: 0px; position: fixed; float: right;"> |
| <data source="cause"><label>Cause</label></data>
| | [[File:Cyst.gif|link=]] |
| <data source="result"><label>Result</label></data>
| | </div> |
| </group>
| | <div style="center: 0px; center: 0px; position: fixed; float: center;"> |
| <group layout="horizontal">
| | [[File:Cyst.gif|link=]] |
| <header>Commanders</header>
| | </div> |
| <data source="commander1"></data>
| | <div style="center: 0px; right: 0px; position: fixed; float: right;"> |
| <data source="commander2"></data>
| | [[File:Cyst.gif|link=]] |
| </group>
| | </div> |
| <group layout="horizontal">
| | <div style="center: 0px; bottom: 0px; position: fixed; float: bottom"> |
| <header>Combatants</header>
| | [[File:Cyst.gif|link=]] |
| <data source="combatant1"></data>
| | </div> |
| <data source="combatant2"></data>
| | <div style="center: 0px; top: 0px; position: fixed; float: stop;"> |
| </group>
| | [[File:Cyst.gif|link=]] |
| <group layout="horizontal">
| | </div> |
| <header>Casualties</header>
| | <div style="right: 0px; top: 0px; position: fixed; float: right;"> |
| <data source="casualties1"></data>
| | [[File:Cyst.gif|link=]] |
| <data source="casualties2"></data>
| | </div> |
| </group>
| | <div style="right: 0px; center: 0px; position: fixed; float: right;"> |
| <navigation><small>[[Template:Sandbox|[Source]]]</small></navigation>
| | [[File:Cyst.gif|link=]] |
| </infobox><includeonly>[[Category:Battles]]</includeonly><noinclude>
| | </div> |
| | | <div style="right: 0px; bottom: 0px; position: fixed; float: right;"> |
| ==Usage==
| | [[File:Cyst.gif|link=]] |
| <pre>
| | </div> |
| {{Sandbox
| |
| |conflict =''Full name of battle''
| |
| |image =''Image, maximum 250px''
| |
| |caption =''Caption for the image''
| |
| |partof =''Name of overall conflict''
| |
| |date =''Date of battle''
| |
| |location =''Location of battle''
| |
| |cause =''Cause or causes of battle''
| |
| |result =''Results of battle''
| |
| |commander1 =''Commanders of side 1''
| |
| |commander2 =''Commanders of side 2''
| |
| |combatant1 =''Combatants of side 1''
| |
| |combatant2 =''Combatants of side 2''
| |
| |casualties1 =''Casualties of side 1''
| |
| |casualties2 =''Casualties of side 2''
| |
| }}
| |
| </pre> | |
| | |
| ==Clean template==
| |
| <pre> | |
| {{Sandbox
| |
| | conflict =
| |
| | image =
| |
| | caption =
| |
| | partof =
| |
| | date =
| |
| | location =
| |
| | cause =
| |
| | result =
| |
| | commander1 =
| |
| | commander2 =
| |
| | combatants1 =
| |
| | combatants2 =
| |
| | casualties1 =
| |
| | casualties2 =
| |
| }}
| |
| </pre>
| |
| | |
| [[Category:Infobox Templates]] | |
| [[Category:Templates]]</noinclude><noinclude>[[Category:Diagram templates]]</noinclude>
| |