Template:Mission/doc: Difference between revisions

From Official Barotrauma Wiki
Jump to: navigation, search
mNo edit summary
mNo edit summary
 
(9 intermediate revisions by the same user not shown)
Line 1: Line 1:
{{doc/start}}
{{doc/start}}
Used to display [[Missions]].
{|
 
! Field !! Description !! Expected !! Example !! Default
= Syntax =
|-
<code><nowiki>
| 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
|-
| description || The mission's description. || || ||
|-
| targets || The objective of the mission. || || <nowiki>1 - 4 [[Crawlers]]</nowiki> ||
|-
| difficulty || The difficulty of the mission. || 1 - 4 || || 1
|-
| rewards || The payout of the mission. || || 1,000 Marks ||
|-
| locations || A list of valid passageways. || || Research → Any || Any → Any
|-
| identifier || The mission's identifier. || || killcrawlers1 ||
|-
| tags || The mission's tags. || || ||
|}
<br>
{{Mission
{{Mission
| name = The name of the mission
| type        = Salvage
| identifier = The identifier of the mission
| name        = Salvaging an artifact
| customtext = Replaces the image with the argument's written text
| icon        = Mission Salvaging an Artifact (Ruins).png
| image = The name of the image
| description = Researchers of [location1] have picked up an infrasonic signal highly similar to those emitted by alien artifacts previously discovered on Europa. Investigate the signal and retrieve the potential artifact.
| imagewidth = The width of the image
| targets    = 1 [[Artifacts|Artifact]]
| target = The objective of the mission
| difficulty = 3
| difficulty = A number from 1 - 4
| rewards    = 3,500 Marks<br>[[File:Outpost.png|x16px]]'''10''' [[Campaign#Outposts|Outpost]] Reputation<br>[[File:Faction Europa Coalition.png|x16px]]'''5''' [[Europa Coalition]] Reputation
| reward = The rewards obtained from the mission
| locations  = City, Outpost → Research, None, Lair<br>Research → Any
}}
| nocat      = yes
</nowiki></code>


= Examples =
| identifier = salvageartifactruins
<code><nowiki>
| tags      = salvage,salvageartifact
{{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
| reward = 1,000 Marks
}}
}}
{{doc/end}}
{{doc/end}}

Latest revision as of 19:30, 29 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
description The mission's description.
targets The objective of the mission. 1 - 4 [[Crawlers]]
difficulty The difficulty of the mission. 1 - 4 1
rewards The payout of the mission. 1,000 Marks
locations A list of valid passageways. Research → Any Any → Any
identifier The mission's identifier. killcrawlers1
tags The mission's tags.


Salvage - Salvaging an artifact

Researchers of [location1] have picked up an infrasonic signal highly similar to those emitted by alien artifacts previously discovered on Europa. Investigate the signal and retrieve the potential artifact.
Mission Details
Difficulty 3
Valid Locations/Passageways City, Outpost → Research, None, Lair
Research → Any
Target(s) 1 Artifact
Reward(s) 3,500 Marks
10 Outpost Reputation
5 Europa Coalition Reputation
Technical
Identifier salvageartifactruins
Tags salvage, salvageartifact

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