Template:Infobox Mission: Difference between revisions

From Red Faction Wiki
mNo edit summary
No edit summary
 
(2 intermediate revisions by one other user not shown)
Line 8: Line 8:
<header><small>Information</small></header>
<header><small>Information</small></header>
<data source="location"><label>'''Location'''</label></data>
<data source="location"><label>'''Location'''</label></data>
<data source="salvage"><label>'''Salvage'''</label><format>[[Image:Icon_RFGSalvage.png|15px]] {{{salvage|N/A}}}</format></data>
<data source="salvage"><label>'''Salvage'''</label><format>[[Image:Icon_RFGSalvage.png|15px|link=]] {{{salvage}}}</format></data>
     <data source="unlocks"><label>'''Unlocks'''</label></data>
     <data source="unlocks"><label>'''Unlocks'''</label></data>
     <data source="previous"><label>'''Previous'''</label><format>{{{previous|N/A}}}</format></data>
     <data source="previous"><label>'''Previous'''</label></data>
     <data source="next"><label>'''Next'''</label><format>{{{next|N/A}}}</format></data>
     <data source="next"><label>'''Next'''</label></data>
     </group>
     </group>
</infobox></includeonly><noinclude>
</infobox></includeonly><noinclude>[[Category: Infobox Templates]]
<templatedata>
<templatedata>
{
{
Line 56: Line 56:
"example": "[[Welcome To Mars]]",
"example": "[[Welcome To Mars]]",
"type": "string",
"type": "string",
"default": "N/A",
"suggested": true
"suggested": true
},
},
Line 64: Line 63:
"example": "[[Ambush]]",
"example": "[[Ambush]]",
"type": "string",
"type": "string",
"default": "N/A",
"suggested": true
"suggested": true
}
}

Latest revision as of 16:10, 16 February 2024

No description.

Template parameters

This template prefers block formatting of parameters.

ParameterDescriptionTypeStatus
Namename

Official name of the mission.

Default
Page name
Stringsuggested
Imageimage

Image of the mission's focused area or end goal.

Example
Welcome To Mars.png
Filerequired
Locationlocation

A link to the sector that the mission is in.

Example
[[Dust]]
Stringsuggested
Salvagesalvage

The salvage that is rewarded upon the mission's completion. Do not use the total salvage value as it always depends on the player's morale and cannot be relied upon.

Example
50
Numbersuggested
Unlocksunlocks

Any areas, items or upgrades that the player has unlocked through the mission's completion. This usually only applies to liberation missions which always unlocks the next sector.

Example
[[Dust]]<br>[[Rocket Launcher]]<br>Level 1 Armor
Stringoptional
Previous Missionprevious

A link to the previous mission in chronological order. Most non-liberation missions do not have an order to them, as they can be completed by the player whenever, so there is no right answer for this parameter in that case.

Example
[[Welcome To Mars]]
Stringsuggested
Next Missionnext

A link to the next mission in chronological order. Most non-liberation missions do not have an order to them, as they can be completed by the player whenever, so there is no right answer for this parameter in that case.

Example
[[Ambush]]
Stringsuggested
{{Infobox Mission
|name     = 
|image    = 
|location = 
|salvage  = 
|unlocks  = 
|previous = 
|next     = 
}}

Usage:

{{Infobox Mission
|name     = Start Your Engines
|image    = Start Your Engines.png
|location = [[Parker (Sector)|Parker]]
|salvage  = 50
|unlocks  = [[Dust]]<br>[[Rocket Launcher]]<br>Level 1 Armor
|previous = [[Ambush]]
|next     = [[Rallying Point]]
}}

Output: