Jump to content
Toggle menu
  • 8 articles
  • 75 files
  • 7 users
  • 37.8K edits
Neodyland Wiki
Toggle preferences menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

Template:Location/attribute documentation: Difference between revisions

Template page
No edit summary
Replaced page with 'Not allowed'
Line 1: Line 1:
{{LangSwitch
Not allowed
|en=
Information attributes - used to pass to [[tswiki:GeoHack|GeoHack]] server metadata about the coordinates. Apart from <code>'''heading'''</code>, this information is not used by {{tl|{{PAGENAME}}}} template. Attributes have to be in the format <code>field1:value1_field2:value2_field3:value3</code>, etc. The following fields are supported:
*<code>'''region:'''XX-YYY</code> specifies the political region, used to select appropriate map resources. See [[:en:Wikipedia:WikiProject_Geographical_coordinates#Parameters|here]] for more info.
:*<code>XX</code> is an [[:en:ISO 3166-1|ISO 3166-1]] alpha 2 country code abbreviation, and
:*<code>YYY</code> is a 1-, 2- or 3- characters [[:en:ISO 3166-2|ISO 3166-2]] (see [[:en:ISO 3166-2#Format]] for details) province/region/state code abbreviation (typically the same as a local postal code abbreviation).
*{{anchor|Heading}}<code>'''heading:'''</code> indicates the direction in which the camera was pointing. It is given as degree values 0–360 (clockwise with north as 0) or a compass point abbreviation (up to four letters) as defined in [[:en:Points of the compass|Points of the compass]]. (Example: <code>heading:NW</code>). It should be very similar for both {{tl|Location}} and {{tl|Object location}} templates when used in the same image. For example "heading:N" means that the camera was pointing North when the photograph was taken. In case of {{tl|Object location}} template that might mean that we are looking at a South wall/side of the structure/object.
*<code>'''scale:'''N</code> specifies the desired [[:en:scale (map)|map scale]] as ''1:N''. Since most images are at the lowest scale, the parameter should be given only if values different from the default are desired. See [[:en:Wikipedia:WikiProject_Geographical_coordinates#scale:N|here]] for more info.
*<code>'''dim:'''<width><units></code> specifies the width of the object in meters or kilometers (example: <code>dim:120m</code> or <code>dim:10km</code>). Since most images are at the lowest scale, the parameter should be given only if values different from the default are desired. See [[:en:Wikipedia:WikiProject_Geographical_coordinates#dim:D|here]] for more info.
*<code>'''source:'''</code> where the data come from
*<code>'''class:object'''</code> is a hard-coded value which will be added automatically to all images to tag this location as the "object" location.
 
|de=
Informative Attribute, die verwendet werden, um dem [[:tswiki:GeoHack|GeoHack-Server]] Metadaten über die Koordinaten mitzuteilen. Mit Ausnahme von <code>'''heading'''</code> werden diese nicht von der Vorlage {{t|{{PAGENAME}}}} genutzt. Die Attribute müssen im Format <code>Feld1:Wert1_Feld2:Wert2_Feld3:Wert3</code> usw. eingegeben werden. Folgende Felder werden unterstützt:
*<code>'''region:'''XX-YYY</code> spezifiziert die politische Region, um geeignete Kartenressourcen auswählen zu können. Siehe unter [[:en:Wikipedia:WikiProject_Geographical_coordinates#region:R|WikiProject Geographical coordinates – region:R]] (englisch) für mehr Informationen.
:*<code>XX</code> ist ein [[:de:ISO-3166-1-Kodierliste|ISO 3166-1]]-ALPHA-2-Ländercode und
:*<code>YYY</code> ist ein ein-, zwei- oder dreistelliger [[:de:ISO 3166-2|ISO 3166-2]]-Code für Provinzen, Regionen oder Bundesstaaten (in vielen Ländern identisch mit der postalischen Abkürzung).
*{{anchor|Heading}}<code>'''heading:'''</code> gibt die Richtung an, in welche die Kamera zeigte. Wird als Winkelwert von 0–360 angegeben (im Uhrzeigersinn mit Norden als 0) oder als Abkürzung der Kompasspunkte, wie sie in [[:en:Points of the compass|Points of the compass]] (englisch) definiert sind. (Beispiel: <code>heading:NW</code>). Die Angabe sollte in den Vorlagen {{t|Location}} und {{t|Object location}} sehr ähnlich sein, wenn sie im selben Bild verwendet werden. Zum Beispiel bedeutet „heading:N“, dass die Kamera nach Norden zeigte, als das Foto gemacht wurde. Im Falle von {{t|Object location}} sollte das heißen, dass wir die Südseite des Objektes sehen.
*<code>'''scale:'''N</code> gibt den gewünschten [[:de:Maßstab (Kartografie)|Maßstab]] als ''1:N'' an. Da die meisten Bilder im kleinsten Maßstab sind, sollte der Parameter nur angegeben werden, wenn vom Standard abweichende Werte verlangt werden. Siehe unter [[:en:Wikipedia:WikiProject_Geographical_coordinates#scale:N|WikiProject Geographical coordinates – scale:N]] (englisch) für mehr Informationen.
*<code>'''dim:'''<Länge><Einheit></code> gibt die Größe des Objektes in Metern oder Kilometern an (Beispiel:  <code>dim:120m</code> oder <code>dim:10km</code>). Da die meisten Bilder im kleinsten Maßstab sind, sollte der Parameter nur angegeben werden, wenn vom Standard abweichende Werte verlangt werden. Siehe unter [[:en:Wikipedia:WikiProject_Geographical_coordinates#dim:D|WikiProject Geographical coordinates – dim:D]] (englisch) für mehr Informationen.
*<code>'''source:'''</code>
*<code>'''class:object'''</code> ist ein fest einprogrammierter Wert, der automatisch bei allen Bildern hinzugefügt wird, um den abgebildeten Ort als eine ''Objekt''-Position zu markieren.
}}

Revision as of 18:55, 13 October 2021

Not allowed

Cookies help us deliver our services. By using our services, you agree to our use of cookies.