Difference between revisions of "Template:Map/doc"

From Stardew Valley Wiki
Jump to navigation Jump to search
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
Map.png

For a smaller map use

{{map|100|10|200}}

Result:

Maplocation.png
Map.png