Difference between revisions of "Template:InfoBoxWar"

(Creation (as this is needed))
 
m (Fixing it up)
 
(12 intermediate revisions by the same user not shown)
Line 1: Line 1:
 
<noinclude>
 
<noinclude>
{{#template_params:name (label=Name of the War;property=WarName)|othernames (label=Known also as;property=WarOtherName)|era (label=The Era it took place in;property=Era)|startdateyear (label=Start Year;property=Startdateyear)|enddateyear (label=End Year;property=Enddateyear)|result (label=The result of the War;property=Result)|faction1 (label=1st Faction involved;property=Faction1)|faction2 (label=2nd Faction involved;property=Faction2)|faction3 (label=3rd Faction involved;property=Faction3)|faction4 (label=4th Faction involved;property=Faction4)|faction5 (label=5th Faction involved;property=Faction5)|faction6 (label=6th Faction involved;property=Faction6)}}
+
{{#template_params:name (label=Name of the War;property=WarName)|othernames (label=Known also as;property=WarOtherName)|era (label=The Era it took place in;property=Era)|startdate (label=startdate;property=Start date)|enddate(label=enddate;property=End Date)|result (label=The result of the War;property=Result)|faction1 (label=1st Faction involved;property=Faction1)|faction2 (label=2nd Faction involved;property=Faction2)|faction3 (label=3rd Faction involved;property=Faction3)|faction4 (label=4th Faction involved;property=Faction4)|faction5 (label=5th Faction involved;property=Faction5)|faction6 (label=6th Faction involved;property=Faction6)}}
 
</noinclude><includeonly>{| style="width: 30em; font-size: 90%; border: 1px solid #aaaaaa; background-color: #f9f9f9; color: black; margin-bottom: 0.5em; margin-left: 1em; padding: 0.2em; float: right; clear: right; text-align:left;"
 
</noinclude><includeonly>{| style="width: 30em; font-size: 90%; border: 1px solid #aaaaaa; background-color: #f9f9f9; color: black; margin-bottom: 0.5em; margin-left: 1em; padding: 0.2em; float: right; clear: right; text-align:left;"
 
! style="text-align: center; background-color:#ccccff;" colspan="2" |<span style="font-size: larger;">{{PAGENAME}}</span>
 
! style="text-align: center; background-color:#ccccff;" colspan="2" |<span style="font-size: larger;">{{PAGENAME}}</span>
Line 14: Line 14:
 
|-
 
|-
 
! Start Year
 
! Start Year
| [[Startdateyear::{{{startdateyear|}}}]]
+
| [[Start date::{{{startdate|}}}]]
 
|-
 
|-
 
! End Year
 
! End Year
| [[Enddateyear::{{{enddateyear|}}}]]
+
| [[End date::{{{enddate|}}}]]
 
|-
 
|-
 
! The result of the War
 
! The result of the War
Line 41: Line 41:
 
|-
 
|-
 
|}
 
|}
 
+
<includeonly>[[Category:Wars]]</includeonly><noinclude>
[[Category:War]]
+
{{documentation}}
</includeonly>
+
<!-- Add cats and interwikis to the /doc subpage, not here! -->
 +
</noinclude>

Latest revision as of 17:36, 21 August 2022

This is the "InfoBoxWar" template.

It should be called in the following format:

{{InfoBoxWar
|name=
|othernames=
|era=
|startdate=
|enddate=
|result=
|faction1=
|faction2=
|faction3=
|faction4=
|faction5=
|faction6=
}}

Edit the page to see the template text.