« Berlin » : différence entre les versions
(improve usage) |
(add) |
||
(8 versions intermédiaires par 3 utilisateurs non affichées) | |||
Ligne 1 : | Ligne 1 : | ||
'''Berlin''' is the capital of [[Capital of::Germany]] and also its largest city, both in terms of population ([[Has population::3,520,061;2 Sep 2016;https://www.statistik-berlin-brandenburg.de/BasisZeitreiheGrafik/Bas-Einwohnerregister.asp?Ptyp=300&Sageb=12041&creg=BBB&anzwer=11]]) and area ([[Has area::891.85 km²]]). It is located in the north of [[located in::Germany]] at the [https://en.wikipedia.org/wiki/Geographic_coordinate_system#Geographic_latitude_and_longitude coordinates] [[Has coordinates::52°31'N, 13°24'E]]. Berlin's average rainfall is [[Has average rainy days::106.3]] days per year. | '''Berlin''' is the capital of [[Capital of::Germany]] and also its largest city, both in terms of population ([[Has population::3,520,061;2 Sep 2016;https://www.statistik-berlin-brandenburg.de/BasisZeitreiheGrafik/Bas-Einwohnerregister.asp?Ptyp=300&Sageb=12041&creg=BBB&anzwer=11]]) and area ([[Has area::891.85 km²]]). It is located in the north of [[located in::Germany]] at the [https://en.wikipedia.org/wiki/Geographic_coordinate_system#Geographic_latitude_and_longitude coordinates] [[Has coordinates::52°31'N, 13°24'E]]. Berlin's average rainfall is [[Has average rainy days::106.3]] days per year. | ||
== | Protected: [[Is edit protected::true]] | ||
The population of Berlin is: {{#show: Berlin | ?Has population }} | |||
== Example query == | |||
<pre> | |||
{{#show: Berlin |?Has population }} | |||
</pre> | |||
The population of Berlin is: {{#show: Berlin |?Has population }} | |||
== Page content language == | == Page content language == | ||
Ligne 10 : | Ligne 15 : | ||
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. | ||
[[Category:City]] [[Category:Sample pages]] [[Category:Main Page sample pages]] | {{#set: Has text=Capital city of Germany. }} | ||
{{interlanguagelink:en|Berlin}} | |||
__SHOWFACTBOX__ | |||
[[Category:City]] | |||
[[Category:Sample pages]] | |||
[[Category:Main Page sample pages]] |
Dernière version du 26 février 2020 à 23:21
Berlin is the capital of Capital of::Germany and also its largest city, both in terms of population (Has population::3,520,061;2 Sep 2016;https://www.statistik-berlin-brandenburg.de/BasisZeitreiheGrafik/Bas-Einwohnerregister.asp?Ptyp=300&Sageb=12041&creg=BBB&anzwer=11) and area (Has area::891.85 km²). It is located in the north of located in::Germany at the coordinates Has coordinates::52°31'N, 13°24'E. Berlin's average rainfall is Has average rainy days::106.3 days per year.
Protected: Is edit protected::true
Example query
{{#show: Berlin |?Has population }}
The population of Berlin is: {{#show: Berlin |?Has population }}
Page content language
{{#info:|note}}
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, #1591CiteRef::gh:smw:1591 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.
{{#set: Has text=Capital city of Germany. }}
__SHOWFACTBOX__