m (fixed mission links) |
m (added optional image varriable) |
||
Line 2: | Line 2: | ||
<div class="infobox floatright"> | <div class="infobox floatright"> | ||
<div class="infobox-title">{{{title|{{PAGENAME}}}}}</div> | <div class="infobox-title">{{{title|{{PAGENAME}}}}}</div> | ||
<div class="infobox-image">[[File:{{PAGENAME}}.png|200px]]</div> | <div class="infobox-image">{{#if:{{{image}}}|[[File:{{image}}.png|200px]]|[[File:{{PAGENAME}}.png|200px]]}}</div> | ||
<table class="zebra">{{#if:{{{map|}}}|<tr> | <table class="zebra">{{#if:{{{map|}}}|<tr> | ||
Line 39: | Line 39: | ||
{ | { | ||
"params": { | "params": { | ||
"image": { | |||
"label": "Image", | |||
"description": "Name of the icon.png", | |||
"example": "Notes on Meteor Experiment - 1", | |||
"type": "string", | |||
"required": false | |||
}, | |||
"map": { | "map": { | ||
"label": "Map", | "label": "Map", |
Revision as of 00:34, 30 May 2023
To use the template write:
{{Infobox_Mission_Item |map = |location = |mission = |weight = }}
Infobox Mission Item
[[File:Template:Image.png|200px]]
Map | Bright Sands |
---|---|
Location | Water Facility |
Mission | Doing the Work Part 2 |
Weight | 2 |
Use this template for the mission item infobox.
Parameter | Description | Type | Status | |
---|---|---|---|---|
Image | image | Name of the icon.png
| String | optional |
Map | map | Map of the item location
| String | required |
location | location | locationname of the items position
| String | suggested |
Mission | mission | The Mission which needs the item for completion
| String | suggested |
Weight | weight | The weight of the Item
| Number | required |