Toggle menu
Toggle preferences menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

Template:Location: Difference between revisions

Template page
Added title field
mNo edit summary
 
(5 intermediate revisions by 4 users not shown)
Line 4: Line 4:
   </title>
   </title>
   <image source="image">
   <image source="image">
<caption source="caption"/>
    <caption source="caption"/>
   </image>
   </image>
  <data source="description">
    <format><center>{{{description}}}</center></format>
  </data>
   <data source="location">
   <data source="location">
     <label>Location(s)</label>
     <label>Location(s)</label>
  </data>
  <data source="coords">
    <label>Coordinates</label>
   </data>
   </data>
</infobox>
</infobox>
<includeonly>[[Category:Locations]]</includeonly>
<noinclude>
<noinclude>
<templatedata>
<templatedata>
Line 22: Line 29:
"label": "Image",
"label": "Image",
"description": "Image of the POI",
"description": "Image of the POI",
            "type": "wiki-file-name",
"suggested": true
},
"description": {
"label": "Description",
"description": "Description of the location in the navigator",
            "type": "string",
"suggested": true
"suggested": true
},
},
Line 29: Line 43:
"type": "string",
"type": "string",
"suggested": true
"suggested": true
}
},
        "coords": {
            "label": "Coordinates",
            "description": "The in-game coordinates of the POI",
            "type": "string",
            "suggested": true
        }
},
},
"description": "Adds a PIO infobox to the page",
"description": "Adds a PIO infobox to the page",
Line 35: Line 55:
         "title",
         "title",
"image",
"image",
"location"
        "description",
"location",
        "coords"
],
],
"format": "block"
"format": "block"

Latest revision as of 19:27, 13 June 2024


Adds a PIO infobox to the page

Template parameters[Edit template data]

This template prefers block formatting of parameters.

ParameterDescriptionTypeStatus
Titletitle

Title for the infobox

Unknownsuggested
Imageimage

Image of the POI

Filesuggested
Descriptiondescription

Description of the location in the navigator

Stringsuggested
Location(s)location

Location of the POI

Stringsuggested
Coordinatescoords

The in-game coordinates of the POI

Stringsuggested