Difference between revisions of "Template:Map/doc"
Jump to navigation
Jump to search
![Maplocation.png](/mediawiki/images/thumb/5/5c/Maplocation.png/20px-Maplocation.png)
![Map.png](/mediawiki/images/4/43/Map.png)
![Maplocation.png](/mediawiki/images/thumb/5/5c/Maplocation.png/20px-Maplocation.png)
m |
|||
Line 20: | Line 20: | ||
<includeonly>[[Category:Transclusion templates]]</includeonly><noinclude>[[Category:Template documentation]]</noinclude> | <includeonly>[[Category:Transclusion templates]]</includeonly><noinclude>[[Category:Template documentation]]</noinclude> | ||
+ | <includeonly>[[de:Vorlage:{{PAGENAME}}]] | ||
+ | [[es:Plantilla:{{PAGENAME}}]] | ||
+ | [[ja:テンプレート:{{PAGENAME}}]] | ||
+ | [[pt:Predefinição:{{PAGENAME}}]] | ||
+ | [[ru:Шаблон:{{PAGENAME}}]] | ||
+ | [[zh:Template:{{PAGENAME}}]]</includeonly> |
Revision as of 22:59, 7 February 2017
Description
This template is used to insert a player icon over a map of the game. It's used to generate dynamic location markers over the game map image for the site.
Usage
This template can be used by entering the following onto a relevant page.
{{map |x-coordinate (left-inset) |y-coordinate (top-inset) |width (optional, defaults to 400. This is the location of the player head) }}
Example
Example formatting would be
{{map|100|100}}
Result:
![Maplocation.png](/mediawiki/images/thumb/5/5c/Maplocation.png/20px-Maplocation.png)
![Map.png](/mediawiki/images/4/43/Map.png)
For a smaller map use
{{map|100|10|200}}
Result:
![Maplocation.png](/mediawiki/images/thumb/5/5c/Maplocation.png/20px-Maplocation.png)
![Map.png](/mediawiki/images/thumb/4/43/Map.png/200px-Map.png)