Difference between pages "Template:Location map/Info" and "Template:Location map/Info/sandbox"
(Difference between pages)
Jump to navigation
Jump to search
imported>Izno (use code rather than tt) |
|||
Line 1: | Line 1: | ||
− | <includeonly> | + | <includeonly><div id="contentSub"><span class="subpages">< [[Template:Location map]]</span></div><!-- |
Automatically add {{pp-template}} to protected templates. | Automatically add {{pp-template}} to protected templates. | ||
-->{{template other | -->{{template other | ||
Line 14: | Line 14: | ||
|- | |- | ||
! name | ! name | ||
− | |colspan="3"| {{{{BASEPAGENAME}}|name}} | + | |colspan="3"| [[{{{{BASEPAGENAME}}|name}}]] |
|- | |- | ||
{{#if:{{{{BASEPAGENAME}}|top}}| | {{#if:{{{{BASEPAGENAME}}|top}}| | ||
Line 28: | Line 28: | ||
{{!}}- | {{!}}- | ||
! map center | ! map center | ||
− | {{!}}colspan="4"{{!}} {{#ifexpr:({{{{BASEPAGENAME}}|left}}+{{{{BASEPAGENAME}}|right}} {{#ifexpr:{{{{BASEPAGENAME}}|right}}< {{{{BASEPAGENAME}}|left}}| + 360}})/2 > 180 | + | {{!}}colspan="4"{{!}} {{#ifexpr:({{{{BASEPAGENAME}}|left}}+{{{{BASEPAGENAME}}|right}} {{#ifexpr:{{{{BASEPAGENAME}}|right}}< {{{{BASEPAGENAME}}|left}}| + 360}})/2 > 180 |
| {{coord|{{#expr:({{{{BASEPAGENAME}}|top}}+{{{{BASEPAGENAME}}|bottom}})/2}}|{{#expr:({{{{BASEPAGENAME}}|left}}+{{{{BASEPAGENAME}}|right}} {{#ifexpr:{{{{BASEPAGENAME}}|right}}< {{{{BASEPAGENAME}}|left}}| + 360}})/2 - 360}}}} | | {{coord|{{#expr:({{{{BASEPAGENAME}}|top}}+{{{{BASEPAGENAME}}|bottom}})/2}}|{{#expr:({{{{BASEPAGENAME}}|left}}+{{{{BASEPAGENAME}}|right}} {{#ifexpr:{{{{BASEPAGENAME}}|right}}< {{{{BASEPAGENAME}}|left}}| + 360}})/2 - 360}}}} | ||
| {{coord|{{#expr:({{{{BASEPAGENAME}}|top}}+{{{{BASEPAGENAME}}|bottom}})/2}}|{{#expr:({{{{BASEPAGENAME}}|left}}+{{{{BASEPAGENAME}}|right}} {{#ifexpr:{{{{BASEPAGENAME}}|right}}< {{{{BASEPAGENAME}}|left}}| + 360}})/2}}}} | | {{coord|{{#expr:({{{{BASEPAGENAME}}|top}}+{{{{BASEPAGENAME}}|bottom}})/2}}|{{#expr:({{{{BASEPAGENAME}}|left}}+{{{{BASEPAGENAME}}|right}} {{#ifexpr:{{{{BASEPAGENAME}}|right}}< {{{{BASEPAGENAME}}|left}}| + 360}})/2}}}} | ||
Line 43: | Line 43: | ||
}} | }} | ||
! image | ! image | ||
− | |colspan="3"| < | + | |colspan="3"| <tt>[[:Image:{{{{BASEPAGENAME}}|image}}|{{{{BASEPAGENAME}}|image}}]]</tt> |
|- | |- | ||
|colspan="4"|[[image:{{{{BASEPAGENAME}}|image}}|400x400px|{{BASEPAGENAME}}]] | |colspan="4"|[[image:{{{{BASEPAGENAME}}|image}}|400x400px|{{BASEPAGENAME}}]] | ||
Line 49: | Line 49: | ||
{{#if:{{{{BASEPAGENAME}}|image1}}| | {{#if:{{{{BASEPAGENAME}}|image1}}| | ||
! image1 | ! image1 | ||
− | {{!}}colspan="3"{{!}} < | + | {{!}}colspan="3"{{!}} <tt>[[:Image:{{{{BASEPAGENAME}}|image1}}|{{{{BASEPAGENAME}}|image1}}]]</tt> |
{{!}}- | {{!}}- | ||
{{!}}colspan="4"{{!}}[[image:{{{{BASEPAGENAME}}|image1}}|400x400px|{{BASEPAGENAME}}]] | {{!}}colspan="4"{{!}}[[image:{{{{BASEPAGENAME}}|image1}}|400x400px|{{BASEPAGENAME}}]] | ||
Line 56: | Line 56: | ||
{{#if:{{{{BASEPAGENAME}}|image2}}| | {{#if:{{{{BASEPAGENAME}}|image2}}| | ||
! image2 | ! image2 | ||
− | {{!}}colspan="3"{{!}} < | + | {{!}}colspan="3"{{!}} <tt>[[:Image:{{{{BASEPAGENAME}}|image2}}|{{{{BASEPAGENAME}}|image2}}]]</tt> |
{{!}}- | {{!}}- | ||
{{!}}colspan="4"{{!}}[[image:{{{{BASEPAGENAME}}|image2}}|400x400px|{{BASEPAGENAME}}]] | {{!}}colspan="4"{{!}}[[image:{{{{BASEPAGENAME}}|image2}}|400x400px|{{BASEPAGENAME}}]] | ||
Line 73: | Line 73: | ||
{{#if: {{{{BASEPAGENAME}}|mark}} | | {{#if: {{{{BASEPAGENAME}}|mark}} | | ||
! mark | ! mark | ||
− | {{!}}colspan="3"{{!}} < | + | {{!}}colspan="3"{{!}} <tt>[[:File:{{{{BASEPAGENAME}}|mark}}|{{{{BASEPAGENAME}}|mark}}]]</tt> |
{{!}}- | {{!}}- | ||
}} | }} | ||
Line 82: | Line 82: | ||
}} | }} | ||
|}</includeonly><noinclude> | |}</includeonly><noinclude> | ||
− | |||
{{documentation}} | {{documentation}} | ||
</noinclude> | </noinclude> |