Difference between revisions of "Module:Attached KML/doc"

From blackwiki
Jump to navigation Jump to search
blackwiki>Evad37
(pre-alpha)
 
blackwiki>Evad37
(alpha, instructions)
Line 1: Line 1:
{{Module rating | pre-alpha }}
+
{{Module rating | alpha }}
 
<!-- 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]]) -->
 
== Usage ==
 
== Usage ==
<nowiki>{{</nowiki>#invoke:{{BASEPAGENAME}}|''main''}}
+
On English Wikipedia, this module is called by {{tlx|Template: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 {{gi|MODULENAME}})
 +
#* Create a template (which should probably have the same name as the module) containing the code <code><nowiki>{{#invoke:</nowiki>{{gi|MODULENAME}}<nowiki>|main}}</nowiki></code>
 +
#* On Wikidata, add the template to {{Q|Q6690822}} and the module to {{Q|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)
 +
# Add documentation the template (e.g. by translating [[Template:Attached KML/doc]], adjusting as necessary per any localisations made in the previous step) an 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/template on another wiki).
 +
 
 +
 
  
 
<includeonly>{{#ifeq:{{SUBPAGENAME}}|sandbox | |
 
<includeonly>{{#ifeq:{{SUBPAGENAME}}|sandbox | |

Revision as of 06:22, 24 August 2016

Usage

On English Wikipedia, this module is called by {{Template:Attached KML}}, see that template's documentation for usage instructions

Set up on another wiki

  1. 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
  2. REDIRECT Template:Tqi

)

    • Create a template (which should probably have the same name as the module) containing the code {{#invoke:
  1. REDIRECT Template:Tqi

|main}}

  1. 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)
  2. Add documentation the template (e.g. by translating Template:Attached KML/doc, adjusting as necessary per any localisations made in the previous step) an 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/template on another wiki).