Difference between revisions of "Template:Fictional Battles"
From TWC Wiki
Jump to navigationJump to search (trying to get an if combatant3) |
(add commander3 strength and casualties) |
||
Line 30: | Line 30: | ||
|- | |- | ||
! style="background-color: #F4E9DF;" | commander2: | ! style="background-color: #F4E9DF;" | commander2: | ||
− | | {{{commander2|<noinclude>commander2</noinclude>}}} | + | | {{{commander2|<noinclude>commander2</noinclude>}}}<!-- |
+ | -->{{#if:{{{commander3|}}}|<tr><th style="background-color: #F4E9DF;">commander3:</th><td>{{{commander3}}}</td></tr>}} | ||
+ | |- | ||
+ | ! style="background-color: #F4E9DF;" | strength1: | ||
+ | | {{{strength1|<noinclude>strength1</noinclude>}}} | ||
+ | |- | ||
+ | ! style="background-color: #F4E9DF;" | strength2: | ||
+ | | {{{strength2|<noinclude>strength2</noinclude>}}}<!-- | ||
+ | -->{{#if:{{{strength3|}}}|<tr><th style="background-color: #F4E9DF;">strength3:</th><td>{{{strength3}}}</td></tr>}} | ||
+ | |- | ||
+ | ! style="background-color: #F4E9DF;" | casualties1: | ||
+ | | {{{casualties1|<noinclude>casualties</noinclude>}}} | ||
+ | |- | ||
+ | ! style="background-color: #F4E9DF;" | casualties2: | ||
+ | | {{{casualties2|<noinclude>casualties2</noinclude>}}}<!-- | ||
+ | -->{{#if:{{{casualties3|}}}|<tr><th style="background-color: #F4E9DF;">casualties3:</th><td>{{{casualties3}}}</td></tr>}} | ||
|- | |- | ||
|} | |} | ||
Line 53: | Line 68: | ||
==useage guide== | ==useage guide== | ||
To use try | To use try | ||
− | '''<nowiki>{{Fictional_Battles|image=[[File:No_image.png]]|caption=battle name|conflict=?|partof=??|date=?/?/??|place=????|result=????|combatant1=????|combatant2=????|commander1=????|commander2=????}}</nowiki>''' | + | '''<nowiki> |
+ | {{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=???? | ||
+ | }}</nowiki>''' | ||
− | which gives | + | which gives the box on the left: |
− | {{Fictional_Battles|image=[[File:No_image.png]]|caption=battle name|conflict=?|partof=??|date=?/?/??|place=????|result=????|combatant1=????|combatant2=????|commander1=????|commander2=????}} | + | {{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=???? | ||
+ | }} | ||
[[Category:Template]]</noinclude> | [[Category:Template]]</noinclude> | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− |
Revision as of 00:29, 30 April 2009
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: