Шаблон:Location marker

Материал из UFO Wiki
Перейти к навигации Перейти к поиску

This template displays a map with location marker(s). It is pretty complicated.. but worth it to not have to photoshop and upload hundreds of images. =) It draws up to 3 points and up to 3 areas on a map.

Usage[править код]

{{location marker| map=map name| x=x coordinate| y=y coordinate| item=name of item}}
Use x1, y1 & x2, y2 for additional points.
For areas, use a, b & a1, b1 & a2, b2, and itema.
Be careful with whitespace.
See category:blank maps for map names.

Example 1 (single point)[править код]

{{location marker| map=test
| x=20| y=20| item=[[Bugshark+]]
}}
256px
16px Location of Bugshark+ in test (20,20)

Example 2 (single area)[править код]

{{location marker| map=test
| a=28| b=30| itema=[[Bugshark]]
}}
Map area.png
256px
Map area.png
Location of Bugshark in test (28,30)

Example 2 (everything)[править код]

{{location marker| map=test
| a=25| b=25| a1=25| b1=50| a2=35| b2=28| itema=[[Bugshark]]
| x=20| y=20| x1=20| y1=33| x2=40| y2=25| item=[[Bugshark+]]
}}
Map area.png
Map area.png
Map area.png
256px
16px Location of Bugshark+ in test (20,20), (40,25)
Map area.png
Location of Bugshark in test (25,25)