Jump to content

Template:Infobox event/doc: Difference between revisions

Coordinates: 18°57′10″N 72°50′42″E / 18.95278°N 72.84500°E / 18.95278; 72.84500
From the Vrienden Universe, a fictional wiki
m 1 revision imported
Remove unused Wikipedia category assignments
 
(2 intermediate revisions by the same user not shown)
Line 1: Line 1:
{{Documentation subpage}}
{{Documentation subpage}}
<!-- Please place categories where indicated at the bottom of this page and interwikis at Wikidata (see [[Wikipedia:Wikidata]]) -->
<!-- Please place categories where indicated at the bottom of this page and interwikis at Wikidata (see Wikidata) -->
{{High-use}}
{{High-use}}
{{Lua|Module:Infobox|Module:InfoboxImage|Module:Check for unknown parameters}}
{{Lua|Module:Infobox|Module:InfoboxImage|Module:Check for unknown parameters}}


{{tlx|Infobox event}} should be used to specify one-off events, usually at the top of an article. For recurring events, use {{nowrap|{{tlx|Infobox recurring event}}}}. For other type of events, check: [[Wikipedia:List of infoboxes]]
{{tlx|Infobox event}} should be used to specify one-off events, usually at the top of an article. For recurring events, use {{nowrap|{{tlx|Infobox recurring event}}}}. For other type of events, check: List of infoboxes


== Usage ==
== Usage ==
Line 146: Line 146:


=== Parameters ===
=== Parameters ===
{{TemplateData header}}
 
<templatedata>
{
"params": {
"nongregorian": {},
"partof": {
"label": "Part of"
},
"child": {
"label": "Child infobox",
"description": "Set to \"yes\" if you are embedding this infobox in another one",
"type": "string"
},
"title": {
"aliases": [
"event",
"name",
"Event_Name"
],
"label": "Title",
"description": "Name of the event, if omitted, the page name will be used",
"type": "line"
},
"logo": {
"label": "Logo",
"description": "Logo filename",
"type": "wiki-file-name"
},
"logo_size": {
"label": "Logo size"
},
"logo_upright": {
"label": "Logo upright (scale factor)"
},
"logo_alt": {
"label": "Logo alt text",
"description": "A description of the logo intended for the blind; say what you see. No formatting.",
"example": "Black text reading \"example\" on white circle.",
"type": "string"
},
"logo_caption": {
"label": "Logo caption",
"description": "Caption to display under the logo.",
"type": "line"
},
"image": {
"aliases": [
"image_name",
"Image_Name"
],
"label": "Image",
"description": "Name of the image of the event",
"type": "wiki-file-name",
"suggested": true
},
"image_size": {
"aliases": [
"Imagesize"
],
"label": "Image size",
"description": "Image size in pixels",
"deprecated": "Use image_upright instead."
},
"image_upright": {
"label": "Image upright (scale factor)",
"description": "Image scaling factor; defaults to 1 if left empty – see [[WP:IMGSIZE]]"
},
"thumbtime": {
"aliases": [
"Thumb_Time"
],
"label": "Thumbnail time",
"description": "If the image parameter is a video, this timestamp is the section of the video that will be used as a thumbnail."
},
"image_alt": {
"aliases": [
"alt",
"Image_Alt"
],
"label": "Image alt text",
"description": "A description of the logo intended for the blind; say what you see. No formatting.",
"type": "string"
},
"caption": {
"aliases": [
"Image_Caption"
],
"label": "Image caption",
"description": "Optional caption of the image",
"type": "line"
},
"map": {},
"map_size": {},
"map_alt": {},
"map_caption": {},
"pushpin_map": {},
"pushpin_map_caption": {},
"native_name": {
"label": "Native name",
"description": "The native name of the event, if different"
},
"native_name_lang": {
"label": "Language of native name",
"description": "ISO 639-2 code for the native name e.g. 'fr' for French",
"type": "string"
},
"English_name": {},
"date": {
"description": "{{start date|YYYY|MM|DD}} for the date of a single-day event or {{start and end dates|YYYY|MM|DD|YYYY|MM|DD}} for multi-day events"
},
"duration": {
"label": "Duration of the event"
},
"venue": {
"label": "Venue",
"description": "name of the particular venue (alternative to location)"
},
"Location": {
"aliases": [
"location",
"place"
],
"label": "Location",
"description": "The location of the event",
"type": "line"
},
"coordinates": {
"label": "Coordinates",
"description": "Use {{Coord}}, with display=inline,title",
"example": "{{coord|LAT|LON|region:XXXX_type:event|display=inline,title}}"
},
"also known as": {
"aliases": [
"also_known_as",
"AKA",
"aka"
],
"label": "Also known as",
"type": "line"
},
"type": {},
"theme": {},
"cause": {},
"motive": {},
"perpetrator": {
"label": "Perpetrator",
"type": "line",
"description": "The perpetrator of the event, if it was a crime"
},
"reporter": {
"aliases": [
"first reporter"
],
"label": "Reporter",
"type": "line",
"description": "First or key reporter(s)"
},
"budget": {
"label": "Budget",
"description": "The larger of budgeted income or expense",
"type": "line"
},
"patron": {
"aliases": [
"patrons"
],
"label": "Patrons",
"type": "line"
},
"organizers": {
"aliases": [
"organisers"
],
"label": "Organizers"
},
"filmed by": {},
"participants": {
"label": "Participants",
"description": "The typical number of participants",
"type": "line"
},
"outcome": {
"aliases": [
"result"
],
"label": "Outcome",
"type": "line"
},
"casualties1": {
"label": "First group of or total casualties",
"description": "Use to indicate the first casualties of an event, or for the total casualties if there is only one group of casualties. Include a short explanation of that group if it is the first casualties. ",
"example": "150 (initial collapse of mine)"
},
"casualties2": {
"label": "Second group of casualties",
"description": "Use to indicate the second group of casualties of an event. Include a short explanation of the group. ",
"example": "8 (death from injuries while awaiting rescue)",
"type": "string"
},
"casualties3": {
"label": "Third group of casualties",
"description": "Use to indicate the third group of casualties of an event. Include a short explanation of the group. ",
"example": "2 (in hospital following rescue)",
"type": "string"
},
"reported deaths": {
"aliases": [
"reported death(s)",
"Deaths",
"fatalities"
]
},
"reported injuries": {
"aliases": [
"injuries"
],
"label": "Injuries",
"type": "line"
},
"missing": {
"aliases": [
"reported missing"
],
"label": "Missing",
"description": "The number of people missing",
"type": "string"
},
"property damage": {
"aliases": [
"reported property damage"
],
"label": "Property damage",
"type": "line"
},
"burial": {},
"displaced": {
"label": "Displaced",
"description": "People forced to leave home",
"type": "line"
},
"inquiries": {},
"inquest": {},
"coroner": {},
"arrests": {},
"suspects": {
"aliases": [
"susperps"
]
},
"accused": {},
"convicted": {},
"charges": {},
"trial": {},
"verdict": {},
"convictions": {},
"sentence": {},
"publication bans": {
"aliases": [
"publication_bans"
],
"label": "Publication bans",
"type": "line"
},
"litigation": {},
"awards": {},
"footage": {
"aliases": [
"url"
],
"label": "Footage of the event",
"description": "The name and/or url of footage of the event."
},
"blank_label": {
"label": "First blank label",
"description": "Use with First blank data parameter"
},
"blank_data": {
"label": "First blank data",
"description": "Use with First blank label parameter"
},
"blank1_label": {
"label": "Second blank label",
"description": "Use with Second blank data parameter"
},
"blank1_data": {
"label": "Second blank data",
"description": "Use with Second blank label parameter"
},
"blank2_label": {
"label": "Third blank label",
"description": "Use with Third blank data parameter"
},
"blank2_data": {
"label": "Third blank data",
"description": "Use with Third blank label parameter"
},
"website": {
"aliases": [
"URL"
],
"label": "Website",
"description": "Use {{URL}}",
"example": "{{URL|example.com}}"
},
"module": {
"label": "Module",
"description": "For embedding another infobox as a child",
"example": "{{infobox person|child=yes}}",
"type": "string"
},
"notes": {
"label": "Notes",
"description": "Free-form notes for the bottom of the infobox",
"type": "content"
},
"Target": {
"label": "Target of the event",
"type": "string"
},
"timezone": {
"label": "Timezone",
"description": "If Time is specified, the timezone of the event. Brackets/parentheses will be added automatically. ",
"example": "[[AWST]]",
"type": "string",
"aliases": [
"Timezone"
]
},
"time": {
"label": "Time of the event",
"description": "Time that the event occurred, in the relevant timezone. Use the Timezone parameter to display the timezone.",
"aliases": [
"Time"
]
},
"mapframe": {
"label": "Show mapframe map",
"description": "Specify yes or no to show or hide the map, overriding the default",
"example": "yes",
"type": "string",
"default": "no",
"suggested": true
},
"mapframe-caption": {
"label": "Mapframe caption",
"description": "Caption for the map. If mapframe-geomask is set, then the default is \"Location in <<geomask's label>>\"",
"type": "string"
},
"mapframe-custom": {
"label": "Custom mapframe",
"description": "Use a custom map instead of the automatic mapframe. Specify either a {{maplink}} template, or another template that generates a mapframe map, or an image name. If used, other mapframe parameters will be ignored.",
"type": "wiki-template-name"
},
"mapframe-id": {
"aliases": [
"id",
"qid"
],
"label": "Mapframe Wikidata item",
"description": "Id (Q-number) of Wikidata item to use.",
"type": "string",
"default": "(item for current page)"
},
"mapframe-coordinates": {
"aliases": [
"mapframe-coord",
"coordinates",
"coord"
],
"label": "Mapframe coordinates ",
"description": "Coordinates to use, instead of any on Wikidata. Use the {{Coord}} template.",
"example": "{{Coord|12.34|N|56.78|E}}",
"type": "wiki-template-name",
"default": "(coordinates from Wikidata)"
},
"mapframe-wikidata": {
"label": "Mapframe shapes from Wikidata",
"description": "et to yes to show shape/line features from the wikidata item, if any, when coordinates are specified by parameter",
"example": "yes",
"type": "string"
},
"mapframe-shape": {
"label": "Mapframe shape feature",
"description": "Override display of mapframe shape feature. Turn off by setting to \"none\". Use an inverse shape (geomask) instead of a regular shape by setting to \"inverse\"",
"type": "string"
},
"mapframe-point": {
"label": "Mapframe point feature",
"description": "Override display of mapframe point feature. Turn off display of point feature by setting to \"none\". Force point marker to be displayed by setting to \"on\"",
"type": "string"
},
"mapframe-geomask": {
"label": "Mapframe geomask",
"description": "Wikidata item to use as a geomask (everything outside the boundary is shaded darker). Can either be a specific Wikidata item (Q-number), or a property that specifies the item to use (e.g. P17 for country, or P131 for located in the administrative territorial entity)",
"example": "Q100",
"type": "wiki-page-name"
},
"mapframe-switcher": {
"label": "Mapframe switcher",
"description": "Set to \"auto\" or \"geomasks\" or \"zooms\" to enable Template:Switcher-style switching between multiple mapframes. IF SET TO auto – switch geomasks found in location (P276) and located in the administrative territorial entity (P131) statements on the page's Wikidata item, searching recursively. E.g. an item's city, that city's state, and that state's country. IF SET TO geomasks – switch between the geomasks specified as a comma-separated list of Wikidata items (Q-numbers) in the mapframe-geomask parameter. IF SET TO zooms – switch between \"zoomed in\"/\"zoomed midway\"/\"zoomed out\", where \"zoomed in\" is the default zoom (with a minimum of 3), \"zoomed out\" is 1, and \"zoomed midway\" is the average.",
"type": "string"
},
"mapframe-frame-width": {
"aliases": [
"mapframe-width"
],
"label": "Mapframe width",
"description": "Frame width in pixels",
"type": "number",
"default": "270"
},
"mapframe-frame-height": {
"aliases": [
"mapframe-height"
],
"label": "Mapframe height",
"description": "Frame height in pixels",
"type": "number",
"default": "200"
},
"mapframe-shape-fill": {
"label": "Mapframe shape fill",
"description": "Color used to fill shape features",
"type": "string",
"default": "#606060"
},
"mapframe-shape-fill-opacity": {
"label": "Mapframe shape fill opacity",
"description": "Opacity level of shape fill, a number between 0 and 1",
"type": "number",
"default": "0.5"
},
"mapframe-stroke-color": {
"aliases": [
"mapframe-stroke-colour"
],
"label": "Mapframe stroke color",
"description": "Color of line features, and outlines of shape features",
"type": "string",
"default": "#ff0000"
},
"mapframe-stroke-width": {
"label": "Mapframe stroke width",
"description": "Width of line features, and outlines of shape features",
"type": "number",
"default": "5"
},
"mapframe-marker": {
"label": "Mapframe marker",
"description": "Marker symbol to use for coordinates; see [[mw:Help:Extension:Kartographer/Icons]] for options",
"example": "museum",
"type": "string"
},
"mapframe-marker-color": {
"aliases": [
"mapframe-marker-colour"
],
"label": "Mapframe marker color",
"description": "Background color for the marker",
"type": "string",
"default": "#5E74F3"
},
"mapframe-geomask-stroke-color": {
"aliases": [
"mapframe-geomask-stroke-colour"
],
"label": "Mapframe geomask stroke color",
"description": "Color of outline of geomask shape",
"type": "string",
"default": "#555555"
},
"mapframe-geomask-stroke-width": {
"label": "Mapframe geomask stroke width",
"description": "Width of outline of geomask shape",
"type": "number",
"default": "2"
},
"mapframe-geomask-fill": {
"label": "Mapframe geomask fill",
"description": "Color used to fill outside geomask features",
"type": "string",
"default": "#606060"
},
"mapframe-geomask-fill-opacity": {
"label": "Mapframe geomask fill opacity",
"description": "Opacity level of fill outside geomask features, a number between 0 and 1",
"type": "number",
"default": "0.5"
},
"mapframe-zoom": {
"label": "Mapframe zoom",
"description": "Set the zoom level, from \"1\" to \"18\", to used if the zoom level cannot be determined automatically from object length or area",
"example": "12",
"type": "number",
"default": "10"
},
"mapframe-length_km": {
"label": "Mapframe length (km)",
"description": "Object length in kilometres, for automatically determining zoom level. ONLY use ONE of the available parameters for length or area",
"type": "number"
},
"mapframe-length_mi": {
"label": "Mapframe length (mi)",
"description": "Object length in miles, for automatically determining zoom level. ONLY use ONE of the available parameters for length or area",
"type": "number"
},
"mapframe-area_km2": {
"label": "Mapframe area (km^2)",
"description": "Object arean square kilometres, for automatically determining zoom level. ONLY use ONE of the available parameters for length or area",
"type": "number"
},
"mapframe-area_mi2": {
"label": "Mapframe area (mi^2)",
"description": "Object area in square miles, for automatically determining zoom level. ONLY use ONE of the available parameters for length or area",
"type": "number"
},
"mapframe-frame-coordinates": {
"aliases": [
"mapframe-frame-coord"
],
"label": "Mapframe frame coordinates",
"description": "Alternate latitude and longitude coordinates for initial placement of map, using {{coord}}",
"example": "{{Coord|12.35|N|56.71|E}}",
"type": "wiki-template-name"
},
"mapframe-line": {},
"mapframe-type": {
"label": "Mapframe type",
"description": "Type of the object rendered in the mapframe, like with {{coord}}.",
"type": "string"
}
},
"description": "{{Infobox event}} should be used to specify one-off events, usually at the top of an article. For recurring events, use {{Infobox recurring event}}. For other type of events, check: [[Wikipedia:List of infoboxes]]",
"paramOrder": [
"title",
"partof",
"logo",
"logo_size",
"logo_upright",
"logo_alt",
"logo_caption",
"image",
"image_size",
"image_upright",
"image_alt",
"caption",
"thumbtime",
"native_name",
"English_name",
"nongregorian",
"map",
"map_size",
"map_alt",
"map_caption",
"pushpin_map",
"pushpin_map_caption",
"mapframe",
"mapframe-caption",
"mapframe-custom",
"mapframe-id",
"mapframe-coordinates",
"mapframe-wikidata",
"mapframe-point",
"mapframe-shape",
"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",
"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",
"mapframe-switcher",
        "mapframe-line",
"mapframe-type",
"native_name_lang",
"date",
"time",
"timezone",
"duration",
"venue",
"Location",
"coordinates",
"also known as",
"type",
"theme",
"cause",
"motive",
"Target",
"perpetrator",
"reporter",
"budget",
"patron",
"organizers",
"filmed by",
"participants",
"outcome",
"casualties1",
"casualties2",
"casualties3",
"reported deaths",
"reported injuries",
"missing",
"property damage",
"burial",
"displaced",
"inquiries",
"inquest",
"coroner",
"arrests",
"suspects",
"accused",
"convicted",
"charges",
"trial",
"verdict",
"convictions",
"sentence",
"publication bans",
"litigation",
"awards",
"footage",
"blank_label",
"blank_data",
"blank1_label",
"blank1_data",
"blank2_label",
"blank2_data",
"website",
"child",
"module",
"notes"
],
"format": "block"
}
</templatedata>


== Example ==
== Example ==
Line 843: Line 197:
<includeonly>{{Sandbox other||
<includeonly>{{Sandbox other||
<!-- Categories below this line, please; interwikis at Wikidata -->
<!-- Categories below this line, please; interwikis at Wikidata -->
[[Category:Events infobox templates| ]]
 
[[Category:Infobox templates with module parameter|Event]]
 
[[Category:Templates with coordinates fields]]
 
[[Category:Embeddable templates]]
 
[[Category:Templates that add a tracking category|{{PAGENAME}}]]
 


}}</includeonly>
}}</includeonly>

Latest revision as of 14:40, 16 September 2026

{{Infobox event}} should be used to specify one-off events, usually at the top of an article. For recurring events, use {{Infobox recurring event}}. For other type of events, check: List of infoboxes

{{{title}}}
Part of {{{partof}}}
[[File:{{{logo}}}|{{{logo_size}}}|alt={{{logo_alt}}}|upright={{{logo_upright}}}]]
{{{logo_caption}}}
[[File:{{{image}}}|{{{image_size}}}|alt={{{image_alt}}}|upright={{{image_upright}}}]]
{{{caption}}}
[[File:{{{map}}}|250px]]
Lua error in Module:Location_map at line 411: Malformed coordinates value.
Native name {{{native_name}}}
English name{{{english_name}}}
Date{{{date}}}
Time{{{time}}} ({{{timezone}}})
Duration{{{duration}}}
Venue{{{venue}}}
Location{{{location}}}
CoordinatesLua error: callParserFunction: function "#coordinates" was not found.
Also known as{{{also_known_as}}}
Type{{{type}}}
Theme{{{theme}}}
Cause{{{cause}}}
Motive{{{motive}}}
Target{{{target}}}
Perpetrator{{{perpetrator}}}
First reporter{{{first_reporter}}}
Budget{{{budget}}}
Patron{{{patron}}}
Organised by{{{organisers}}}
Filmed by{{{filmed_by}}}
Participants{{{participants}}}
Outcome{{{outcome}}}
Casualties
{{{casualties1}}}
{{{casualties2}}}
{{{casualties3}}}
Deaths{{{reported deaths}}}
Non-fatal injuries{{{reported injuries}}}
Missing{{{reported missing}}}
Property damage{{{reported property damage}}}
Burial{{{burial}}}
Displaced{{{displaced}}}
Inquiries{{{inquiries}}}
Inquest{{{inquest}}}
Coroner{{{coroner}}}
Arrests{{{arrests}}}
Suspects{{{suspects}}}
Accused{{{accused}}}
Convicted{{{convicted}}}
Charges{{{charges}}}
Trial{{{trial}}}
Verdict{{{verdict}}}
Convictions{{{convictions}}}
Sentence{{{sentence}}}
Publication bans{{{publication_bans}}}
Litigation{{{litigation}}}
Awards{{{awards}}}
Footage{{{url}}}
Website{{{website}}}
{{{notes}}}

<syntaxhighlight lang="wikitext" style="overflow:auto;">

Infobox event/doc

</syntaxhighlight>

Mapframe maps

[edit source]
  • Basic Infobox mapframe parameters:
    • mapframe – Specify yes or no to show or hide the map, overriding the default. Default: no, but also modified by onByDefault
      • Internal onByDefault parameter: yes, unless any of these are set: |map=, |pushpin_map=
    • mapframe-coordinates or mapframe-coord or coordinates or coord – Coordinates to use, instead of any on Wikidata. Use the {{Coord}} template, e.g. |coord={{Coord|12.34|N|56.78|E}}. Default: coordinates from Wikidata P625
    • mapframe-caption – Caption for the map. Default: blank (or if |mapframe-geomask= is set, "Location in geomask's label")
    • mapframe-custom – Use a custom map instead of the automatic mapframe. Specify either a template, or another template that generates a mapframe map, or an image name. If used, most mapframe parameters will be ignored. Default: not specified
    • mapframe-id or id or qid – Id (Q-number) of Wikidata item to use. Default: item for current page
    • mapframe-wikidata – Set to <syntaxhighlight lang="text" class="" style="" inline="1">yes</syntaxhighlight> to show all shape/line features from OpenStreetMap. Default: not specified
  • Customise which features are displayed:
    • mapframe-point – Turn off display of point feature by setting to <syntaxhighlight lang="text" class="" style="" inline="1">none</syntaxhighlight>. Force point marker to be displayed by setting to <syntaxhighlight lang="text" class="" style="" inline="1">on</syntaxhighlight>. Default: not specified
    • mapframe-shape – Turn off display of shape feature by setting to <syntaxhighlight lang="text" class="" style="" inline="1">none</syntaxhighlight>. Force display of shape by setting to <syntaxhighlight lang="text" class="" style="" inline="1">on</syntaxhighlight>. Use an inverse shape (geomask) instead of a regular shape by setting to <syntaxhighlight lang="text" class="" style="" inline="1">inverse</syntaxhighlight>. Default: not specified
    • mapframe-line – Turn off display of line feature by setting to <syntaxhighlight lang="text" class="" style="" inline="1">none</syntaxhighlight>. Force display of line by setting to <syntaxhighlight lang="text" class="" style="" inline="1">on</syntaxhighlight>. Default: not specified
    • mapframe-geomask – Wikidata item to use as a geomask (everything outside the boundary is shaded darker). Can either be a specific Wikidata item (Q-number), or a property that specifies the item to use (e.g. P17 for Lua error in Module:Wd at line 633: attempt to index field 'wikibase' (a nil value). (P17), P131 for Lua error in Module:Wd at line 633: attempt to index field 'wikibase' (a nil value). (P131)). Default: not specified
    • mapframe-switcher – set to <syntaxhighlight lang="text" class="" style="" inline="1">auto</syntaxhighlight> or <syntaxhighlight lang="text" class="" style="" inline="1">geomasks</syntaxhighlight> or <syntaxhighlight lang="text" class="" style="" inline="1">zooms</syntaxhighlight> to enable Switcher-style switching between multiple mapframes. Default: not specified
      • <syntaxhighlight lang="text" class="" style="" inline="1">auto</syntaxhighlight> – switch geomasks found in Lua error in Module:Wd at line 633: attempt to index field 'wikibase' (a nil value). (P276) and Lua error in Module:Wd at line 633: attempt to index field 'wikibase' (a nil value). (P131) statements on the page's Wikidata item, searching recursively. E.g. an item's city, that city's state, and that state's country.
      • <syntaxhighlight lang="text" class="" style="" inline="1">geomasks</syntaxhighlight> – switch between the geomasks specified as a comma-separated list of Wikidata items (Q-numbers) in the mapframe-geomask parameter
      • <syntaxhighlight lang="text" class="" style="" inline="1">zooms</syntaxhighlight> – switch between "zoomed in"/"zoomed midway"/"zoomed out", where "zoomed in" is the default zoom (with a minimum of <syntaxhighlight lang="text" class="" style="" inline="1">3</syntaxhighlight>), "zoomed out" is <syntaxhighlight lang="text" class="" style="" inline="1">1</syntaxhighlight>, and "zoomed midway" is the average
  • Other optional parameters:
    • mapframe-frame-width or mapframe-width – Frame width. Default: 270
    • mapframe-frame-height or mapframe-height – Frame height. Default: 200
    • mapframe-shape-fill – Color used to fill shape features. Default: #606060
    • mapframe-shape-fill-opacity – Opacity level of shape fill, a number between 0 and 1. Default: 0.1
    • mapframe-stroke-color or mapframe-stroke-colour – Color of line features, and outlines of shape features. Default: #ff0000
      • mapframe-line-stroke-color or mapframe-line-stroke-colour – Color of line features. Default: #ff0000
      • mapframe-shape-stroke-color or mapframe-shape-stroke-colour – Color of outlines of shape features. Default: #ff0000
    • mapframe-stroke-width – Width of line features, and outlines of shape features. Default: 2
      • mapframe-shape-stroke-width – Width of outlines of shape features. Default: 2
      • mapframe-line-stroke-width – Width of line features. Default: 5
    • mapframe-marker – Marker symbol to use for coordinates; see mw:Help:Extension:Kartographer/Icons for options. Default: not specified (i.e. blank)
      • Can also be set to <syntaxhighlight lang="text" class="" style="" inline="1">blank</syntaxhighlight> to override any default marker symbol
    • mapframe-marker-color or mapframe-marker-colour – Background color for the marker. Default: #5E74F3
    • mapframe-geomask-stroke-color or mapframe-geomask-stroke-colour – Color of outline of geomask shape. Default: #555555
    • mapframe-geomask-stroke-width – Width of outline of geomask shape. Default: 1
    • mapframe-geomask-fill – Color used to fill outside geomask features. Default: #606060
    • mapframe-geomask-fill-opacity – Opacity level of fill outside geomask features, a number between 0 and 1. Default: 0.25
    • mapframe-zoom – Set the zoom level, from "1" (map of earth) to "18" (maximum zoom in), to be used if the zoom level cannot be determined automatically from object length or area. Default: 10
    • mapframe-length_km or mapframe-length_mi or mapframe-area_km2 or mapframe-area_mi2 – Determine zoom level by passing in object's length (in kilometres or miles) or area (in square kilometres or square miles). Default: not specified / not specified / not specified / not specified
    • mapframe-frame-coordinates or mapframe-frame-coord – Alternate latitude and longitude coordinates for initial placement of map, using {{coord}}. Default: derived from item coordinates
    • mapframe-type – Set the type of the object, with the same usage as {{coord}}. Default: not specified
    • mapframe-population – Set the population, useful with type="city", for Infobox dim. Default: not specified


Parameters

[edit source]

Example

[edit source]
Bombay explosion
File:Bombay-Docks-aftermath1.png
Smoke billowing out of the harbour
Lua error in Module:Mapframe at line 398: Unable to get latitude from input '<strong class="error"><span class="scribunto-error mw-scribunto-error-74fbe3bc">Lua error in Module:Coordinates at line 489: attempt to index field &#039;wikibase&#039; (a nil value).</span></strong>'..
Date14 April 1944
Time16:15 IST (10:45 UTC)
LocationVictoria Dock, Bombay, British India
CoordinatesLua error in Module:Coordinates at line 489: attempt to index field 'wikibase' (a nil value).
Causeship fire
Casualties
800+ dead
3,000 injured
Footageexample.com
Websiteexample.com

<syntaxhighlight lang="wikitext" style="overflow:auto;">

Bombay explosion
File:Bombay-Docks-aftermath1.png
Smoke billowing out of the harbour
Lua error in Module:Mapframe at line 398: Unable to get latitude from input '<strong class="error"><span class="scribunto-error mw-scribunto-error-74fbe3bc">Lua error in Module:Coordinates at line 489: attempt to index field &#039;wikibase&#039; (a nil value).</span></strong>'..
Date14 April 1944
Time16:15 IST (10:45 UTC)
LocationVictoria Dock, Bombay, British India
CoordinatesLua error in Module:Coordinates at line 489: attempt to index field 'wikibase' (a nil value).
Causeship fire
Casualties
800+ dead
3,000 injured
Footageexample.com
Websiteexample.com

</syntaxhighlight>

Microformat

[edit source]

-->

Classes used

Thees of this microformat include:

  • attendee
  • contact
  • description
  • dtend
  • dtstart
  • location
  • organiser
  • summary
  • url
  • vevent
Please do not rename or remove these classes
nor collapse nested elements which use them.

Tracking categories

[edit source]

See also

[edit source]