Template:Location map/Info: ke revisions ke biich ke antar

Content deleted Content added
mNo edit summary
No edit summary
Rekha 1:
<small style="display:block;margin-left:1.5em">← [[Template:Location map]]</small><includeonly>
<includeonly>[[image:{{{{PAGENAME}}|image}}|thumb|300x300px|{{PAGENAME}}]]</includeonly>
{| class="prettytable" style="text-align:center"
 
|+ Location map for <includeonly>«{{{{PAGENAME}}|name}}</includeonly>»
{| class="prettytable"
|+ Location map for <includeonly>{{{{PAGENAME}}|name}}</includeonly>
|- class="hintergrundfarbe5"
! parameter !! value
<includeonly>
|-
| Name colspan="4"|| [[image:{{{{PAGENAME}}|nameimage}}|400x400px|{{PAGENAME}}]]
{{#if: {{{{PAGENAME}}|x}}{{{{PAGENAME}}|y}}|
{{!-!}} x {{!!}} {{#expr:{{{{PAGENAME}}|x|1|1}}}}&nbsp;%
{{!-!}} y {{!!}} {{#expr:{{{{PAGENAME}}|y|1|1}}}}&nbsp;%|
{{!-!}} top {{!!}} {{{{PAGENAME}}|top}}
{{!-!}} bottom {{!!}} {{{{PAGENAME}}|bottom}}
{{!-!}} left {{!!}} {{{{PAGENAME}}|left}}
{{!-!}} right {{!!}} {{{{PAGENAME}}|right}}
}}
|-
! name
| image || <tt>{{{{PAGENAME}}|image}}</tt>
{{#if:|colspan="3"| [[{{{{PAGENAME}}|widthname}}{{{{PAGENAME}}|height}}|]]
|-
{{!-!}} Format
!rowspan="4"|border coordinates
{{!}} {{{{PAGENAME}}|width}} × {{{{PAGENAME}}|height}} ({{#ifexpr: ({{{{PAGENAME}}|width}} >= {{{{PAGENAME}}|height}})|width|height}})
|-
}}
{{#if:|colspan="3"| {{{{PAGENAME}}|xtop}}{{{{PAGENAME}}|y}}|
|-
<!-- Berechnung für Kartenposition bei x und y fehlt -->|
{{!-!}} top {{!!}}| {{{{PAGENAME}}|topleft}}
{{!-!}} position {{!!}} {{Coordinate |text=DM |NS={{#expr:({{{{PAGENAME}}|top}}+{{{{PAGENAME}}|bottom}})/2}} |EW={{#expr:({{{{PAGENAME}}|left}}+{{{{PAGENAME}}|right}})/2}} |type=country }}
| ←↕→
}}</includeonly>
{{!-!}} left {{!!}}| {{{{PAGENAME}}|leftright}}
|-
{{!-!}} bottom {{!!}}|colspan="3"| {{{{PAGENAME}}|bottom}}
|-
! image
|colspan="3"| <includeonlytt>[[image:Image:{{{{PAGENAME}}|image}}|thumb|300x300px|{{{{PAGENAME}}|image}}]]</includeonlytt>
|-
! cetre of the map
|colspan="4"| {{!}} coord|{{#expr:({{{{PAGENAME}}|widthtop}} × +{{{{PAGENAME}}|heightbottom}} ()/2}}|{{#ifexprexpr: ({{{{PAGENAME}}|widthleft}} >= +{{{{PAGENAME}}|heightright}})|width|height/2}}}})
|}
</includeonly><noinclude>
 
== see also ==
* [[Template:Location map]]
<noinclude>
[[Kategorie:Vorlage:für Vorlagen|{{PAGENAME}}]]
[[de:Vorlage:Positionskarte/Info]]