Template:Mission details/doc: Difference between revisions
Jump to navigation
Jump to search
Oscillator (talk | contribs) m added template data for VE |
Oscillator (talk | contribs) 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
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
|
||||||||||||||||||||||||||||||||||||||||
