Welcome to Assassin's Creed Wiki! Log in and join the community.
Template:War Infobox: Difference between revisions
Jump to navigation
Jump to search
imported>Vatsa1708 mNo edit summary |
imported>Vatsa1708 mNo edit summary |
||
| Line 52: | Line 52: | ||
|- | |- | ||
{{#ifexpr:{{#if:{{{side1|}}}|1|0}} or {{#if:{{{side2|}}}|1|0}} or {{#if:{{{side3|}}}|1|0}} or {{#if:{{{side4|}}}|1|0}}| | {{#ifexpr:{{#if:{{{side1|}}}|1|0}} or {{#if:{{{side2|}}}|1|0}} or {{#if:{{{side3|}}}|1|0}} or {{#if:{{{side4|}}}|1|0}}| | ||
! class="infoboxsubheading" colspan="4" style="background: # | ! class="infoboxsubheading" colspan="4" style="background: #7995CA" {{!}} '''Combatants''' | ||
{{!}}- | {{!}}- | ||
{{!}} class="infoboxcell" colspan="{{#if:{{{side3|}}}|1|2}}" style="width:{{#if:{{{side4|}}}|25%|{{#if:{{{side3|}}}|33%|50%}}|}}; vertical-align:top; {{#if:{{{3|}}}|background: #{{{3}}}|}}" {{!}} | {{!}} class="infoboxcell" colspan="{{#if:{{{side3|}}}|1|2}}" style="width:{{#if:{{{side4|}}}|25%|{{#if:{{{side3|}}}|33%|50%}}|}}; vertical-align:top; {{#if:{{{3|}}}|background: #{{{3}}}|}}" {{!}} | ||
| Line 68: | Line 68: | ||
{{!}}-|}} | {{!}}-|}} | ||
{{#ifexpr:{{#if:{{{commanders1|}}}|1|0}} or {{#if:{{{commanders2|}}}|1|0}} or {{#if:{{{commanders3|}}}|1|0}} or {{#if:{{{commanders4|}}}|1|0}}| | {{#ifexpr:{{#if:{{{commanders1|}}}|1|0}} or {{#if:{{{commanders2|}}}|1|0}} or {{#if:{{{commanders3|}}}|1|0}} or {{#if:{{{commanders4|}}}|1|0}}| | ||
! class="infoboxsubheading" colspan="4" style="background: # | ! class="infoboxsubheading" colspan="4" style="background: #7995CA" {{!}} '''Commanders''' | ||
{{!}}- | {{!}}- | ||
{{!}} class="infoboxcell" colspan="{{#if:{{{side3|}}}|1|2}}" style="width:{{#if:{{{side4|}}}|25%|{{#if:{{{side3|}}}|33%|50%}}|}}; vertical-align:top; {{#if:{{{3|}}}|background: #{{{3}}}|}}" {{!}} | {{!}} class="infoboxcell" colspan="{{#if:{{{side3|}}}|1|2}}" style="width:{{#if:{{{side4|}}}|25%|{{#if:{{{side3|}}}|33%|50%}}|}}; vertical-align:top; {{#if:{{{3|}}}|background: #{{{3}}}|}}" {{!}} | ||
Revision as of 16:10, 8 April 2012
| ||||||
For battles, use Template:Battle.
For wars or other conflicts, use Template:War.
For missions, use Template:Mission.
For duels, use Template:Duel.
For campaigns, use Template:Campaign.
For general events, use Template:Event.
Usage
To use this template, paste the following code into the top of the article, filling all relevant fields:
{{War
|width=
|previous=
|conc=
|next=
|name=
|imageBG=
|image=
|begin=
|end=
|place=
|result=
|battles=
|BG2=
|side1=
|side2=
|side3=
|side4=
|commanders1=
|commanders2=
|commanders3=
|commanders4=}}
Display parameters
These additional parameters may also be added to the template:
- width (defaults to 300px)
- imageBG
- BG2
The contents of this page were based partially or completely from a similar at Wookiepedia.