« Berlin » : différence entre les versions
(chg) |
(add) |
||
Ligne 14 : | Ligne 14 : | ||
Adding a page content language with the help of <code><nowiki>{{interlanguagelink:en|Berlin}}</nowiki></code> re-declares FR to EN (for this specific page) and enables to parse <code><nowiki>[[Has area::891.85 km²]]</nowiki></code> without the need to change content from <code>.</code> to <code>,</code> in order to adhere the global content schema. | Adding a page content language with the help of <code><nowiki>{{interlanguagelink:en|Berlin}}</nowiki></code> re-declares FR to EN (for this specific page) and enables to parse <code><nowiki>[[Has area::891.85 km²]]</nowiki></code> without the need to change content from <code>.</code> to <code>,</code> in order to adhere the global content schema. | ||
{{#set: Has text=Capital city of Germany. }} | |||
{{interlanguagelink:en|Berlin}} | {{interlanguagelink:en|Berlin}} |
Dernière version du 26 février 2020 à 23:21
Berlin is the capital of Germany and also its largest city, both in terms of population (« ,061 » ne peut pas être affecté à un type de nombre déclaré avec la valeur 3.52.) and area (891.85 km²« .85km² » n’est pas déclaré comme une unité valide de mesure pour cette propriété.). It is located in the north of Germany at the coordinates 52° 31' 0.00" N, 13° 24' 0.00" E. Berlin's average rainfall is 106.3« .3 » ne peut pas être affecté à un type de nombre déclaré avec la valeur 106. days per year.
Protected: true
Example query
{{#show: Berlin |?Has population }}
The population of Berlin is: 3 520 061
Page content language
The site language (== global content language) is French which in previous releases of SMW would made parsing .
as decimal (in English notation) incompatible with the content language specification of a decimal separator, #15911 allows to use the page content language (if available) as medium to specify content characteristics.
Adding a page content language with the help of {{interlanguagelink:en|Berlin}}
re-declares FR to EN (for this specific page) and enables to parse [[Has area::891.85 km²]]
without the need to change content from .
to ,
in order to adhere the global content schema.
Longitude : 13.4 +