Template:Layer
{{{name}}} | |
---|---|
![]() |
Note to editors: Please don't categorize this template by editing it directly. Instead, place the category in its documentation page, in its "includeonly" section.
Usage
Common template
{{Layer |name=Sample Layer |author=Author1;[[User:Author2|Author2]] |screenshot=NameToFile.ext |screenshot_caption=City, Country |slippy_web={{URL|https://example.com/linkToSlippyMap}} }}
Complete template
{{Layer |lang= |name= |alt_name= |logo= |discontinued= |author= |screenshot= |screenshot_caption= |based_on= |slippy_web= |usage_policy= |tiles_languages= |tiles_languagesurl= |tiles_license= |style_web= |style_license= |version= |date= |description= |repo= |bugtracker_web= |taginfo_projectname= |notlayer= }}
Parameters
No description.
Parameter | Description | Type | Status | |
---|---|---|---|---|
Template language | lang | no description
| String | optional |
Name | name | Official name of the layer, otherwise most common one | String | required |
Alternative names | alt_name | Other names under which this layer is known. Multiple values shall be seperated by semicolons (;)
| String | optional |
Logo | logo | no description | Unknown | optional |
Layer discontinued? | discontinued | no description | Boolean | optional |
Author | author | Name of the author or a link to their OSM-wiki user page | String | suggested |
Screenshot | screenshot | no description | File | suggested |
Screenshot caption | screenshot_caption | Text displayed below the screenshot. Normally location of screenshot
| String | suggested |
Based on | based_on | Template on which this layer is based on. Multiple values shall be seperated by semicolons (;)
| String | optional |
slippy_web | slippy_web | no description | String | optional |
Usage policy | usage_policy | Usage policy of slippy map, tile or style
| String | optional |
tiles_languages | tiles_languages | no description | String | optional |
tiles_languagesurl | tiles_languagesurl | no description | String | optional |
tiles_license | tiles_license | no description | String | optional |
style_web | style_web | no description | String | optional |
style_license | style_license | no description | String | optional |
Version | version | no description | String | optional |
Date | date | no description | Date | optional |
Source code | repo | Link to source code of the layer. If applicable style_web shall be preferred | String | optional |
Description | description | Description of the layer. For example purpose or highlighted elements | String | suggested |
URL of bug tracker | bugtracker_web | no description | URL | optional |
Associated project name on TagInfo | taginfo_projectname | no description | String | optional |
Not layer? | notlayer | If the article doesn't describe alayer and shouldn't be tagged as such | Boolean | optional |
Categories
- Category:Discontinued slippy map
- Added, if
slippy_web
anddiscontinued
are set. Can be disabled by settingnotlayer = yes
- Category:Discontinued tiles layer
- Added, if
discontinued
is set. Can be disabled by settingnotlayer = yes
- Category:Project on TagInfo
- Added, if
taginfo_projectname
is set - Category:Slippy map
- Added, if
slippy_web
is set - Category:Tiles layer
- Added to every article which includes this template. Can be disabled by setting
notlayer = yes