| Parameter | Description |
| map | frame, link, linkc or hidden. (determines what to make ie. a mapframe or maplink) - Required |
| type | poly, line - produce a polygon or just a line for most shapes. Default is poly. In a few rare instances type is not used. |
| shape | shape to draw in a mapframe or maplink - see list above. (empty builds no GeoJSON code - thus can have a basic mapframe or maplink). Some shapes appear centered on the coordinates (lat, long) or point to the position. |
| zoom | default is 10 for mapframe and 17 for link, linkc as issue with popup map when zoom is missing. (Best to provide zoom parameter. |
| width | width of mapframe (default 420) |
| height | height of mapframe (default 420) |
| align | default right for mapframe |
| group | default group is shapes or enter a different group name as desired. |
| show | enter groups to show or display - ie. show=sites,see,vicinity or leave blank and only members of those groups will appear |
| direction | some shapes can be placed facing a direction ie. horizontally (h) or vertically (v) or according to 8 points of a compass (1-8) - equitri (1-8), ellipse (h or v), bar (h or v), rhombus (h or v), arrow (1-8), wedge (1-8) and pointer (1-8). Default of h or 1 are used. |
| id | Wikidata ID ie. Q97 - used to build lat long if parameters lat & long are not available. Not capturing an article's id at this time in the (frame) argument used by the the Mapdraw2 module. id is required when building mapshapes from OSM. Template defaults id to be Q97. |
| id2 | only used to create a line from coordinates found in wikidata id and id2. Template defaults id2 to be Q20. |
| lat | latitude 90 and -90 - if no id then lat and long should be provided (created from id if missing). |
| long | longitude 180 and -180 - if no id then lat and long should be provided (created from id if missing). |
| lang | proposed internationalization for mapframe ie. lang=jp (2 char code) or lang=local |
| radius | size is based on radius of a circle - default is .5, MAX set at 10 -- and can not be less than or equal to 0 -- .00010 is about 40 meters, 3 is about 50 km (large range of sizes available) |
| fill | fill color for type poly (polygon) ie. #ff0000 |
| fillopacity | opacity of fill color -- values 0.0-1.0 - 0.0 being none and 1.0 being solid (use decimal places) The higher the opacity, makes the filled in area darker and almost blanks out the underlying streets, names etc. on the map. |
| stroke | color of outline of polygon or line ie. #ffccff |
| strokeopacity | opacity of outline of polygon or line -- values 0.0-1.0 0.0 being none and 1.0 being solid (use decimal places) |
| strokewidth | thickness of outline of polygon or line -- defaults set to 1 - value >= 0 |
| title | title to be part of popup found in displayed shape |
| class | icon or no-icon - default icon - used basically for maplink |
| text | name placed at bottom of a mapframe map or text used for maplink on a page - text has this double use. Certain characters may need to be backslashed in order to appear correctly. |
| desc | description as part of popup in shape. Not only can one use actual text but an Image may be used within a description. If one uses " in a description it should be entered as \". Multi-paragraphs can be separate by </br>. Note description text normally appears with centered lines. Note: (May have to use \n instead of an html break and/or add \n to provide line breaks. |
| descattr | l (left), r (right), c (center). - orient description text. |
| sides | number of sides - used in multiside only - (can be used to draw a circle 90+ would suffice for sides parameter). The default is 3 (triangle). 4 can produce a square, 5 a pentagon, 8 an octagon etc. |
| geotype | geomask, geoshape, geoline (to be used to create shape from OSM - requires id) and page (page to be used with shape=external requires file to work with data file in Commons). These are used with shape=external |
| file | name of file found in Commons - required if geotype=page and shape=external - these are virtually complete as far as code goes and does not need many of the parameters listed. |
| symbol | symbol specific to creating a Point - use with shape point only - maki (city, town, zoo etc.) -letter or -number (with or without counter names) not recommended as output may be slightly different from that which one would expect - see testing pages |
| color | #ff0000 - color specific for a Point - (city symbol in red) |
| size | small, medium or large size specific for a Point - default is medium. |