Template:Mission details/doc: Difference between revisions

From [N8]
Jump to navigation Jump to search
mNo edit summary
m updated strings and labels
 
Line 19: Line 19:
"example": "Jupiter Icon.png",
"example": "Jupiter Icon.png",
"required": true,
"required": true,
"type": "string"
"type": "string",
"label": "Icon"
},
},
"start": {
"start": {
Line 25: Line 26:
"example": "Travel to [[Jupiter]]",
"example": "Travel to [[Jupiter]]",
"required": true,
"required": true,
"type": "string"
"type": "string",
"label": "Start"
},
},
"difficulty": {
"difficulty": {
Line 31: Line 33:
"example": "easy",
"example": "easy",
"required": true,
"required": true,
"type": "string"
"type": "string",
"label": "Difficulty"
},
},
"length": {
"length": {
Line 37: Line 40:
"example": "Short",
"example": "Short",
"required": true,
"required": true,
"type": "string"
"type": "string",
"label": "Length"
},
},
"requirements": {
"requirements": {
Line 43: Line 47:
"example": "{{Missionreq|Jayco - A Brief History Pt. 2}}",
"example": "{{Missionreq|Jayco - A Brief History Pt. 2}}",
"required": true,
"required": true,
"type": "string"
"type": "string",
"label": "Requirements"
},
},
"items": {
"items": {
"description": "List of items needed to complete the mission.  List all necessary.  Link to wiki page when possible",
"description": "List of items needed to complete the mission.  List all necessary.  Link to wiki page when possible",
"example": "* 50 [[Small Helium Canister|Small Helium Canisters]]",
"example": "* 50 [[Small Helium Canister|Small Helium Canisters]]",
"type": "string"
"type": "string",
"label": "Items"
},
},
"kills": {
"kills": {
"description": "List the number of destroyed ships are needed.  Be sure to list if Player vs. Drone.",
"description": "List the number of destroyed ships are needed.  Be sure to list if Player vs. Drone.",
"example": "* Destroy 10 [[Drones]]",
"example": "* Destroy 10 [[Drones]]",
"type": "string"
"type": "string",
"label": "Kills"
}
}
},
},

Latest revision as of 20:49, 14 January 2021

This is a documentation subpage for Template:Mission details.
It contains usage information, categories, and other content that is not part of the original template page.
Template:Mission details invokes function details in Module:MissionDetails using Lua.
{{Mission details
|icon = Jupiter Icon.png
|start = Travel to [[Jupiter]].
|difficulty = easy 
|length = Short
|requirements =
{{Missionreq|JayCo - A Brief History Part 2}}
|items = 
* 50 [[Small Helium Canister|Small Helium Canisters]]
|kills = 
}}

Data

Show/hide template's data

The following information is used by extensions and applications, such as VisualEditor, to help users implement this template onto pages. Please ensure that it is up-to-date.

Mission Details Template goes right below the ==Overview== header on a Mission Page

Template parameters

This template prefers block formatting of parameters.

ParameterDescriptionTypeStatus
Iconicon

Icon for location of Mission

Example
Jupiter Icon.png
Stringrequired
Startstart

Where to start the mission

Example
Travel to [[Jupiter]]
Stringrequired
Difficultydifficulty

difficulty of mission per mission details

Example
easy
Stringrequired
Lengthlength

length of mission

Example
Short
Stringrequired
Requirementsrequirements

This has a nested template with in it {{Missionreq}}. It will be {{Missionreq| NAME OF CURRENT MISSION}}

Example
{{Missionreq|Jayco - A Brief History Pt. 2}}
Stringrequired
Itemsitems

List of items needed to complete the mission. List all necessary. Link to wiki page when possible

Example
* 50 [[Small Helium Canister|Small Helium Canisters]]
Stringoptional
Killskills

List the number of destroyed ships are needed. Be sure to list if Player vs. Drone.

Example
* Destroy 10 [[Drones]]
Stringoptional