Difference between revisions of "Module:Football map/doc"
Jump to navigation
Jump to search
blackwiki>Jts1882 (list demos) |
blackwiki>Jts1882 (add usesboxes for wikidata uses and mw extension usage) |
||
| Line 1: | Line 1: | ||
{{Module rating |alpha<!-- Values: pre-alpha • alpha • beta • release • protected -- If a rating not needed/relevant, delete this template call -->}} | {{Module rating |alpha<!-- Values: pre-alpha • alpha • beta • release • protected -- If a rating not needed/relevant, delete this template call -->}} | ||
<!-- 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 [[Wikipedia:Wikidata]]) --> | ||
| + | {{Sister project|project=mediawiki|text=[[mw:Help:Extension:Kartographer|Kartographer extension]]}} | ||
| + | {{Uses Wikidata|P625|P115|P18|P466|P1083}} | ||
==Overview== | ==Overview== | ||
| Line 12: | Line 14: | ||
*{{tl|football map/demo3}} for football stadia in England | *{{tl|football map/demo3}} for football stadia in England | ||
*{{tl|football map/demo4}} for stadia in [[List of football stadiums in England]] | *{{tl|football map/demo4}} for stadia in [[List of football stadiums in England]] | ||
| − | |||
== Usage == | == Usage == | ||
Revision as of 14:16, 23 August 2018
| This module is rated as alpha. It is ready for third-party input, and may be used on a few pages to see if problems arise, but should be watched. Suggestions for new features or changes in their input and output mechanisms are welcome. |
Template:Sister project Template:Uses Wikidata
Overview
This module is used with the template {{football map}} to simplify creation of maps with the <mapframe> tag provided by the Kartographer extension.
The template takes the same parameters as <mapframe> and adds a number of markers using a series of |stadiumN parameters that are used to general the JSON data for the markers. The stadium data is either taken from an internal list or using Wikidata for the coordinates.
Several demos are available:
- {{football map/demo}} for London football stadia
- {{football map/demo2}} for the Russia World Cup
- {{football map/demo3}} for football stadia in England
- {{football map/demo4}} for stadia in List of football stadiums in England
Usage
{{#invoke:Football map|function_name}}