Difference between revisions of "Template:Fictional Battles"
From TWC Wiki
Jump to navigationJump to search (add commander3 strength and casualties) |
(standardising) |
||
(3 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
− | {| class="infobox bordered | + | {| class="infobox bordered info-right" |
− | ! colspan="2" style="font-size:110%; text-align: center | + | ! colspan="2" style="font-size:110%; text-align:center;"|''{{{title|{{PAGENAME}}}}}''<!-- |
− | -->{{#if:{{{image|}}}|<tr><td colspan="2" style=" | + | -->{{#if:{{{image|}}}|<tr><td colspan="2" style="text-align: center;"> {{{image|}}}{{#if:{{{caption|}}}|<br/><cite>{{{caption|}}}</cite>|}}}}</td></tr> |
|- | |- | ||
− | + | ! Conflict: | |
− | ! | ||
| {{{conflict|<noinclude>conflict</noinclude>}}} | | {{{conflict|<noinclude>conflict</noinclude>}}} | ||
|- | |- | ||
− | ! | + | ! Partof: |
| {{{partof|<noinclude>part of which conflict</noinclude>}}} | | {{{partof|<noinclude>part of which conflict</noinclude>}}} | ||
|- | |- | ||
− | ! | + | ! Date: |
| {{{date|<noinclude>date</noinclude>}}} | | {{{date|<noinclude>date</noinclude>}}} | ||
|- | |- | ||
− | ! | + | ! Place: |
| {{{place|<noinclude>place</noinclude>}}} | | {{{place|<noinclude>place</noinclude>}}} | ||
|- | |- | ||
− | ! | + | ! Result: |
| {{{result|<noinclude>e.g siege fails</noinclude>}}} | | {{{result|<noinclude>e.g siege fails</noinclude>}}} | ||
|- | |- | ||
− | ! | + | ! Combatant1: |
| {{{combatant1|<noinclude>combatant1</noinclude>}}} | | {{{combatant1|<noinclude>combatant1</noinclude>}}} | ||
|- | |- | ||
− | ! | + | ! Combatant2: |
| {{{combatant2|<noinclude>combatant2</noinclude>}}}<!-- | | {{{combatant2|<noinclude>combatant2</noinclude>}}}<!-- | ||
− | -->{{#if:{{{combatant3|}}}|<tr><th | + | -->{{#if:{{{combatant3|}}}|<tr><th>Combatant3:</th><td>{{{combatant3}}}</td></tr>}} |
|- | |- | ||
− | ! | + | ! Commander1: |
| {{{commander1|<noinclude>commander1</noinclude>}}} | | {{{commander1|<noinclude>commander1</noinclude>}}} | ||
|- | |- | ||
− | ! | + | ! Commander2: |
| {{{commander2|<noinclude>commander2</noinclude>}}}<!-- | | {{{commander2|<noinclude>commander2</noinclude>}}}<!-- | ||
− | -->{{#if:{{{commander3|}}}|<tr><th | + | -->{{#if:{{{commander3|}}}|<tr><th>Commander3:</th><td>{{{commander3}}}</td></tr>}} |
|- | |- | ||
− | ! | + | ! Strength1: |
| {{{strength1|<noinclude>strength1</noinclude>}}} | | {{{strength1|<noinclude>strength1</noinclude>}}} | ||
|- | |- | ||
− | ! | + | ! Strength2: |
| {{{strength2|<noinclude>strength2</noinclude>}}}<!-- | | {{{strength2|<noinclude>strength2</noinclude>}}}<!-- | ||
− | -->{{#if:{{{strength3|}}}|<tr><th | + | -->{{#if:{{{strength3|}}}|<tr><th>Strength3:</th><td>{{{strength3}}}</td></tr>}} |
|- | |- | ||
− | ! | + | ! Casualties1: |
| {{{casualties1|<noinclude>casualties</noinclude>}}} | | {{{casualties1|<noinclude>casualties</noinclude>}}} | ||
|- | |- | ||
− | ! | + | ! Casualties2: |
| {{{casualties2|<noinclude>casualties2</noinclude>}}}<!-- | | {{{casualties2|<noinclude>casualties2</noinclude>}}}<!-- | ||
− | -->{{#if:{{{casualties3|}}}|<tr><th | + | -->{{#if:{{{casualties3|}}}|<tr><th>Casualties3:</th><td>{{{casualties3}}}</td></tr>}} |
|- | |- | ||
|} | |} | ||
− | |||
− | |||
<noinclude> | <noinclude> | ||
Line 92: | Line 89: | ||
which gives the box on the left: | which gives the box on the left: | ||
+ | |||
+ | The combatant3, commander3 lines are optional don't add a value to them if you don't need them. | ||
{{Fictional_Battles | {{Fictional_Battles | ||
Line 116: | Line 115: | ||
− | [[Category:Template]]</noinclude> | + | [[Category:Infobox Template]]</noinclude> |
Latest revision as of 07:49, 19 April 2020
Fictional Battles | |
---|---|
Conflict: | conflict |
Partof: | part of which conflict |
Date: | date |
Place: | place |
Result: | e.g siege fails |
Combatant1: | combatant1 |
Combatant2: | combatant2 |
Commander1: | commander1 |
Commander2: | commander2 |
Strength1: | strength1 |
Strength2: | strength2 |
Casualties1: | casualties |
Casualties2: | casualties2 |
useage guide
To use try {{Fictional_Battles |image=[[File:No_image.png]] |caption=battle name |conflict=? |partof=?? |date=?/?/?? |place=???? |result=???? |combatant1=???? |combatant2=???? |combatant3=???? |commander1=???? |commander2=???? |commander3=???? |strength1=???? |strength2=???? |strength3=???? |casualties1=???? |casualties2=???? |casualties3=???? }}
which gives the box on the left:
The combatant3, commander3 lines are optional don't add a value to them if you don't need them.