Difference between revisions of "Template:InfoBoxWar"
m (Updating the Template) |
m (Fixing it up) |
||
(9 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)| | + | {{#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 | ||
− | | [[ | + | | [[Start date::{{{startdate|}}}]] |
|- | |- | ||
! End Year | ! End Year | ||
− | | [[ | + | | [[End date::{{{enddate|}}}]] |
|- | |- | ||
! The result of the War | ! The result of the War | ||
Line 41: | Line 41: | ||
|- | |- | ||
|} | |} | ||
− | + | <includeonly>[[Category:Wars]]</includeonly><noinclude> | |
− | + | {{documentation}} | |
− | [[Category: | + | <!-- Add cats and interwikis to the /doc subpage, not here! --> |
− | </includeonly> | ||
− | <noinclude | ||
− | |||
− | { | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
</noinclude> | </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.
This template may be suitable for conversion to use {{Infobox}} as a base. |
Purpose[edit]
Usage[edit]
TemplateData[edit]
This template is used for Wars (which is the main conflict in a series of smaller conflicts)
Parameter | Description | Type | Status | |
---|---|---|---|---|
War Name | name | Name of War | Page | required |
Also known as | othernames | Also known as | Page | suggested |
Era | era | The name of the Era this took place in | Page | required |
startdate | startdate | When the War started | Date | required |
enddate | enddate | When the War ended | Date | required |
War Result | result | What was the War's result? | String | suggested |
1st Faction involved | faction1 | Name of the 1st Faction involved | Page | required |
2nd Faction involved | faction2 | The name of the 2nd Faction involved | Page | required |
3rd Faction involved (if required) | faction3 | The name of the 3rd Faction involved (if required) | Page | optional |
4th Faction involved (if required) | faction4 | The name of the 4th Faction involved (if required) | Page | optional |
5th Faction involved (if required) | faction5 | The name of the 5th Faction involved (if required) | Page | optional |
6th Faction involved (if required) | faction6 | The name of the 6th Faction involved (if required) | Page | optional |