Difference between revisions of "Template:Infobox mapframe/doc/parameters/doc"

From blackwiki
Jump to navigation Jump to search
imported>DePiep
imported>DePiep
Line 10: Line 10:
 
==Parameters==
 
==Parameters==
 
<pre>
 
<pre>
 +
<!-- All parameters, no aliases (29) -->
 +
<!-- Basic parameters: -->
 +
| mapframe =
 +
| mapframe-caption =
 +
| mapframe-custom =
 +
| qid =
 +
| mapframe-coordinates =
 +
| mapframe-wikidata =
 +
<!-- Customise features displayed: -->
 +
| mapframe-shape =
 +
| mapframe-point =
 +
| mapframe-line =
 +
| mapframe-geomask =
 +
| mapframe-switcher =
 +
<!-- Other optional parameters: -->
 +
| mapframe-frame-width =
 +
| mapframe-frame-height =
 +
| mapframe-shape-fill =
 +
| mapframe-shape-fill-opacity =
 +
| mapframe-stroke-color =
 +
| mapframe-stroke-width =
 +
| mapframe-marker =
 +
| mapframe-marker-color =
 +
| mapframe-geomask-stroke-color =
 +
| mapframe-geomask-stroke-width =
 +
| mapframe-geomask-fill =
 +
| mapframe-geomask-fill-opacity =
 +
| mapframe-zoom =
 +
| mapframe-length_km =
 +
| mapframe-length_mi =
 +
| mapframe-area_km2 =
 +
| mapframe-area_mi2 =
 +
| mapframe-frame-coordinates =
 +
</pre>
 +
 +
<pre>
 +
<!-- Including all aliases (40) -->
 +
<!-- Basic parameters: -->
 +
| mapframe =
 +
| mapframe-caption =
 +
| mapframe-custom =
 +
| id =
 +
| mapframe-id =
 +
| qid =
 +
| mapframe-coordinates =
 +
| mapframe-coord =
 +
| coordinates =
 +
| coord =
 +
| mapframe-wikidata =
 +
<!-- Customise features displayed: -->
 +
| mapframe-shape =
 +
| mapframe-point =
 +
| mapframe-line =
 +
| mapframe-geomask =
 +
| mapframe-switcher =
 +
<!-- Other optional parameters: -->
 +
| mapframe-frame-width =
 +
| mapframe-width =
 +
| mapframe-frame-height =
 +
| mapframe-height =
 +
| mapframe-shape-fill =
 +
| mapframe-shape-fill-opacity =
 +
| mapframe-stroke-color =
 +
| mapframe-stroke-colour =
 +
| mapframe-stroke-width =
 +
| mapframe-marker =
 +
| mapframe-marker-color =
 +
| mapframe-marker-colour =
 +
| mapframe-geomask-stroke-color =
 +
| mapframe-geomask-stroke-colour =
 +
| mapframe-geomask-stroke-width =
 +
| mapframe-geomask-fill =
 +
| mapframe-geomask-fill-opacity =
 +
| mapframe-zoom =
 +
| mapframe-length_km =
 +
| mapframe-length_mi =
 +
| mapframe-area_km2 =
 +
| mapframe-area_mi2 =
 +
| mapframe-frame-coordinates =
 +
| mapframe-frame-coord =
 
</pre>
 
</pre>
  

Revision as of 13:37, 29 November 2020

Parameter documentation for {{Infobox mapframe}}, and infoboxes using Module:Infobox mapframe (auto function).

  • Set |noprefix=yes to show without the "mapframe-" prefix – for use on Template:Infobox mapframe/doc.
  • Set alternate default values by passing in parameters of the form parameter-name=value e.g. |mapframe-marker=church.
  • Set |deprecated=yes to show deprecated parameters

Usage

Parameters

<!-- All parameters, no aliases (29) -->
<!-- Basic parameters: -->
| mapframe = 
| mapframe-caption = 
| mapframe-custom = 
| qid = 
| mapframe-coordinates = 
| mapframe-wikidata = 
<!-- Customise features displayed: -->
| mapframe-shape = 
| mapframe-point = 
| mapframe-line = 
| mapframe-geomask = 
| mapframe-switcher = 
<!-- Other optional parameters: -->
| mapframe-frame-width = 
| mapframe-frame-height = 
| mapframe-shape-fill = 
| mapframe-shape-fill-opacity = 
| mapframe-stroke-color = 
| mapframe-stroke-width = 
| mapframe-marker = 
| mapframe-marker-color = 
| mapframe-geomask-stroke-color = 
| mapframe-geomask-stroke-width = 
| mapframe-geomask-fill = 
| mapframe-geomask-fill-opacity = 
| mapframe-zoom = 
| mapframe-length_km = 
| mapframe-length_mi =
| mapframe-area_km2 =
| mapframe-area_mi2 = 
| mapframe-frame-coordinates =
<!-- Including all aliases (40) -->
<!-- Basic parameters: -->
| mapframe = 
| mapframe-caption = 
| mapframe-custom = 
| id = 
| mapframe-id = 
| qid = 
| mapframe-coordinates = 
| mapframe-coord = 
| coordinates = 
| coord = 
| mapframe-wikidata = 
<!-- Customise features displayed: -->
| mapframe-shape = 
| mapframe-point = 
| mapframe-line = 
| mapframe-geomask = 
| mapframe-switcher = 
<!-- Other optional parameters: -->
| mapframe-frame-width = 
| mapframe-width = 
| mapframe-frame-height = 
| mapframe-height = 
| mapframe-shape-fill = 
| mapframe-shape-fill-opacity = 
| mapframe-stroke-color = 
| mapframe-stroke-colour = 
| mapframe-stroke-width = 
| mapframe-marker = 
| mapframe-marker-color = 
| mapframe-marker-colour = 
| mapframe-geomask-stroke-color = 
| mapframe-geomask-stroke-colour = 
| mapframe-geomask-stroke-width = 
| mapframe-geomask-fill = 
| mapframe-geomask-fill-opacity = 
| mapframe-zoom = 
| mapframe-length_km = 
| mapframe-length_mi =
| mapframe-area_km2 =
| mapframe-area_mi2 = 
| mapframe-frame-coordinates =
| mapframe-frame-coord = 

Deprecated

The deprecated parameters are:

  • mapframe-frame-lat or mapframe-frame-latitude – Alternate latitude coordinate for initial placement of map; default is derived from item coordinates
  • mapframe-frame-long or mapframe-frame-longitude – Alternate longitude coordinate for initial placement of map; default is derived from item coordinates