انتقل إلى المحتوى

موضيل:ويكيداطا

من ويكيپيديا
شرح د لموضيل[شوف] [بدل] [تاريخ] [تحديت]

يمكن ليك تستخدم(ي): {{Wd}} كاختصار.

أمتيلا

[بدل لكود]
Parameters and output types Example Description
Q55 = "Netherlands", P395 = "licence plate code"

[string]

{{ويكيداطا|property|Q55|P395}}

NL
Gets a literal string value.
P395 = "licence plate code"

[string]

{{ويكيداطا|property|P395}}

NL
If the موضيل is transcluded on the Netherlands page (which is linked to Q55), then the Q55 can be omitted.
Q55 = "Netherlands", P395 = "NL"

[string]

{{ويكيداطا|property|eid=Q55|P395}}

NL
An entity-ID can also be given using the eid= argument.
Q55 = "Netherlands", P395 = "licence plate code"

[string]

{{ويكيداطا|property|edit|Q55|P395}}

NL Edit this on Wikidata
Adds a clickable icon that may be used to edit the returned value on Wikidata.
Q55 = "Netherlands", P395 = "licence plate code"

[string]

{{ويكيداطا|property|edit@end|Q55|P395}}

NLEdit this on Wikidata
Places the edit icon at the end of the line.
Q55 = "Netherlands", P1082 = "population"

[quantity]

{{ويكيداطا|property|normal+|Q55|P1082}}

17,181,084
Gets a single property value from claims with a 'normal' rank or higher.
Q55 = "Netherlands", P1082 = "population"

[quantity]

{{ويكيداطا|properties|normal+|Q55|P1082}}

17,181,084, 16,829,289, 16,779,575, 10,026,773, 17,000,000, 17,132,854
Gets multiple property values from claims with a 'normal' rank or higher.
Q55 = "Netherlands", P1082 = "population", P585 = "point in time"

[quantity], [time]

{{ويكيداطا|properties|qualifier|normal+|Q55|P1082|P585}}

17,181,084 (1 January 2018), 16,829,289 (26 August 2014), 16,779,575 (2013), 10,026,773 (1950), 17,000,000 (21 March 2016), 17,132,854 (2017)
Gets a single qualifier value for each claim, additional to the property value.
Q55 = "Netherlands", P1082 = "population", P585 = "point in time"

[quantity], [time], [reference]

{{ويكيداطا|properties|qualifier|references|normal+|Q55|P1082|P585}}

17,181,084 (1 January 2018),[1] 16,829,289 (26 August 2014),[2] 16,779,575 (2013),[3] 10,026,773 (1950),[3] 17,000,000 (21 March 2016),[4] 17,132,854 (2017)[5]
Gets references for each claim.
Q55 = "Netherlands", P1082 = "population"

[quantity], [reference]

A total of {{ويكيداطا|property|references|Q55|P1082}} people live in the Netherlands.

A total of 17,181,084[1] people live in the Netherlands.
Gets a property with its references.
Q55 = "Netherlands", P1082 = "population"

[quantity], [reference]

The Netherlands has a population of {{ويكيداطا|property|references|Q55|P1082|punc=.}}

The Netherlands has a population of 17,181,084.[1]
Adds a punctuation mark at the end of the output, in front of the references.
Q55 = "Netherlands", P1082 = "population", P585 = "point in time"

[quantity], [time], [reference]

<ul>{{ويكيداطا|properties|qualifier|references|normal+|Q55|P1082|P585|format=<li>%p[%r][<ul><li>%q</li></ul>]</li>}}</ul>

  • 17,181,084[1]
    • 1 January 2018
  • 16,829,289[2]
    • 26 August 2014
  • 16,779,575[3]
    • 2013
  • 10,026,773[3]
    • 1950
  • 17,000,000[4]
    • 21 March 2016
  • 17,132,854[5]
    • 2017
Returns the output in a custom format.
Q55 = "Netherlands", P1082 = "population", P585 = "point in time"

[time]

{{ويكيداطا|qualifier|normal+|Q55|P1082|P585}}

1 January 2018; 26 August 2014; 2013; 1950; 21 March 2016; 2017
Gets a single qualifier per claim, by default for multiple matching claims.
Q55 = "Netherlands", P1082 = "population", P585 = "point in time"

[time]

{{ويكيداطا|qualifier|normal+|single|Q55|P1082|P585}}

1 January 2018
To get a single qualifier for only a single claim, give the single flag too so that only a single claim will be accessed.
Q55 = "Netherlands", P1082 = "population", P585 = "point in time"

[time]

{{ويكيداطا|qualifier|Q55|P1082|16829289|P585}}

26 August 2014
Gets a qualifier from claims for which the (raw) property value matches a given literal value.
Q55 = "Netherlands", P1082 = "population", P585 = "point in time"

[time]

{{ويكيداطا|qualifier|mdy|Q55|P1082|16829289|P585}}

August 26, 2014
Gets dates in month-day-year order.
Q55 = "Netherlands", P1082 = "population", P585 = "point in time"

[time]

{{ويكيداطا|qualifier|raw|Q55|P1082|16829289|P585}}

2014-08-26
Gets a raw date value.
Q55 = "Netherlands", P1082 = "population"

[reference]

{{ويكيداطا|references|Q55|P1082|16829289}}

[2]
Gets the references from a particular claim.
Q55 = "Netherlands", P1082 = "population"

[reference]

{{ويكيداطا|references|raw|Q55|P1082|16829289}}

http://statline.cbs.nl/StatWeb/publication/?VW=T&DM=SLNL&PA=37296ned&LA=NL; retrieved: 26 August 2014.
Gets references from a particular claim in their raw form.
Q55 = "Netherlands", P1081 = "Human Development Index"

[quantity], [reference]

{{ويكيداطا|properties|references|normal+|Q55|P1081}}

0.922,[6] 0.787, 0.799, 0.829,[6] 0.861, 0.877,[6] 0.891, 0.909,[6] 0.919,[6] 0.920,[6] 0.920,[6] 0.829,[7] 0.834,[7] 0.835,[7] 0.839,[7] 0.864,[7] 0.861,[7] 0.866,[7] 0.865,[7] 0.867,[7] 0.870,[7] 0.876,[7] 0.879,[7] 0.878,[7] 0.883,[7] 0.886,[7] 0.891,[7] 0.897,[7] 0.904,[7] 0.906,[7] 0.906,[7] 0.910,[7] 0.921,[7] 0.921,[7] 0.923,[7] 0.924,[7] 0.926,[7] 0.928,[7] 0.931[7]
Gets properties from each claim with any references they have.
Q55 = "Netherlands", P1081 = "Human Development Index"

[quantity], [reference]

{{ويكيداطا|properties|references|normal+|sourced|Q55|P1081}}

0.922,[6] 0.829,[6] 0.877,[6] 0.909,[6] 0.919,[6] 0.920,[6] 0.920,[6] 0.829,[7] 0.834,[7] 0.835,[7] 0.839,[7] 0.864,[7] 0.861,[7] 0.866,[7] 0.865,[7] 0.867,[7] 0.870,[7] 0.876,[7] 0.879,[7] 0.878,[7] 0.883,[7] 0.886,[7] 0.891,[7] 0.897,[7] 0.904,[7] 0.906,[7] 0.906,[7] 0.910,[7] 0.921,[7] 0.921,[7] 0.923,[7] 0.924,[7] 0.926,[7] 0.928,[7] 0.931[7]
Only gets properties from claims that have at least one reference.
Q55 = "Netherlands", P2855 = "VAT-rate", P518 = "applies to part"

[entity label]

{{ويكيداطا|qualifier|Q55|P2855|P518}}

food
Gets a single qualifier value (for each matching claim).
Q55 = "Netherlands", P2855 = "VAT-rate", P518 = "applies to part"

[entity label]

{{ويكيداطا|qualifiers|Q55|P2855|P518}}

food, medication, assistive technology, magazine, book, art, antique, hairdresser, hotel, campsite, recreation, sport, water
Gets multiple qualifier values (for each matching claim).
Q55 = "Netherlands", P2855 = "VAT-rate", P518 = "applies to part"

[quantity], [entity label]

{{ويكيداطا|properties|qualifiers|Q55|P2855|P518}}

21%, 6% (food, medication, assistive technology, magazine, book, art, antique, hairdresser, hotel, campsite, recreation, sport, water)
Gets multiple property values along with multiple qualifier values.
Q55 = "Netherlands", P2855 = "VAT-rate", P518 = "applies to part"

[quantity], [entity label]

{{ويكيداطا|properties|qualifiers|Q55|P2855|P518|sep=_+_|sep%s=|sep%q=_/_}}

21% + 6% (food / medication / assistive technology / magazine / book / art / antique / hairdresser / hotel / campsite / recreation / sport / water)
Returns the output with custom separators.
Q55 = "Netherlands", P35 = "head of state", P580 = "start time", P582 = "end time"

[entity label], [time]

{{ويكيداطا|properties|qualifier|qualifier|normal+|Q55|P35|P580|P582}}

Willem-Alexander of the Netherlands (30 April 2013), Beatrix of the Netherlands (30 April 1980; 30 April 2013), Juliana of the Netherlands (4 September 1948; 30 April 1980), Wilhelmina of the Netherlands (23 November 1890; 4 September 1948), William III of the Netherlands (17 March 1849; 23 November 1890), William II of the Netherlands (7 October 1840; 17 March 1849), William I of the Netherlands (16 March 1815; 7 October 1840)
Gets two different qualifier values for each claim.
Q55 = "Netherlands", P35 = "head of state", P580 = "start time", P582 = "end time"

[entity label], [time]

{{ويكيداطا|properties|qualifier|qualifier|normal+|Q55|P35|P580|P582|sep%q=_–_}}

Willem-Alexander of the Netherlands (30 April 2013), Beatrix of the Netherlands (30 April 1980 – 30 April 2013), Juliana of the Netherlands (4 September 1948 – 30 April 1980), Wilhelmina of the Netherlands (23 November 1890 – 4 September 1948), William III of the Netherlands (17 March 1849 – 23 November 1890), William II of the Netherlands (7 October 1840 – 17 March 1849), William I of the Netherlands (16 March 1815 – 7 October 1840)
Returns the output with a custom separator.
Q55 = "Netherlands", P35 = "head of state", P580 = "start time", P582 = "end time"

[entity label], [time]

{{ويكيداطا|properties|qualifier|qualifier|normal+|Q55|P35|P580|P582|format=%p[ <span style="font-size:85\%">(%q1[ – %q2])</span>][%s][%r]}}

Willem-Alexander of the Netherlands (30 April 2013), Beatrix of the Netherlands (30 April 1980 – 30 April 2013), Juliana of the Netherlands (4 September 1948 – 30 April 1980), Wilhelmina of the Netherlands (23 November 1890 – 4 September 1948), William III of the Netherlands (17 March 1849 – 23 November 1890), William II of the Netherlands (7 October 1840 – 17 March 1849), William I of the Netherlands (16 March 1815 – 7 October 1840)
Returns the output in a custom format instead of with a custom separator.
Q55 = "Netherlands", P35 = "head of state", P580 = "start time", P582 = "end time"

[entity label], [time]

{{ويكيداطا|properties|qualifier|qualifier|normal+|Q55|P35|P580|P582|format=%p[ <span style="font-size:85\%">([<![]--%q2]since [%q2--[]>]%q1[ – %q2])</span>][%s][%r]}}

Willem-Alexander of the Netherlands (since 30 April 2013), Beatrix of the Netherlands (30 April 1980 – 30 April 2013), Juliana of the Netherlands (4 September 1948 – 30 April 1980), Wilhelmina of the Netherlands (23 November 1890 – 4 September 1948), William III of the Netherlands (17 March 1849 – 23 November 1890), William II of the Netherlands (7 October 1840 – 17 March 1849), William I of the Netherlands (16 March 1815 – 7 October 1840)
To add text only when a certain value is not present, like adding the word since if there is no end time, wrap it in between two optional blocks containing HTML comment tags and the relevant parameter (this also prevents the text from being added to the page source).
Q55 = "Netherlands", P35 = "head of state", Q29574 = "Beatrix of the Netherlands", P580 = "start time", P582 = "end time"

[entity label], [time]

{{ويكيداطا|properties|qualifier|raw|qualifier|normal+|Q55|P35|Q29574|P580|P582|format=%p[ <span style="font-size:85\%">(%q1[ – %q2])</span>][%s][%r]}}

Beatrix of the Netherlands (1980-04-30 – 30 April 2013)
Gets a property with qualifiers from claims for which the property matches a given Q-identifier, with one of the qualifier values in its raw form.
Q55 = "Netherlands", P38 = "currency", P518 = "applies to part"

[entity label]

{{ويكيداطا|properties|qualifiers|normal+|current|Q55|P38|P518}}

euro (European Netherlands), United States dollar (Caribbean Netherlands)
Gets claims that are currently valid.
Q55 = "Netherlands", P38 = currency", P518 = "applies to part"

[entity label]

{{ويكيداطا|properties|linked|qualifiers|normal+|current|Q55|P38|P518}}

euro (European Netherlands), United States dollar (Caribbean Netherlands)
Gets claims with linked property values.
Q55 = "Netherlands", P38 = currency", P518 = "applies to part"

[entity label]

{{ويكيداطا|properties|qualifiers|linked|normal+|current|Q55|P38|P518}}

euro (European Netherlands), United States dollar (Caribbean Netherlands)
Gets claims with linked qualifier values.
Q55 = "Netherlands", P38 = currency", P518 = "applies to part"

[entity label]

{{ويكيداطا|properties|linked|short|qualifiers|linked|normal+|current|Q55|P38|P518}}

euro (European Netherlands), US dollar (Caribbean Netherlands)
Gets claims with linked property and qualifier values, with short property values wherever available.
Q55 = "Netherlands", P38 = currency", Q4917 = "United States dollar", P518 = "applies to part"

[entity label]

{{ويكيداطا|qualifiers|normal+|current|Q55|P38|Q4917|P518}}

Caribbean Netherlands
Gets qualifiers from claims for which the (raw) property value matches a given Q-identifier.
Q55 = "Netherlands", P38 = currency", P518 = "applies to part", Q27561 = "Caribbean Netherlands"

[entity label]

{{ويكيداطا|properties|normal+|current|Q55|P38|P518=Q27561}}

United States dollar
Gets properties from claims for which a (raw) qualifier value matches a given Q-identifier.
Q55 = "Netherlands", P38 = currency"

[entity label]

{{ويكيداطا|properties|normal+|former|Q55|P38}}

Dutch guilder
Gets claims that were valid in the past.
Q55 = "Netherlands", P38 = currency"

[entity label]

{{ويكيداطا|properties|raw|normal+|former|Q55|P38}}

Q788472
Gets raw property values.
Q55 = "Netherlands", P38 = currency"

[entity label]

{{ويكيداطا|properties|raw|linked|normal+|former|Q55|P38}}

Q788472
Gets raw property values that are linked to Wikidata.
Q55 = "Netherlands", P1549 = "demonym"

[monolingual text]

{{ويكيداطا|property|Q55|P1549}}

Dutch
Gets a monolingual text value in the current wiki's language.
Q55 = "Netherlands", P1549 = "demonym", P407 = "language of work or name", Q36846 = "Toki Pona"

[monolingual text]

{{ويكيداطا|property|multilanguage|Q55|P1549|P407=Q36846}}

jan Netelan
Gets a monolingual text value in any available language.
Q55 = "Netherlands", P2884 = "mains voltage"

[quantity]

{{ويكيداطا|property|Q55|P2884}}

230 volt
Gets a quantity value with its associated unit of measurement.
Q55 = "Netherlands", P2884 = "mains voltage"

[quantity]

{{ويكيداطا|property|linked|Q55|P2884}}

230 volt
Gets a quantity value with a linked unit of measurement.
Q55 = "Netherlands", P2884 = "mains voltage"

[quantity]

{{ويكيداطا|property|raw|Q55|P2884}}

230
Gets a raw quantity value.
Q55 = "Netherlands", P2884 = "mains voltage"

[quantity]

{{ويكيداطا|property|unit|Q55|P2884}}

volt
Gets only the unit of measurement.
Q55 = "Netherlands", P2884 = "mains voltage"

[quantity]

{{ويكيداطا|property|unit|raw|Q55|P2884}}

Q25250
Gets the raw unit of measurement.
Q55 = "Netherlands", P625 = "coordinate location"

[globe coordinate]

{{ويكيداطا|property|Q55|P625}}

52°19'N, 5°33'E
Gets a globe coordinate value.
Q55 = "Netherlands", P625 = "coordinate location"

[globe coordinate]

{{ويكيداطا|property|linked|Q55|P625}}

52°19'N, 5°33'E
Gets a linked globe coordinate value.
Q55 = "Netherlands", P625 = "coordinate location"

[globe coordinate]

{{ويكيداطا|property|raw|Q55|P625}}

52/19/N/5/33/E
Gets a raw globe coordinate value.
Q55 = "Netherlands", P625 = "coordinate location"

[globe coordinate]

{{ويكيداطا|property|Q55|coord}}

52°19'N, 5°33'E
A property alias can be used instead of the P-identifier.
Q55 = "Netherlands", P41 = "flag image"

[commons media]

{{ويكيداطا|property|linked|Q55|P41}}

Flag of the Netherlands.svg
Gets a media file name and links to it on Commons.
Q55 = "Netherlands", P41 = "flag image"

[commons media]

{{ويكيداطا|property|raw|Q55|P41|format=\[\[File:%p {{!}} thumb {{!}} left\]\]}}

A Commons media file can be included on the page as-is by omitting the linked and raw flags, but by using the raw flag it can be freely formatted.
Q55 = "Netherlands", P41 = "flag image"

[commons media]

{{ويكيداطا|property|raw|date=1700-05-06|Q55|P41|format=\[\[File:%p {{!}} thumb {{!}} left\]\]}}

To get the value of a property that was valid at a given time, the date= argument can be used.
Q55 = "Netherlands", P41 = "flag image"

[commons media]

{{ويكيداطا|property|raw|date=1700-05-06|former|Q55|P41|format=\[\[File:%p {{!}} thumb {{!}} left\]\]}}

The time constraint flags work relatively to the date value given for the date= argument.
Q915684 = "Lorentz–Lorenz equation", P2534 = "defining formula"

[math]

{{ويكيداطا|property|Q915684|P2534}}

Gets a mathematical expression.
Q915684 = "Lorentz–Lorenz equation", P527 = "has part", P416 = "quantity symbol", P2534 = "defining formula"

[entity label], [string], [math]

<ul>{{ويكيداطا|properties|linked|qualifier|qualifier|Q915684|P527|P416|P2534|format=<li>%p[ (%q)]</li>}}</ul>

Mathematical expressions can be combined into regular text as normal.
Q6256 = "country", P3896 = "geoshape"

[geographic shape]

{{ويكيداطا|property|linked|Q6256|P3896}}

Data:Naturalearthdata.com/admin-0-countries-no-antarctica.map
Gets a geographic shape data file name and links to it on Commons.
Q4917 = "United States dollar"

[entity label]

{{ويكيداطا|label|Q4917}}

United States dollar
Gets an item's label.
Q4917 = "United States dollar"

[entity label]

{{ويكيداطا|label|short|linked|Q4917}}

US dollar
Gets an item's short and linked label.
P38 = currency"

[entity label]

{{ويكيداطا|label|P38}}

currency
Gets a property's label.
P38 = currency"

[entity label]

{{ويكيداطا|label|linked|P38}}

currency
Gets a property's label that is linked to Wikidata.
Q776 = "Utrecht"

[entity label]

{{ويكيداطا|label|Q776}}

Utrecht
Gets an item's label.
Q776 = "Utrecht"

[entity label]

{{ويكيداطا|label|linked|Q776}}

Utrecht
Gets an item's linked label.


[entity label]

{{ويكيداطا|label}}

Utrecht
If the موضيل is transcluded on the Utrecht (province) page (which is linked to Q776), then the Q776 can be omitted.


[entity label]

{{ويكيداطا|label|raw}}

Q776
If just the label command with the raw flag is given, then the Q-identifier of the item connected to the current page is returned.


[entity label]

{{ويكيداطا|label|raw|linked}}

Q776
If additionally the linked flag is given, then the Q-identifier of the item connected to the current page is linked to Wikidata.
Q776 = "Utrecht"

[page title]

{{ويكيداطا|title|Q776}}

Utrecht (province)
Gets the title of the page on the current wiki that is linked to the given item.
Q776 = "Utrecht"

[page title]

{{ويكيداطا|title|linked|Q776}}

Utrecht (province)
Gets the linked title of the page on the current wiki that is linked to the given item.


[page title]

{{ويكيداطا|title}}

Utrecht (province)
If the موضيل is transcluded on the Utrecht (province) page (which is linked to Q776), then the Q776 can be omitted.
Q55 = "Netherlands"

[entity description]

{{ويكيداطا|description|Q55}}

constituent country of the Kingdom of the Netherlands
Gets an item's description.


[entity description]

{{ويكيداطا|description}}

constituent country of the Kingdom of the Netherlands
If the موضيل is transcluded on the Netherlands page (which is linked to Q55), then the Q55 can be omitted.
Q55 = "Netherlands"

[entity alias]

{{ويكيداطا|alias|Q55}}

Holland
Gets one of an item's aliases.
Q55 = "Netherlands"

[entity alias]

{{ويكيداطا|aliases|Q55}}

Holland, the Netherlands, NL, NED, Nederland, nl, 🇳🇱, Netherlands (after 1945)
Gets all of an item's aliases.
Q55 = "Netherlands"

[entity alias]

{{ويكيداطا|alias|linked|Q55}}

Holland
Gets a linked alias from an item.


[entity alias]

{{ويكيداطا|alias}}

Holland
If the موضيل is transcluded on the Netherlands page (which is linked to Q55), then the Q55 can be omitted.
Q2 = "Earth"

[page badge]

{{ويكيداطا|badges|Q2}}

featured article
Gets the badges for the page on the current wiki that is linked to the given item.
Q2 = "Earth"

[page badge]

{{ويكيداطا|badges|raw|Q2}}

Q17437796
Gets the raw badges for the page on the current wiki that is linked to the given item.


[page badge]

{{ويكيداطا|badges}}

featured article
If the موضيل is transcluded on the Earth page (which is linked to Q2), then the Q2 can be omitted.

مراجع الأمتيلا

[بدل لكود]