Template:Infobox Mission Item: Difference between revisions

Template page
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

Infobox Mission Item
[[File:Template:Image.png|200px]]


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 Weight icon.png

Use this template for the mission item infobox.

Template parameters

ParameterDescriptionTypeStatus
Imageimage

Name of the icon.png

Example
Notes on Meteor Experiment - 1
Stringoptional
Mapmap

Map of the item location

Example
Bright Sands
Stringrequired
locationlocation

locationname of the items position

Example
Water Facility
Stringsuggested
Missionmission

The Mission which needs the item for completion

Example
Doing the Work
Stringsuggested
Weightweight

The weight of the Item

Example
2
Numberrequired
Cookies help us deliver our services. By using our services, you agree to our use of cookies.