Sarna News: Bad 'Mechs - Icestorm

Difference between revisions of "Template:InfoBoxWar/doc"

m (Updating the Template)
m
 
(5 intermediate revisions by the same user not shown)
Line 1: Line 1:
{{documentation}}
+
{{documentation subpage}}
 +
{{Convert to use Infobox}}
 
<!-- EDIT TEMPLATE DOCUMENTATION BELOW THIS LINE -->
 
<!-- EDIT TEMPLATE DOCUMENTATION BELOW THIS LINE -->
 
==Purpose==
 
==Purpose==
Line 27: Line 28:
 
"required": true
 
"required": true
 
},
 
},
"startdateyear": {
+
"startdate": {
"label": "Start Date",
+
"label": "startdate",
"description": "Year of when the War started",
+
"description": "When the War started",
 
"type": "date",
 
"type": "date",
 
"required": true
 
"required": true
 
},
 
},
"enddateyear": {
+
"enddate": {
"label": "End Date",
+
"label": "enddate",
"description": "Year when the War ended",
+
"description": "When the War ended",
 
"type": "date",
 
"type": "date",
 
"required": true
 
"required": true
Line 42: Line 43:
 
"label": "War Result",
 
"label": "War Result",
 
"description": "What was the War's result?",
 
"description": "What was the War's result?",
"type": "unbalanced-wikitext",
+
"type": "string",
 
"suggested": true
 
"suggested": true
 
},
 
},
Line 84: Line 85:
 
<includeonly>
 
<includeonly>
 
<!-- ADD CATEGORIES BELOW THIS LINE -->
 
<!-- ADD CATEGORIES BELOW THIS LINE -->
[[Category:Templates|{{PAGENAME}}]]
+
[[Category:Infobox templates|War]]
[[Category:Page Information templates|{{PAGENAME}}]]
 
 
</includeonly>
 
</includeonly>

Latest revision as of 22:03, 4 April 2024

Purpose[edit]

Usage[edit]

TemplateData[edit]

This template is used for Wars (which is the main conflict in a series of smaller conflicts)

Template parameters

This template prefers block formatting of parameters.

ParameterDescriptionTypeStatus
War Namename

Name of War

Pagerequired
Also known asothernames

Also known as

Pagesuggested
Eraera

The name of the Era this took place in

Pagerequired
startdatestartdate

When the War started

Daterequired
enddateenddate

When the War ended

Daterequired
War Resultresult

What was the War's result?

Stringsuggested
1st Faction involvedfaction1

Name of the 1st Faction involved

Pagerequired
2nd Faction involvedfaction2

The name of the 2nd Faction involved

Pagerequired
3rd Faction involved (if required)faction3

The name of the 3rd Faction involved (if required)

Pageoptional
4th Faction involved (if required)faction4

The name of the 4th Faction involved (if required)

Pageoptional
5th Faction involved (if required)faction5

The name of the 5th Faction involved (if required)

Pageoptional
6th Faction involved (if required)faction6

The name of the 6th Faction involved (if required)

Pageoptional