Extension:AmMap

From MediaWiki.org
Jump to: navigation, search
MediaWiki extensions manualManual:Extensions
amMap

Release status:Extension status beta

ImplementationTemplate:Extension#type Parser extension, Tag
DescriptionTemplate:Extension#description Allow an easy way to include amMaps to your Wiki
Author(s)Template:Extension#username Isaac Contreras (fladeitalk)
Latest versionTemplate:Extension#version 0.1 (August 18th 2011)
MediaWikiTemplate:Extension#mediawiki 1.16.0
PHPTemplate:Extension#php 5.2.11
LicenseTemplate:Extension#license No license specified
Download Download
ExampleTemplate:Extension#example amMap on Wikiprogress.org
TagsTemplate:Extension#tags
<ammap/>

Translate the AmMap extension if it is available at translatewiki.net

Check usage and version matrix.

What can this extension do?[edit]

It allows you to add an AmMap to any page on your wiki.
AmMap is a tool for creating interactive Flash maps. You can use this tool to show locations of your offices, routes of your journeys, create your distributor map, etc. Photos or illustrations can be used as layers and backgrounds of maps, so you can make different presentations, e-learning tools and more.

Usage[edit]

Add the following code:

1  <ammap width="56%" height="67%" color="#ffffff" settings="123.xml" data="1234.xml" />

Installation[edit]

To install this extension, add the following to LocalSettings.php:

#AmMap extension
require_once("$IP/extensions/amMap/amMap.php");

Configuration parameters[edit]

  • width: the width of the flash map. Must be specified with "px" or "%". Default to 100%
  • height: the height of the flash map. Must be specified with "px" or "%". Default to 100%
  • color: background color of the map in hex code. Default to #FFFFFF
  • settings: The XML settings file name. It must be inside the /extensions/amMap/data/ folder. Default to an example map.
  • data: The XML data file name. It must be inside the /extensions/amMap/data/ folder. Default to an example map.
{"cc_re__cc_re__cc_by_sa_3_0": ["tlet-lang\"><span class=\"wb-langlinks-add wb-langlinks-link\"><a href=\"https://www.wikidata.org/wiki/Special:EntityPage/Q21676269#sitelinks-wikipedia\" title=\"Add interlanguage links\" class=\"wbc-editpage\">Add links</a></span></div>\t\t\t</div>\n\t\t</div>\n\t\t\t\t</div>\n\t\t</div>\n\t\t\t\t<div id=\"footer\" role=\"contentinfo\">\n\t\t\t\t\t\t<ul id=\"footer-info\">\n\t\t\t\t\t\t\t\t<li id=\"footer-info-lastmod\"> This page was last edited on 9 August 2017, at 09:48.</li>\n\t\t\t\t\t\t\t\t<li id=\"footer-info-copyright\">Text is available under the <a href=\"https://creativecommons.org/licenses/by-sa/3.0/\">Creative Commons Attribution-ShareAlike License</a>;\nadditional terms may apply.\nSee <a href=\"https://wikimediafoundation.org/wiki/Terms_of_Use\">Terms of Use</a> for details.</li>\n\t\t\t\t\t\t\t</ul>\n\t\t\t\t\t\t<ul id=\"footer-places\">\n\t\t\t\t\t\t\t\t<li id=\"footer-places-privacy\"><a href=\"https://wikimediafoundation.org/wiki/Privacy_policy\" class=\"extiw\" title=\"wmf:Privacy policy\">Privacy policy</a></li>\n\t\t\t\t\t\t\t\t<li id=\"footer-places-about\"><a href=\"/wiki/Project:About\" title=\"Project:About\">About MediaWiki.org</a"], "copyright__copyright__copyright": ["[edit]\n\n  \u2022 width: the width of the flash map. Must be specified with \"px\" or \"%\". Default to 100%\n  \u2022 height: the height of the flash map. Must be specified with \"px\" or \"%\". Default to 100%\n  \u2022 color: background color of the map in hex code. Default to #FFFFFF\n  \u2022 settings: The XML settings file name. It must be inside the /extensions/amMap/data/ folder. Default to an example map.\n  \u2022 data: The XML data file name. It must be inside the /extensions/amMap/data/ folder. Default to an example map.", "[edit]\n\n  \u2022 width: the width of the flash map. Must be specified with \"px\" or \"%\". Default to 100%\n  \u2022 height: the height of the flash map. Must be specified with \"px\" or \"%\". Default to 100%\n  \u2022 color: background color of the map in hex code. Default to #FFFFFF\n  \u2022 settings: The XML settings file name. It must be inside the /extensions/amMap/data/ folder. Default to an example map.\n  \u2022 data: The XML data file name. It must be inside the /extensions/amMap/data/ folder. Default to an example map."]}