Difference between revisions of "Template:Infobox Scenario/doc"

From The Battle for Wesnoth Wiki
(Created documentation)
 
m (Usage: Added link)
Line 21: Line 21:
 
  <nowiki>{{Infobox Scenario
 
  <nowiki>{{Infobox Scenario
 
|name=A Summer of Storms
 
|name=A Summer of Storms
|campaign=The Rise of Wesnoth
+
|campaign=[[The Rise of Wesnoth]]
 
|result=Wesfolk forced out of Stormvale.
 
|result=Wesfolk forced out of Stormvale.
 
|belligerents 1=Kingdom of Stormvale
 
|belligerents 1=Kingdom of Stormvale
Line 33: Line 33:
 
{{Infobox Scenario
 
{{Infobox Scenario
 
|name=A Summer of Storms
 
|name=A Summer of Storms
|campaign=The Rise of Wesnoth
+
|campaign=[[The Rise of Wesnoth]]
 
|result=Wesfolk forced out of Stormvale.
 
|result=Wesfolk forced out of Stormvale.
 
|belligerents 1=Kingdom of Stormvale
 
|belligerents 1=Kingdom of Stormvale

Revision as of 04:09, 14 July 2019

This template produces an infobox with scenario details.

Parameters

name denotes the name of the scenario.

campaign denotes the name of the name of the campaign in which the scenario is found.

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

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

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

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 Scenario
|name=A Summer of Storms
|campaign=[[The Rise of Wesnoth]]
|result=Wesfolk forced out of Stormvale.
|belligerents 1=Kingdom of Stormvale
|belligerents 2=Wesfolk
|leaders 1=
* [[Haldric I|Prince Haldric]]
* [[Eldaric IV|Prince Eldaric]]
|leaders 2=
* [[Jessene|Wesfolk Leader]]
}}
[[The Rise of Wesnoth]] scenario
A Summer of Storms
Location:
Result:

Wesfolk forced out of Stormvale.

Belligerents

Kingdom of Stormvale

Wesfolk
Leaders