Template:Infobox Mission: Difference between revisions
SimpleArrows (talk | contribs) mNo edit summary |
SimpleArrows (talk | contribs) mNo edit summary |
||
Line 10: | Line 10: | ||
<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]] {{{salvage|N/A}}}</format></data> | ||
<data source="unlocks"><label>'''Unlocks'''</label></data> | <data source="unlocks"><label>'''Unlocks'''</label></data> | ||
<data source="previous"><label>'''Previous'''</label></data> | <data source="previous"><label>'''Previous'''</label><format>{{{previous|N/A}}}</format></data> | ||
<data source="next"><label>'''Next'''</label></data> | <data source="next"><label>'''Next'''</label><format>{{{next|N/A}}}</format></data> | ||
</group> | </group> | ||
</infobox></includeonly><noinclude> | </infobox></includeonly><noinclude> | ||
<templatedata> | |||
{ | |||
"params": { | |||
"name": { | |||
"label": "Name", | |||
"description": "Official name of the mission.", | |||
"type": "string", | |||
"default": "Page name", | |||
"suggested": true | |||
}, | |||
"salvage": { | |||
"label": "Salvage", | |||
"description": "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", | |||
"type": "number", | |||
"suggested": true | |||
}, | |||
"image": { | |||
"label": "Image", | |||
"description": "Image of the mission's focused area or end goal.", | |||
"example": "Welcome To Mars.png", | |||
"type": "wiki-file-name", | |||
"required": true | |||
}, | |||
"location": { | |||
"label": "Location", | |||
"description": "A link to the sector that the mission is in.", | |||
"example": "[[Dust]]", | |||
"type": "string", | |||
"suggested": true | |||
}, | |||
"unlocks": { | |||
"label": "Unlocks", | |||
"description": "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", | |||
"type": "string" | |||
}, | |||
"previous": { | |||
"label": "Previous Mission", | |||
"description": "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]]", | |||
"type": "string", | |||
"default": "N/A", | |||
"suggested": true | |||
}, | |||
"next": { | |||
"label": "Next Mission", | |||
"description": "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]]", | |||
"type": "string", | |||
"default": "N/A", | |||
"suggested": true | |||
} | |||
}, | |||
"format": "block", | |||
"paramOrder": [ | |||
"name", | |||
"image", | |||
"location", | |||
"salvage", | |||
"unlocks", | |||
"previous", | |||
"next" | |||
] | |||
} | |||
</templatedata> | |||
<pre>{{Infobox Mission | |||
|name = | |||
|image = | |||
|location = | |||
|salvage = | |||
|unlocks = | |||
|previous = | |||
|next = | |||
}} | |||
</pre> | |||
'''Usage:''' | |||
<pre>{{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]] | |||
}}</pre> | |||
'''Output:''' | |||
{{Infobox Mission | {{Infobox Mission | ||
|name = | |name = Start Your Engines | ||
|image = | |image = Start Your Engines.png | ||
|location = [[Parker (Sector)|Parker]] | |location = [[Parker (Sector)|Parker]] | ||
|salvage = 50 | |salvage = 50 | ||
|unlocks = [[Dust]]<br>[[Rocket Launcher]]<br>Level 1 Armor | |unlocks = [[Dust]]<br>[[Rocket Launcher]]<br>Level 1 Armor | ||
|previous = [[ | |previous = [[Ambush]] | ||
|next = [[ | |next = [[Rallying Point]] | ||
}} | }}</noinclude> | ||
</noinclude> |
Revision as of 10:59, 15 February 2024
No description.
Parameter | Description | Type | Status | |
---|---|---|---|---|
Name | name | Official name of the mission.
| String | suggested |
Image | image | Image of the mission's focused area or end goal.
| File | required |
Location | location | A link to the sector that the mission is in.
| String | suggested |
Salvage | salvage | 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.
| Number | suggested |
Unlocks | unlocks | 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.
| String | optional |
Previous Mission | previous | 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.
| String | suggested |
Next Mission | next | 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.
| String | suggested |
{{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: