Template:Infobox coordblock

From CruisersWiki

(Difference between revisions)
Jump to: navigation, search
(redundant eol)
 
(46 intermediate revisions not shown)
Line 1: Line 1:
<includeonly>{{? | test={{{name|}}}
<includeonly>{{? | test={{{name|}}}
   |{{!}}-
   |{{!}}-
-
{{!}} colspan{{=}}"2" style{{=}}"text-align:center; font-size: normal;" {{!}}'''{{{name}}}'''<br />}}<!--
+
{{!}} colspan{{=}}"2" style{{=}}"text-align:center; font-size: normal;" {{!}}<div>'''{{{name}}}'''</div>}}<!--
-
--><span>{{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|}}}
-
   | zoom={{{mapzoom|}}}
+
  | geometry={{{geometry|}}}
-
}} [[File:Chart icon.png| alt=GeoHack link| link={{Coord URL}}{{if |test={{{lat|}}}
+
   | zoom={{{zoom|}}}
 +
}} <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|}}}}}
-
   }}]] {{gallery link |{{{1|}}}|{{{2|}}}|{{{3|}}}|{{{4|}}}|{{{5|}}}|{{{6|}}}|
+
   }} [[File:Chart icon.png|12px|link=]]]</span><!-- 
-
  | link= {{{gallery|}}}
+
  --><span class="p-category" style="display:none">{{?|test={{{type|}}}|{{{type|}}}|destination}}</span></div>
-
   | lat= {{?|test={{{maplat|}}}|{{{maplat}}}|{{{lat}}}}}
+
{{? | test={{{chartlet|}}}
-
   | lon= {{?|test={{{maplon|}}}|{{{maplon}}}|{{{lon}}}}}
+
|{{!}}-
-
   | zoom= {{{mapzoom|}}}
+
{{!}} colspan{{=}}"2" {{!}} {{chartlet
-
   | icon= yes
+
   | lat={{?|test={{{maplat|}}}|{{{maplat}}}|{{{lat|}}}}}  
-
   }}</span>
+
   | lon={{?|test={{{maplon|}}}|{{{maplon}}}|{{{lon|}}}}}  
-
</includeonly><noinclude>
+
   | zoom={{{zoom|}}}
 +
   | params={{{chartlet|}}}
 +
   | width={{{chartletwidth|}}}  
 +
  | height={{{chartletheight|}}}
 +
}}[[Category:Infobox with chartlet parameter]]}}</includeonly><noinclude>
-
TEST
+
Common block with coordinates, chartlet link, etc. for [[Template:Infobox]]
-
<!--
+
-
Common block with coordinates, photo gallery and chartlet links 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