Template:Infobox coordblock

From CruisersWiki

(Difference between revisions)
Jump to: navigation, search
(chartlet)
(redundant eol)
 
(16 intermediate revisions not shown)
Line 2: Line 2:
   |{{!}}-
   |{{!}}-
{{!}} colspan{{=}}"2" style{{=}}"text-align:center; font-size: normal;" {{!}}<div>'''{{{name}}}'''</div>}}<!--
{{!}} colspan{{=}}"2" style{{=}}"text-align:center; font-size: normal;" {{!}}<div>'''{{{name}}}'''</div>}}<!--
-
--><div>{{geo coord|{{{1|}}}|{{{2|}}}|{{{3|}}}|{{{4|}}}|{{{5|}}}|{{{6|}}}|
+
--><div>{{geo coord
   | lat={{{lat|}}} | lon={{{lon|}}}
   | lat={{{lat|}}} | lon={{{lon|}}}
   | name={{{name|}}}
   | name={{{name|}}}
   | maplat={{{maplat|}}}| maplon={{{maplon|}}}
   | maplat={{{maplat|}}}| maplon={{{maplon|}}}
 +
  | geometry={{{geometry|}}}
   | zoom={{{zoom|}}}
   | zoom={{{zoom|}}}
-
}} {{#Widget:Panoramio link|lat={{?|test={{{1|}}}|{{{1|}}}|{{{lat|}}}}}|latm={{{2|}}}|lath={{{3|}}}|lon={{?|test={{{4|}}}|{{{4|}}}|{{{lon|}}}}}|lonm={{{5|}}}|lonh={{{6|}}}|zoom={{?|test={{{zoom|}}}|{{{zoom}}}|15}}|icon={{filepath:Photo icon.png}}|content=Photo gallery}} <span title="Other maps">[{{Coord URL}}{{if |test={{{lat|}}}
+
}} <span title="Other maps">[{{Coord URL}}{{if |test={{eq|{{{lat|}}}|{{anchorencode:{{{lat|}}}}}}}
   | then={{{lat}}};{{{lon}}}
   | then={{{lat}}};{{{lon}}}
-
   | else={{{1}}}_{{{2}}}_{{{3}}}_{{{4}}}_{{{5}}}_{{{6}}}  
+
   | else={{anchorencode:{{{lat|}}}}}_{{anchorencode:{{{lon|}}}}}
-
   }} [[File:Chart icon.png|12px|link=]]]{{?|test={{{chartlet|}}}|[[Category:Infobox with chartlet parameter]]}}</span></div>
+
   }} [[File:Chart icon.png|12px|link=]]]</span><!-- 
 +
  --><span class="p-category" style="display:none">{{?|test={{{type|}}}|{{{type|}}}|destination}}</span></div>
{{? | test={{{chartlet|}}}
{{? | test={{{chartlet|}}}
|{{!}}-
|{{!}}-
-
{{!}} colspan{{=}}"2" {{!}} {{chartlet|{{{1|}}}|{{{2|}}}|{{{3|}}}|{{{4|}}}|{{{5|}}}|{{{6|}}}|
+
{{!}} colspan{{=}}"2" {{!}} {{chartlet
-
   | lat={{{lat|}}} | lon={{{lon|}}}
+
  | lat={{?|test={{{maplat|}}}|{{{maplat}}}|{{{lat|}}}}}  
-
  | maplat={{{maplat|}}}| maplon={{{maplon|}}}
+
   | lon={{?|test={{{maplon|}}}|{{{maplon}}}|{{{lon|}}}}}  
   | zoom={{{zoom|}}}
   | zoom={{{zoom|}}}
-
}}
+
  | params={{{chartlet|}}}
-
}}</includeonly><noinclude>
+
  | width={{{chartletwidth|}}}
 +
  | height={{{chartletheight|}}}
 +
}}[[Category:Infobox with chartlet parameter]]}}</includeonly><noinclude>
-
Common block with coordinates, photo gallery and chartlet links for [[Template:Infobox]]
+
Common block with coordinates, chartlet link, etc. for [[Template:Infobox]]
[[Category:Templates|Infobox coordblock]]
[[Category:Templates|Infobox coordblock]]
</noinclude>
</noinclude>

Latest revision as of 16:22, 11 November 2018


Common block with coordinates, chartlet link, etc. for Template:Infobox

Personal tools
advertisement
Friends of Cruisers Wiki