Difference between revisions of "Template:InfoBoxWar"

m (Fixing it up)
m (Fixing it up)
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
| [[Startdate::{{{startdate|}}}]]
+
| [[startdate::{{{startdate|}}}]]
 
|-
 
|-
 
! End Year
 
! End Year
| [[Enddate::{{{enddate|}}}]]
+
| [[snddate::{{{enddate|}}}]]
 
|-
 
|-
 
! The result of the War
 
! The result of the War
Line 43: Line 43:
 
<includeonly>[[Category:Wars]]</includeonly><noinclude>
 
<includeonly>[[Category:Wars]]</includeonly><noinclude>
 
{{documentation}}
 
{{documentation}}
<!-- Add cats and interwikis to the /doc subpage, not here! -->
+
<!-- Add cats and interwikis to the /doc subpage, not here! --><templatedata>
 +
{
 +
"params": {
 +
"name": {},
 +
"othernames": {},
 +
"era": {},
 +
"startdate": {
 +
"type": "date",
 +
"required": true
 +
},
 +
"enddate": {},
 +
"result": {},
 +
"faction1": {},
 +
"faction2": {},
 +
"faction3": {},
 +
"faction4": {},
 +
"faction5": {},
 +
"faction6": {}
 +
},
 +
"format": "block"
 +
}
 +
</templatedata>
 
</noinclude>
 
</noinclude>

Revision as of 17:23, 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.

No description.

Template parameters

This template prefers block formatting of parameters.

ParameterDescriptionTypeStatus
Namename

no description

Unknownoptional
Othernamesothernames

no description

Unknownoptional
Eraera

no description

Unknownoptional
Startdatestartdate

no description

Daterequired
Enddateenddate

no description

Unknownoptional
Resultresult

no description

Unknownoptional
Faction1faction1

no description

Unknownoptional
Faction2faction2

no description

Unknownoptional
Faction3faction3

no description

Unknownoptional
Faction4faction4

no description

Unknownoptional
Faction5faction5

no description

Unknownoptional
Faction6faction6

no description

Unknownoptional