Templat:Peta lokasi: Perbezaan antara semakan
Kandungan dihapus Kandungan ditambah
Malekhanif (bincang | sumb.) Laman baru: <includeonly><div style="width: {{#expr: {{{width|240}}} + 2 }}px; {{#if: {{{caption|}}} | padding: 3px; border: 1px solid {{#if: {{{border|}}} | {{{border|none}}} | #CCCCCC... |
Tiada ringkasan suntingan |
||
Baris 9:
| {{#if:{{{caption|}}}|#CCCCCC|none}}
}};
}} padding: 0px; width: {{{width|240}}}px">[[image:{{#if: {{{AlternativeMap|}}} | {{{AlternativeMap}}} | {{Location map {{{1}}}|image}} }}|{{{width|240}}}px|{{#if:
100 * ({{Location map {{{1}}}|top}} - {{#if: {{{lat_deg|}}}
| {{#expr: {{#ifeq: {{{lat_dir|}}}|S|-1|1}} * ({{{lat_deg|0}}} + ({{{lat_min|0}}} / 60) + {{#if:{{{lat_sec|}}}|({{{lat_sec|0}}} / 3600)|0}}) }}
| {{{lat|0}}}
}}) / ({{Location map {{{1}}}|top}} - {{Location map {{{1}}}|bottom}}) round 1
}}%; left: {{#expr:
{{#expr:{{#if:{{Location map {{{1}}}|crosses180}}|{{#ifeq: {{{lon_dir|}}}|W|-36000/({{Location map {{{1}}}|left}}-{{Location map {{{1}}}|right}})|}}|}}}} + 100 * ({{#if: {{{lon_deg|}}}
| {{#expr: {{#ifeq: {{{lon_dir|}}}|W|-1|1}} * ({{{lon_deg|0}}} + ({{{lon_min|0}}} / 60) + {{#if:{{{lon_sec|}}}|({{{lon_sec|0}}} / 3600)|0}}) }}
| {{{long|0}}}
}} - {{Location map {{{1}}}|left}}) / ({{Location map {{{1}}}|right}} - {{Location map {{{1}}}|left}}) round 1
Baris 48 ⟶ 45:
| {{{label}}}
| {{PAGENAME}}
}} ({{Location map {{{1}}}|name}})}}}</div></div></includeonly><noinclude>
{{template doc}}
</noinclude>
|