Template:Geo link
From CruisersWiki
(Difference between revisions)
(Created page with "{{#widget:geo link | lat= {{{lat}}} | lon= {{{lon}}} | href= {{chartlet uri | lat= {{{lat}}} | lon= {{{lon}}} | zoom= {{{zoom}}} }} }}<!-- --><span class="cw-coor...") |
(Geo anchor) |
||
(6 intermediate revisions not shown) | |||
Line 1: | Line 1: | ||
- | {{#widget: | + | {{if |
- | | lat= {{{lat}}} | + | | test= {{{lat}}} |
- | | lon= {{{lon}}} | + | | then= {{#widget:Geo anchor |
- | | href= {{chartlet uri | + | | lat= {{{lat}}} |
- | + | | lon= {{{lon}}} | |
- | + | | href= {{chartlet uri | |
- | + | | lat= {{{lat}}} | |
- | + | | lon= {{{lon}}} | |
+ | | zoom= {{{zoom}}} | ||
+ | }} | ||
+ | }}<!-- | ||
+ | -->{{if | ||
+ | | test= {{{deg2dmh|}}} | ||
+ | | then= <span class="cw-coordinates">{{Deg2Dmh|lat={{{lat}}}|lon={{{lon}}}}}</span> | ||
+ | }} | ||
}}<!-- | }}<!-- | ||
- | -->< | + | -->{{{content|}}}<!-- |
- | + | -->{{if | |
+ | | test= {{{lat}}} | ||
+ | | then= {{#widget:anchor end}} | ||
+ | }} |