Template:Chartlet static
From CruisersWiki
(Difference between revisions)
(ESRI places) |
|||
(5 intermediate revisions not shown) | |||
Line 1: | Line 1: | ||
- | <includeonly>{{#widget: | + | <includeonly>{{#widget:noscript}}<div style=' |
+ | position: relative; | ||
+ | width: {{?|test={{{width|}}}|{{{width}}}|350px}}; | ||
+ | height: {{?|test={{{height|}}}|{{{height}}}|350px}}; | ||
+ | background-color: gray; | ||
+ | overflow: hidden; | ||
+ | '> | ||
+ | {{ | ||
+ | #widget:Chartlet static grid | ||
+ | | width={{{width|}}} | ||
+ | | height={{{height|}}} | ||
+ | | zoom={{{zoom|}}} | ||
+ | | lat={{{lat|}}} | ||
+ | | lon={{{lon|}}} | ||
+ | | source=http://server.arcgisonline.com/ArcGIS/rest/services/World_Imagery/MapServer/tile/{z}/{y}/{x} | ||
+ | }} | ||
+ | {{ | ||
+ | #widget:Chartlet static grid | ||
+ | | width={{{width|}}} | ||
+ | | height={{{height|}}} | ||
+ | | zoom={{{zoom|}}} | ||
+ | | lat={{{lat|}}} | ||
+ | | lon={{{lon|}}} | ||
+ | | source=http://services.arcgisonline.com/ArcGIS/rest/services/Reference/World_Boundaries_and_Places/MapServer/tile/{z}/{y}/{x} | ||
+ | }} | ||
+ | {{ | ||
+ | #widget:Chartlet static grid | ||
+ | | width={{{width|}}} | ||
+ | | height={{{height|}}} | ||
+ | | zoom={{{zoom|}}} | ||
+ | | lat={{{lat|}}} | ||
+ | | lon={{{lon|}}} | ||
+ | | source=http://t1.openseamap.org/seamark/{z}/{x}/{y}.png | ||
+ | }} | ||
+ | </div>{{#widget:noscript/}}{{#widget:noscript}}{{#widget:noscript/}}</includeonly><noinclude> | ||
- | This is a helper for [[Template:Chartlet]]. It displays a static chartlet | + | This is a helper for [[Template:Chartlet]]. It displays a static chartlet if no JavaScript is available. |
<!-- | <!-- | ||
- | + | ESRI World_Imagery: http://server.arcgisonline.com/ArcGIS/rest/services/World_Imagery/MapServer/tile/{z}/{y}/{x} | |
+ | OSM Semitransparent layer: https://korona.geog.uni-heidelberg.de/tiles/hybrid/x={x}&y={y}&z={z} | ||
+ | OpenSeaMap: http://t1.openseamap.org/seamark/{z}/{x}/{y}.png | ||
--> | --> | ||
<noinclude> | <noinclude> |
Latest revision as of 12:53, 27 February 2019
This is a helper for Template:Chartlet. It displays a static chartlet if no JavaScript is available.