Şablon:EditAtWikidata
Xuyakirin
Belgekirina şablonê[nîşan bide] [biguhêre] [dîrokê bibîne] [rojane bike]
Bikaranîna Luayê: |
Template to display an icon with a tooltip such as "Edit this at Wikidata"
- Icon will be linked to the Wikidata entry for the article where this is placed.
- The link can be modified to point to a specific property in the Wikidata entry by supplying the optional named parameter
|pid=
. - This message is only displayed if a local_parameter is not supplied; i.e. when called from within a template, it can be coded not to display the icon when a local parameter is in use, which means the value from Wikidata is not used.
- The qid of a Wikidata entry can optionally be supplied for testing outside the article (this is an expensive call).
Usage
[çavkaniyê biguhêre]{{EditAtWikidata}}
Outside the article:
{{EditAtWikidata |qid=<Qid of article at Wikidata>}}
Inside another template:
{{EditAtWikidata |{{{local_parameter|}}} }}
To make the link point to the given propertyID at the Wikidata entry:
{{EditAtWikidata |pid=<PropertyID> |local_parameter}}
Example
[çavkaniyê biguhêre]Usage:
- Template:EditAtWikidata{{EditAtWikidata}}
Output:
- Template:EditAtWikidata
Template:EditAtWikidata [[File:OOjs UI icon edit-ltr-progressive.svg|frameless|text-top|10px|alt=Li ser Wîkîdaneyê biguhêre|link=https://www.wikidata.org/wiki/Q27038277|class=noprint|Li ser Wîkîdaneyê biguhêre]]
See also
[çavkaniyê biguhêre]- Template:EditOnWikidata, a similar template using text instead of an icon