Template:Mission/doc: Difference between revisions

From Official Barotrauma Wiki
Jump to: navigation, search
mNo edit summary
No edit summary
Line 1: Line 1:
{{doc/start}}
{{doc/start}}
Used to display [[Missions]].
{|
! Field !! Description !! Expected !! Example !! Default
|-
| type || The mission's type. || Salvage, Monster, Cargo, Beacon, Nest, Mining, Abandoned outpost, Escort, Pirate, Scan, Alien ruins, Combat || ||
|-
| name || The name of the mission. || || Terminate a Swarm || <code><nowiki>{{PAGENAME}}</nowiki></code>
|-
| icon || The mission's icon. || File || || <code><nowiki>Mission {{{name|{{PAGENAME}}}}}.png</nowiki></code>
|-
| iconsize || The size of the mission's icon. || ##, x##, ##x## || x64 || x128
|-
| identifier || The mission's identifier. || || killcrawlers1 ||
|-
| targets || The objective of the mission. || || <nowiki>1 - 4 [[Crawlers]]</nowiki> ||
|-
| difficulty || The difficulty of the mission. || 1 - 4 || ||
|-
| rewards || The payout of the mission. || || 1,000 Marks ||
|-
| locations || A list of valid passageways. || || Research → Any || Any → Any
|}


= Syntax =
<code><nowiki>
{{Mission
{{Mission
| name = The name of the mission
| name       = Terminate a Swarm
| identifier = The identifier of the mission
| identifier = killcrawlers1
| customtext = Replaces the image with the argument's written text
| targets    = 1 - 4 [[Crawlers]]
| image = The name of the image
| imagewidth = The width of the image
| target = The objective of the mission
| difficulty = A number from 1 - 4
| reward = The rewards obtained from the mission
}}
</nowiki></code>
 
= Examples =
<code><nowiki>
{{Mission
| name = Terminate a Swarm
| image = Crawler
| imagewidth = 40
| target = 1 - 4 [[Crawlers]]
| difficulty = 2
| reward = 1,000 Marks
}}
</nowiki></code>
{{Mission
| name = Terminate a Swarm
| image = Crawler
| target = 1 - 4 [[Crawlers]]
| difficulty = 2
| difficulty = 2
| reward = 1,000 Marks
| rewards    = 1,000 Marks
}}
}}
{{doc/end}}
{{doc/end}}

Revision as of 06:36, 9 January 2023

Documentation
Field Description Expected Example Default
type The mission's type. Salvage, Monster, Cargo, Beacon, Nest, Mining, Abandoned outpost, Escort, Pirate, Scan, Alien ruins, Combat
name The name of the mission. Terminate a Swarm {{PAGENAME}}
icon The mission's icon. File Mission {{{name|{{PAGENAME}}}}}.png
iconsize The size of the mission's icon. ##, x##, ##x## x64 x128
identifier The mission's identifier. killcrawlers1
targets The objective of the mission. 1 - 4 [[Crawlers]]
difficulty The difficulty of the mission. 1 - 4
rewards The payout of the mission. 1,000 Marks
locations A list of valid passageways. Research → Any Any → Any
[[:Category:{{{type}}} Missions|{{{type}}}]] - Terminate a Swarm
File:Mission killcrawlers1.png
Mission Details
Difficulty 2
Valid Locations/Passageways Any LocationAny Location
Target(s) 1 - 4 Crawlers
Reward(s) 1,000 Marks
Technical
Identifier killcrawlers1
[[Category:{{{type}}} Missions]]

This is the documentation page, it should be transcluded into the main template page. See Template:Doc for more information.