Template:Location/attribute documentation: Difference between revisions
Template page
More actions
template LangSwitch, German translation, some English fixes |
m slightly different German wording |
||
| Line 18: | Line 18: | ||
*<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>'''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>'''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>'''class:object'''</code> ist ein fest einprogrammierter Wert, der automatisch bei allen Bildern hinzugefügt wird, um | *<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 16:31, 16 August 2016
Information attributes - used to pass to GeoHack server metadata about the coordinates. Apart from heading, this information is not used by {{Location/attribute documentation}} template. Attributes have to be in the format field1:value1_field2:value2_field3:value3, etc. The following fields are supported:
region:XX-YYYspecifies the political region, used to select appropriate map resources. See here for more info.
XXis an ISO 3166-1 alpha 2 country code abbreviation, andYYYis a 1-, 2- or 3- characters 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).
heading: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 Points of the compass. (Example:heading:NW). It should be very similar for both {{Location}} and {{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 {{Object location}} template that might mean that we are looking at a South wall/side of the structure/object.scale:Nspecifies the desired 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 here for more info.dim:<width><units>specifies the width of the object in meters or kilometers (example:dim:120mordim:10km). Since most images are at the lowest scale, the parameter should be given only if values different from the default are desired. See here for more info.class:objectis a hard-coded value which will be added automatically to all images to tag this location as the "object" location.