Difference between revisions of "Module:Attached KML/doc"
Jump to navigation
Jump to search
blackwiki>Evad37 m (→Usage: fix) |
blackwiki>Evad37 (make it easier to transfer doc to another wiki (where {{gi}} and {{q}} might not exist)) |
||
| Line 6: | Line 6: | ||
== Set up on another wiki == | == Set up on another wiki == | ||
# Create template and module | # 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 | + | #* 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) containing the code <code><nowiki>{{#invoke:</nowiki> | + | #* Create a template (which should probably have the same name as the module) containing the code <code><nowiki>{{#invoke:</nowiki><span style="font-style: italic; color: #008560;">MODULENAME</span><nowiki>|main}}</nowiki></code> |
| − | #* On Wikidata, add the template to | + | #* 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) | # 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) | + | # 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). |
| − | |||
Revision as of 04:08, 29 August 2016
| 26x26px | 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. |
Usage
On English Wikipedia, this module is (will be) called by {{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 MODULENAME
- Create a template (which should probably have the same name as the module) containing the code
{{#invoke:MODULENAME|main}} - 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
-- ##### Localisation (L10n) settings #####and-- #### End of L10n settings ####, replacing values between""symbols with local values (as necessary) - 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).