Difference between revisions of "Template:Infobox Campaign"

From The Battle for Wesnoth Wiki
(Balancing now works)
(Added colour)
 
(2 intermediate revisions by the same user not shown)
Line 8: Line 8:
 
| colspan="2" style="text-align:center;" | {{{image|https://raw.githubusercontent.com/wesnoth/wesnoth/master/data/core/images/units/unknown-unit.png}}}
 
| colspan="2" style="text-align:center;" | {{{image|https://raw.githubusercontent.com/wesnoth/wesnoth/master/data/core/images/units/unknown-unit.png}}}
 
|-
 
|-
|
+
| colspan="2" |
 
{|
 
{|
 
! Protagonist:
 
! Protagonist:
Line 20: Line 20:
 
|}
 
|}
 
|-
 
|-
| colspan="2" style="text-align:center;" | '''Belligerents'''
+
| colspan="2" style="text-align:center; background:#F2DEB6;" | '''Belligerents'''
 
|- style="vertical-align:top"
 
|- style="vertical-align:top"
 
| style="border-style: dotted; border-width: 0 1px 0 0; width: 50%" |
 
| style="border-style: dotted; border-width: 0 1px 0 0; width: 50%" |
Line 27: Line 27:
 
{{{belligerents 2|Side 2}}}
 
{{{belligerents 2|Side 2}}}
 
|-
 
|-
| colspan="2" style="text-align:center;" | '''Leaders'''
+
| colspan="2" style="text-align:center; background:#F2DEB6;" | '''Leaders'''
 
|- style="vertical-align:top;"
 
|- style="vertical-align:top;"
 
| style="border-style: dotted; border-width: 0 1px 0 0; width: 50%" |
 
| style="border-style: dotted; border-width: 0 1px 0 0; width: 50%" |
Line 40: Line 40:
 
<noinclude>
 
<noinclude>
 
{{template}}
 
{{template}}
 +
{{Infobox Campaign/doc}}
 
</noinclude>
 
</noinclude>

Latest revision as of 01:13, 15 July 2019

Campaign
unknown-unit.png
Protagonist:
Result:
Belligerents

Side 1

Side 2

Leaders

Side 1

Side 2

This template produces an infobox with campaign details.

Parameters

name denotes the name of the campaign.

image denotes the location of the campaign icon.

protagonist denotes the name of the main character. This should refer to the character who represents a human -controlled side's main leader for the greatest number of scenarios.

result denotes a set of bullet points describing the outcome of the campaign.

belligerents 1 denotes the names of the human-controlled side's allied factions for the majority of the campaign.

belligerents 2 denotes the names of the primary enemy ai-controlled side's allied factions for the majority of the campaign.

leaders 1 denotes the leader(s) of each of the factions for the human-controlled sides.

leaders 2 denotes the leader(s) of each of the factions for the enemy ai-controlled sides.

Usage

{{Infobox Campaign
| name=The Rise of Wesnoth
| image=https://raw.githubusercontent.com/wesnoth/wesnoth/master/data/campaigns/The_Rise_Of_Wesnoth/images/units/noble-lord.png
| difficulty=Expert
| protagonist=[[Haldric I|Prince Haldric]]
| result=
* Ethnic cleansing of humans on the Green Isle.
* Mass migration of humans to the Great Continent.
* Founding of the Kingdom of Wesnoth.
| belligerents 1=
* Kingdom of Stormvale
* Wesfolk
* Kingdom of Clearwater
* Kingdom of Southbay
* Oldwood woses
* Mermen
| belligerents 2=
* Lich-Lords
* Orcs
* Saurians
* Nagas
* Trolls
| leaders 1=
* [[Haldric I|Prince Haldric]]
* [[Jessene]]
* [[Eldaric IV]]
* [[Aethyr]]
* [[Addroran IX]]
* [[Elilmaldur-Rithrandil]]
* [[Typhon]]
| leaders 2=
* [[Jevyan]]
}}


The Rise of Wesnoth
noble-lord.png
Protagonist:

Prince Haldric

Result:
  • Ethnic cleansing of humans on the Green Isle.
  • Mass migration of humans to the Great Continent.
  • Founding of the Kingdom of Wesnoth.
Belligerents
  • Kingdom of Stormvale
  • Wesfolk
  • Kingdom of Clearwater
  • Kingdom of Southbay
  • Oldwood woses
  • Mermen
  • Lich-Lords
  • Orcs
  • Saurians
  • Nagas
  • Trolls
Leaders


This page was last edited on 15 July 2019, at 01:13.