Şablon:Wdtable row/şaredariyên Îtalyayê

Belgekirina şablonê

This template will retrieve certain data from Wikidata for use in a table in an article. It is a wrapper template for Module:Wikidata table function makerow, using predefined properties.

It was designed for use on Lîsteya şaredariyên parêzgeha Chieti but may also be used on other articles. (Search)

Usage

The data that is displayed in each column is as follows:
Column 1Column 2Column 3Column 4Column 5Column 6Column 7Column 8Column 9Column 10Column 11
Label (P635)
wêne (P18)
navê fermî (P1448)
navê xwemalî (P1705)
koordînat (P625)
nifûs (P1082) qualified by dem (P585)
bilindahiya ji rûyê avê (P2044)
qada rûerdê (P2046)
koda posteyê (P281)
koda telefonê (P473)

Example

The Wikidata QID for Altino, Abruzzo is Q51179. Typing the following:

{{Wdtable row/şaredariyên Îtalyayê|qid=Q51179}}

produces
NameISTAT IDWêneNavê fermîNavê xwemalîKoordînatNifûsBilindahiya ji rûyê avêQada rûerdêKoda posteyêKoda telefonê
Altino Edit this on Wikidata069001AltinoAltino42°6′0″N 14°20′0″E3067[1] (kanûna paşîn 2023)345 m (1.132 ft)15.33 kîlometre çargoşe660400872

Notes

  • The table caption, column headings, etc. need to be added manually.
  • Please be careful about making changes to this template, as corresponding changes will need to be made to the column headings on Lîsteya şaredariyên parêzgeha Chieti and any other article using it. (Search)

Overriding columns

It is possible to override or append to data values obtained from Wikidata in any column in the table.
  • To completely override column n with some custom content, use parameter cn=
    For example, to replace column 5 with the number 1957 use c5=1957
  • To append some custom content to the end of column n use parameter cn+=
    For example, to add a footnote to column 6 use c6+={{efn|This value is approximate.}}

Add named reference

If you define references in a list then you can cite one of these by using the parameter refname. This will add a reference to column 1 directly after the label. For example you can define a reference called Smith1 by using
{{reflist|refs=
<ref name="Smith1">reference</ref>
}}
Then use refname=Smith1

References

TemplateData

This template reads some data from Wikidata while also allowing an editor to override or append their own content.

Parametreyên şablonê

Formata rêzê di vê şablonê de tê bikaranîn.

ParametreDanasînCureRewş
QIDqid

Enter the Wikidata QID, which is a number beginning with Q. You can also add the name of the item as an HTML comment.

Mînak
Q51179<!-- Altino -->
Nivîspêşniyazkirî
Add named referencerefname

Add a named reference defined in a list

Mînak
ref1
Nivîsne pêwîst
Override labelc1

Override the label (column 1) with this value

Naverokne pêwîst
Append to labelc1+

Append this content to the label (column 1)

Naverokne pêwîst
Override ISTAT IDc2

Override the ISTAT ID (column 2) with this content

Naverokne pêwîst
Append to ISTAT IDc2+

Append this content to the ISTAT ID (column 2)

Naverokne pêwîst
Override wênec3

Override the wêne (column 3) with this content

Naverokne pêwîst
Append to wênec3+

Append this content to the wêne (column 3)

Naverokne pêwîst
Override navê fermîc4

Override the navê fermî (column 4) with this content

Naverokne pêwîst
Append to navê fermîc4+

Append this content to the navê fermî (column 4)

Naverokne pêwîst
Override navê xwemalîc5

Override the navê xwemalî (column 5) with this content

Naverokne pêwîst
Append to navê xwemalîc5+

Append this content to the navê xwemalî (column 5)

Naverokne pêwîst
Override koordînatc6

Override the koordînat (column 6) with this content

Naverokne pêwîst
Append to koordînatc6+

Append this content to the koordînat (column 6)

Naverokne pêwîst
Override nifûsc7

Override the nifûs (column 7) with this content

Naverokne pêwîst
Append to nifûsc7+

Append this content to the nifûs (column 7)

Naverokne pêwîst
Override bilindahiya ji rûyê avêc8

Override the bilindahiya ji rûyê avê (column 8) with this content

Naverokne pêwîst
Append to bilindahiya ji rûyê avêc8+

Append this content to the bilindahiya ji rûyê avê (column 8)

Naverokne pêwîst
Override qada rûerdêc9

Override the qada rûerdê (column 9) with this content

Naverokne pêwîst
Append to qada rûerdêc9+

Append this content to the qada rûerdê (column 9)

Naverokne pêwîst
Override koda posteyêc10

Override the koda posteyê (column 10) with this content

Naverokne pêwîst
Append to koda posteyêc10+

Append this content to the koda posteyê (column 10)

Naverokne pêwîst
Override koda telefonêc11

Override the koda telefonê (column 11) with this content

Naverokne pêwîst
Append to koda telefonêc11+

Append this content to the koda telefonê (column 11)

Naverokne pêwîst