Template:Mission details/doc: Difference between revisions

From [N8]
Jump to navigation Jump to search
m added template data for VE
m updated strings and labels
 
(One intermediate revision by the same user not shown)
Line 18: Line 18:
"description": "Icon for location of Mission",
"description": "Icon for location of Mission",
"example": "Jupiter Icon.png",
"example": "Jupiter Icon.png",
"required": true
"required": true,
"type": "string",
"label": "Icon"
},
},
"start": {
"start": {
"description": "Where to start the mission",
"description": "Where to start the mission",
"example": "Travel to [[Jupiter]]",
"example": "Travel to [[Jupiter]]",
"required": true
"required": true,
"type": "string",
"label": "Start"
},
},
"difficulty": {
"difficulty": {
"description": "difficulty of mission per mission details",
"description": "difficulty of mission per mission details",
"example": "easy",
"example": "easy",
"required": true
"required": true,
"type": "string",
"label": "Difficulty"
},
},
"length": {
"length": {
"description": "length of mission",
"description": "length of mission",
"example": "Short",
"example": "Short",
"required": true
"required": true,
"type": "string",
"label": "Length"
},
},
"requirements": {
"requirements": {
"description": "This has a nested template with in it {{Missionreq}}.  It will be {{Missionreq| NAME OF CURRENT MISSION}}",
"description": "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}}",
"example": "{{Missionreq|Jayco - A Brief History Pt. 2}}",
"required": true
"required": true,
"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",
"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",
"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