Difference between revisions of "Template:Symbol"

From Geohashing
m (removing layout-breaking lines)
(+43,6 Draguignan)
 
(29 intermediate revisions by 9 users not shown)
Line 5: Line 5:
  
 
==Example==
 
==Example==
<code>&#x7b;{symbol|52,9}}</code>: {{symbol|52,9}}
+
*<code>&#x7b;{symbol|52,9}}</code>: {{symbol|52,9}}
 +
*<code>&#x7b;{symbol|52,9|Hannover, Germany}}</code>: {{symbol|52,9|Hannover, Germany}}
  
 
[[category:templates]]
 
[[category:templates]]
 
</noinclude><includeonly>{{#vardefine:shortname|{{#switch:{{{1}}}
 
</noinclude><includeonly>{{#vardefine:shortname|{{#switch:{{{1}}}
 +
|59,10=../images/thumb/d/da/Oslo_komm.svg/512px-Oslo_komm.svg.png
 +
|57,11=Göteborg
 +
|57,12=Borås
 +
|57,13=Gislaved
 +
|57,14=Jönköping
 +
|57,15=Vetlanda
 +
|57,16=Västervik
 +
|57,17=Borgholm
 +
|57,18=Gotland
 +
|57,19=Gotland
 +
|57,25=Valmiera
 +
|56,12=Helsingborg
 +
|56,13=Hässleholm
 +
|56,14=Växjö
 +
|56,15=Karlskrona
 +
|56,16=Kalmar
 +
|55,8=Esbjerg
 +
|55,9=Kolding
 +
|55,10=Odense
 +
|55,11=Næstved
 +
|55,12=København
 +
|55,13=Malmö
 +
|55,14=Rønne
 +
|55,37=Moscow
 
|54,7=Helgoland
 
|54,7=Helgoland
 +
|54,8=Westerland
 +
|54,9=Flensburg
 +
|54,10=Kiel
 +
|54,11=Nykøbing Falster
 
|54,12=Rostock
 
|54,12=Rostock
 +
|54,13=Stralsund
 +
|54,14=Dziwnów
 +
|54,19=Elbląg
 +
|54,20=Kaliningrad
 +
|53,4=Texel
 +
|53,5=Leeuwarden
 
|53,6=Groningen
 
|53,6=Groningen
 
|53,7=Emden
 
|53,7=Emden
Line 17: Line 52:
 
|53,10=Hamburg
 
|53,10=Hamburg
 
|53,11=Schwerin
 
|53,11=Schwerin
 +
|53,12=Güstrow
 
|53,13=Neubrandenburg
 
|53,13=Neubrandenburg
 +
|53,14=Szczecin
 +
|53,15=Stargard Szczeciński
 +
|53,16=Piła
 +
|53,17=Chojnice
 +
|52,4=Amsterdam
 +
|52,5=Utrecht
 
|52,6=Enschede
 
|52,6=Enschede
 
|52,7=Rheine
 
|52,7=Rheine
Line 24: Line 66:
 
|52,10=Braunschweig
 
|52,10=Braunschweig
 
|52,11=Magdeburg
 
|52,11=Magdeburg
 +
|52,12=Brandenburg
 +
|52,13=Berlin
 +
|52,14=Frankfurt (Oder)
 +
|52,15=Gorzów Wielkopolski
 +
|52,16=Poznań
 +
|52,17=Gniezno
 +
|52,18=Konin
 +
|52,19=Płock
 +
|51,3=Gent
 +
|51,4=Rotterdam
 +
|51,5=Eindhoven
 +
|51,6=Düsseldorf
 
|51,7=Dortmund
 
|51,7=Dortmund
 
|51,8=Paderborn
 
|51,8=Paderborn
Line 29: Line 83:
 
|51,10=Goslar
 
|51,10=Goslar
 
|51,11=Halle (Saale)
 
|51,11=Halle (Saale)
 +
|51,12=Leipzig
 +
|51,13=Dresden
 +
|51,14=Cottbus
 +
|51,15=Zielona Góra
 +
|51,16=Wrocław
 +
|51,17=Wrocław
 +
|51,18=Kalisz
 +
|50,5=Liège
 +
|50,6=Köln
 +
|50,7=Bonn
 +
|50,8=Frankfurt am Main
 +
|50,9=Fulda
 +
|50,10=Schweinfurt
 +
|50,11=Erfurt
 +
|50,12=Chemnitz
 +
|50,13=Most
 +
|50,14=Praha
 +
|50,15=Liberec
 +
|50,16=Wałbrzych
 +
|50,17=Opole
 +
|50,18=Gliwice
 +
|49,5=Verdun
 +
|49,6=Luxembourg
 +
|49,7=Kaiserslautern
 +
|49,8=Mannheim
 +
|49,9=Würzburg
 +
|49,10=Bamberg
 +
|49,11=Nürnberg
 +
|49,12=Regensburg
 +
|49,13=Plzeň
 +
|49,17=Olomouc
 +
|48,6=Nancy
 +
|48,7=Strasbourg
 +
|48,8=Pforzheim
 +
|48,9=Stuttgart
 +
|48,10=Augsburg
 +
|48,11=München
 +
|48,12=Landshut
 +
|48,13=Passau
 +
|47,6=Besançon
 +
|47,7=Basel
 +
|47,8=Zürich
 +
|47,9=St. Gallen
 +
|47,10=Kempten
 +
|47,11=Innsbruck
 +
|47,12=Rosenheim
 +
|47,13=Salzburg
 +
|46,3=Nevers
 +
|46,4=Chalon-sur-Saône
 +
|46,5=Bourg-en-Bresse
 +
|46,6=Genève
 +
|45,3=Clermont-Ferrand
 +
|45,4=Lyon
 +
|45,5=Grenoble
 +
|44,5=Carpentras
 +
|43,6=Draguignan
 +
|42,-73=Albany, New York
 +
|42,-71=Boston, Massachusetts
 +
|42,1=Andorra la Vella
 +
|42,2=Perpignan
 +
|41,-74=Newburgh, New York
 +
|41,-73=Danbury, Connecticut
 +
|41,-72=Hartford, Connecticut
 +
|41,-71=Providence, Rhode Island
 +
|41,0=Lleida
 +
|41,1=Tarragona
 
|41,2=Barcelona
 
|41,2=Barcelona
 +
|41,3=Palafrugell
 +
|40,-73=New York
 +
|38,-75=Salisbury, Maryland
 
|35,-105=Santa Fe east
 
|35,-105=Santa Fe east
 +
|33,35=Beirut
 +
|32,34=Tel Aviv
 +
|32,35=Haifa
 +
|31,34=Beer Sheva
 +
|31,35=Jerusalem
 +
|30,34=Mitzpe Ramon
 +
|30,35=Tafila
 +
|29,34=Eilat
 +
|29,35=Aqaba
 
|#default=undefined
 
|#default=undefined
 
}}}}{{#vardefine:filename|{{#switch:{{#var:shortname}}
 
}}}}{{#vardefine:filename|{{#switch:{{#var:shortname}}
 
|#default={{#var:shortname}}.png
 
|#default={{#var:shortname}}.png
 
|undefined=GHST unreachable.png
 
|undefined=GHST unreachable.png
}}}}[[File:{{#var:filename}}|{{#var:shortname}}|link={{{1}}}|44px]]</includeonly>
+
}}}}[[File:{{#var:filename}}|{{#var:shortname}}|link={{{2|{{{1}}}}}}|{{#var:symbolwidth|44px}}]]</includeonly>

Latest revision as of 15:36, 9 December 2023

This template returns an image symbol for a given graticule and links to the graticule page. It does not define a symbol for every graticule (yet).

Feel free to add symbols for missing graticules by editing this page and finding the appropriate row; the format of each row is |lat,long=shortname where | is a pipe, instead of typing lat or long you type the numerical latitude or longitude of the graticule in question, and the shortname may or may not be the wiki pagename for the graticule (but it makes it easier to recognise if it is; either way, can include spaces and limited punctuation). The shortname is seen on hover over the symbol, and is also how the template finds the image: upload your desired symbol as [the shortname here].png and if appropriate add it to category:coats of arms. Rows are sorted by latitude from north to south (so large positive to large negative) and then within each latitude band by longitude west to east (large negative to large positive).

Example

  • {{symbol|52,9}}: Hannover
  • {{symbol|52,9|Hannover, Germany}}: Hannover