Difference between revisions of "Template:Locationmap"
Jump to navigation
Jump to search
(Created page with "<includeonly>{{#if:{{{map|}}}|<div role="img" class="floatright noresize" <!-- noresize disables the img from being limited to the width of the viewport size (as on mobile) --...") |
m |
||
| Line 3: | Line 3: | ||
position:relative; | position:relative; | ||
>[[File:{{{map}}}|{{{width|300}}}px|thumb|link=|{{{caption|}}}]] | >[[File:{{{map}}}|{{{width|300}}}px|thumb|link=|{{{caption|}}}]] | ||
| + | {{#if:{{{m1|}}}|{{Locationmarker|{{{m1}}}}}}} | ||
</div>}}</includeonly><noinclude><!-- | </div>}}</includeonly><noinclude><!-- | ||
____ __ __ _ | ____ __ __ _ | ||
| Line 18: | Line 19: | ||
<pre>Some text in front of. {{Locationmap|map=Relief_Map_of_Germany.svg|caption=Some text here}} Some text behind.</pre> | <pre>Some text in front of. {{Locationmap|map=Relief_Map_of_Germany.svg|caption=Some text here}} Some text behind.</pre> | ||
| − | Some text in front of. {{Locationmap|map=Relief_Map_of_Germany.svg|caption=Some text here}} Some text behind. | + | Some text in front of. {{Locationmap|map=Relief_Map_of_Germany.svg|caption=Some text here}} Some text behind.{{clear}} |
| + | |||
| + | <pre>{{Locationmap|map=Relief_Map_of_Germany.svg|caption=Some text here | ||
| + | |m1=0.1/1.1 | ||
| + | |m2=0.5/0.5 | ||
| + | |m3=0.3/0.1 | ||
| + | |m4=0.3/0.15 | ||
| + | |m5=0.7/0.7 | ||
| + | |m6=0.6/0.6 | ||
| + | |m7=0.4/0.4 | ||
| + | |m8=0.3/0.3 | ||
| + | |m9=0.3/0.31 | ||
| + | |m10=0.2/0.2 | ||
| + | }}</pre> | ||
| + | {{Locationmap|map=Relief_Map_of_Germany.svg|caption=Some text here | ||
| + | |m1=0.1/1.1 | ||
| + | |m2=0.5/0.5 | ||
| + | |m3=0.3/0.1 | ||
| + | |m4=0.3/0.15 | ||
| + | |m5=0.7/0.7 | ||
| + | |m6=0.6/0.6 | ||
| + | |m7=0.4/0.4 | ||
| + | |m8=0.3/0.3 | ||
| + | |m9=0.3/0.31 | ||
| + | |m10=0.2/0.2 | ||
| + | }} | ||
[[Category:Map templates]]</noinclude> | [[Category:Map templates]]</noinclude> | ||
Revision as of 19:42, 14 September 2022
Purpose
The location map template generates a location map as a composite image, consisting of a map and one or several location marks. Optionally, labels and a caption can be added.
Examples
Some text in front of. {{Locationmap}} Some text behind.
Some text in front of. Some text behind.
Some text in front of. {{Locationmap|map=Relief_Map_of_Germany.svg|caption=Some text here}} Some text behind.Some text in front of.
Some text behind.
{{Locationmap|map=Relief_Map_of_Germany.svg|caption=Some text here
|m1=0.1/1.1
|m2=0.5/0.5
|m3=0.3/0.1
|m4=0.3/0.15
|m5=0.7/0.7
|m6=0.6/0.6
|m7=0.4/0.4
|m8=0.3/0.3
|m9=0.3/0.31
|m10=0.2/0.2
}}