Module:Attached KML/doc explained
Usage
On English Wikipedia, this module is called by . See that template's documentation for usage instructions
Set up on another wiki
- Create template and module
- Import this module to that wiki (or copy the code over, giving attribution in the edit summary). Give the module a name that makes sense in that wiki's language (hereafter referred to as
MODULENAME)
- Create a template (which should probably have the same name as the module, but referred to here as
TEMPLATENAME) containing the code
<nowiki><includeonly>{{#invoke:</nowiki><span style="font-style: italic; color: #008560;">MODULENAME</span><nowiki>|main}}</includeonly><noinclude>{{</nowiki><span style="font-style: italic; color: #008560;">TEMPLATENAME</span><nowiki>|demo=yes}}{{Documentation}}</noinclude></nowiki>
- On Wikidata, add the template to and the module to
- Localise the module. Edit the top bits of the module, between the comments
-- ##### Localisation (L10n) settings #####
and -- #### End of L10n settings ####
, replacing values between "
"
symbols with local values (as necessary)
- Create the categories defined in the module localisation. These should be made hidden categories, either by including a template, or by directly including the
<nowiki>__HIDDENCAT__</nowiki>
magic word.
- Add documentation to the template (e.g. by translating, adjusting as necessary per any localisations made in the previous step) and to the module (please transfer/translate these instructions so that wikimedians who read your wiki but not the English Wikipedia can also set up the module and template on another wiki).
Tracking categories
- – tracks errors: malformed_qid, bad_qid, no_item, bad_from, error_nokml
- – tracks mainspace articles using KML from Wikidata
- – tracks mainspace articles not using KML from Wikidata