Welcome to Assassin's Creed Wiki! Log in and join the community.
Template:Battle Infobox: Difference between revisions
Jump to navigation
Jump to search
imported>VatsaAWB m Bot: Fixing redirects |
imported>PhoenixBlitzkrieg Formatting |
||
| Line 1: | Line 1: | ||
<small> | <small> | ||
{| | {| class="infobox" style="float:right; width:264px; font-size:90%; text-align:left; -moz-border-radius:7px; background:transparent; padding:6px;" cellspacing="0" cellpadding="3" | ||
| | | | ||
{| class="infoboxtable hidable-content" cellspacing="0" cellpadding="4" style="border-width: 0px; width:{{#if:{{{width|}}}|{{{width}}}|{{#if:{{{side4|}}}|350px|{{#if:{{{side3|}}}|300px|300px}}}}}};" | {| class="infoboxtable hidable-content" cellspacing="0" cellpadding="4" style="border-width: 0px; width:{{#if:{{{width|}}}|{{{width}}}|{{#if:{{{side4|}}}|350px|{{#if:{{{side3|}}}|300px|300px}}}}}};" | ||
| Line 19: | Line 19: | ||
{{{next|}}} | {{{next|}}} | ||
{{!}}-|}} | {{!}}-|}} | ||
! | ! colspan="2" style="font-size:130%; text-align:center;" | {{{2|{{PAGENAME}}}}} | ||
|- | |- | ||
| class="infoboximage" colspan="2" style="{{#if:{{{imageBG|}}}|background: #{{{imageBG}}}|background: #B4C5E3}}" | {{{image|}}} | | class="infoboximage" colspan="2" style="{{#if:{{{imageBG|}}}|background: #{{{imageBG}}}|background: #B4C5E3}}" | {{{image|}}} | ||
| Line 26: | Line 26: | ||
{{!}} class="infoboxlabel" style="{{#if:{{{3|}}}|background: #{{{3}}}|}}" {{!}} Conflict | {{!}} class="infoboxlabel" style="{{#if:{{{3|}}}|background: #{{{3}}}|}}" {{!}} Conflict | ||
{{!}} class="infoboxcell" style="{{#if:{{{3|}}}|background: #{{{3}}}|}}" {{!}} | {{!}} class="infoboxcell" style="{{#if:{{{3|}}}|background: #{{{3}}}|}}" {{!}} | ||
{{{conflict | {{{conflict}}} | ||
{{!}}-|}} | {{!}}-|}} | ||
{{#if:{{{date|}}}| | {{#if:{{{date|}}}| | ||
{{!}} class="infoboxlabel" style="{{#if:{{{3|}}}|background: #{{{3}}}|}}" {{!}} Date | {{!}} class="infoboxlabel" style="{{#if:{{{3|}}}|background: #{{{3}}}|}}" {{!}} Date | ||
{{!}} class="infoboxcell" style="{{#if:{{{3|}}}|background: #{{{3}}}|}}" {{!}} | {{!}} class="infoboxcell" style="{{#if:{{{3|}}}|background: #{{{3}}}|}}" {{!}} | ||
{{{date | {{{date}}} | ||
{{!}}-|}} | {{!}}-|}} | ||
{{#if:{{{place|}}}| | {{#if:{{{place|}}}| | ||
{{!}} class="infoboxlabel" style="{{#if:{{{3|}}}|background: #{{{3}}}|}}" {{!}} Place | {{!}} class="infoboxlabel" style="{{#if:{{{3|}}}|background: #{{{3}}}|}}" {{!}} Place | ||
{{!}} class="infoboxcell" style="{{#if:{{{3|}}}|background: #{{{3}}}|}}" {{!}} | {{!}} class="infoboxcell" style="{{#if:{{{3|}}}|background: #{{{3}}}|}}" {{!}} | ||
{{{place | {{{place}}} | ||
{{!}}-|}} | {{!}}-|}} | ||
{{#if:{{{result|}}}| | {{#if:{{{result|}}}| | ||
{{!}} class="infoboxlabel" style="{{#if:{{{3|}}}|background: #{{{3}}}|}}" {{!}} Outcome | {{!}} class="infoboxlabel" style="{{#if:{{{3|}}}|background: #{{{3}}}|}}" {{!}} Outcome | ||
{{!}} class="infoboxcell" style="{{#if:{{{3|}}}|background: #{{{3}}}|}}" {{!}} | {{!}} class="infoboxcell" style="{{#if:{{{3|}}}|background: #{{{3}}}|}}" {{!}} | ||
{{{result | {{{result}}} | ||
{{!}}-|}} | {{!}}-|}} | ||
| colspan="2" cellpadding="0" cellspacing="0" style="margin:0; padding:0" | | | colspan="2" cellpadding="0" cellspacing="0" style="margin:0; padding:0" | | ||
| Line 115: | Line 115: | ||
|} | |} | ||
|}</small> | |}</small> | ||
<!-- TEMPLATE ENDS HERE. This template cannot be regenerated by source code alone. --><noinclude>{{ | <!-- TEMPLATE ENDS HERE. This template cannot be regenerated by source code alone. --><noinclude>{{clear}}{{documentation}} | ||
{{ | |||
[[Category:Infobox templates|{{PAGENAME}}]]</noinclude> | [[Category:Infobox templates|{{PAGENAME}}]]</noinclude> | ||
Revision as of 22:26, 3 June 2015
| ||||||
| Template documentation follows |
|---|
| Note: the template above may sometimes be partially or fully invisible. |
| Visit Template:Battle_Infobox/doc to edit this documentation. (How does this work?) |
- Description
- For two-, three-, and four-way battles, use Template:Battle Infobox.
- For wars or other conflicts, use Template:War Infobox.
- For missions, use Template:Mission Infobox.
- For general events, use Template:Event Infobox.
- Syntax
This template is compatible with two-, three-, and four-way battles, assuming each side involved (i.e. side1, side2, etc.) is given a value.
Paste the following code into the top of an article, filling all known fields:
{{Battle Infobox
|prev =
|conc =
|next =
|name =
|image =
|conflict =
|date =
|place =
|result =
|side1 =
|side2 =
|side3 =
|side4 =
|commanders1 =
|commanders2 =
|commanders3 =
|commanders4 =
|forces1 =
|forces2 =
|forces3 =
|forces4 =
|casual1 =
|casual2 =
|casual3 =
|casual4 =
|civilian =
}}
The contents of this page were based partially or completely from a similar at Wookiepedia.