Jump to content
Main menu
Main menu
move to sidebar
hide
Navigation
Main page
Recent changes
Random page
Help about MediaWiki
Humanipedia
Search
Search
Appearance
Create account
Log in
Personal tools
Create account
Log in
Pages for logged out editors
learn more
Contributions
Talk
Editing
Module:Attached KML/doc
Module
Discussion
English
Read
Edit source
View history
Tools
Tools
move to sidebar
hide
Actions
Read
Edit source
View history
General
What links here
Related changes
Special pages
Page information
Appearance
move to sidebar
hide
Warning:
You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in
or
create an account
, your edits will be attributed to your username, along with other benefits.
Anti-spam check. Do
not
fill this in!
{{High-use}} {{Module rating | beta }} {{Lua|Module:Side box}} {{Uses TemplateStyles|Module:Attached KML/styles.css}} <!-- Please place categories where indicated at the bottom of this page and interwikis at Wikidata (see [[Wikipedia:Wikidata]]) --> == Usage == On English Wikipedia, this module is called by {{tlx|Attached KML}}. 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 <span style="font-style: italic; color: #008560;">MODULENAME</span>) #* Create a template (which should probably have the same name as the module, but referred to here as <span style="font-style: italic; color: #008560;">TEMPLATENAME</span>) containing the code <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></code> #* On Wikidata, add the template to [[d:Q6690822]] and the module to [[d:Q26689774]] # Localise the module. Edit the top bits of the module, between the comments <code>-- ##### Localisation (L10n) settings #####</code> and <code>-- #### End of L10n settings ####</code>, replacing values between <code>"</code> <code>"</code> symbols with local values (as necessary) # Create the categories defined in the module localisation. These should be made hidden categories, either by including a {{Q|Q5879327}} template, or by directly including the <code><nowiki>__HIDDENCAT__</nowiki></code> [[mw:Help:Magic words|magic word]]. # Add documentation to the template (e.g. by translating [[Template:Attached KML/doc]], 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 == * {{clc|Attached KML errors}} β tracks errors: malformed_qid, bad_qid, no_item, bad_from, error_nokml * {{clc|Articles using KML from Wikidata}} β tracks mainspace articles using KML from Wikidata * {{clc|Articles using KML not from Wikidata}} β tracks mainspace articles not using KML from Wikidata <includeonly>{{#ifeq:{{SUBPAGENAME}}|sandbox | | <!-- Categories below this line, please; interwikis at Wikidata --> [[Category:Modules that add a tracking category]] }}</includeonly> <noinclude> [[Category:Module documentation pages]] </noinclude>
Summary:
Please note that all contributions to Humanipedia may be edited, altered, or removed by other contributors. If you do not want your writing to be edited mercilessly, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource (see
Humanipedia:Copyrights
for details).
Do not submit copyrighted work without permission!
Cancel
Editing help
(opens in new window)
Templates used on this page:
Template:Category link with count
(
edit
)
Template:Clc
(
edit
)
Template:Error
(
edit
)
Template:High-use
(
edit
)
Template:Lua
(
edit
)
Template:Module other
(
edit
)
Template:Module rating
(
edit
)
Template:Ombox
(
edit
)
Template:Pp
(
edit
)
Template:Protection padlock
(
edit
)
Template:Q
(
edit
)
Template:Template link
(
edit
)
Template:Template link expanded
(
edit
)
Template:Tl
(
edit
)
Template:Tlx
(
edit
)
Template:Uses TemplateStyles
(
edit
)
Module:Arguments
(
edit
)
Module:Error
(
edit
)
Module:File link
(
edit
)
Module:Lua banner
(
edit
)
Module:Message box
(
edit
)
Module:Protection banner
(
edit
)
Module:String
(
edit
)
Module:Template link general
(
edit
)