সাঁচ:EditAtWikidata
অৱয়ব
This template is used on 1,119,395 pages. To avoid large-scale disruption and unnecessary server load, any changes should first be tested in this template's /sandbox or/testcases subpage, or in your own user space. The tested changes can then be added in one single edit to this template. Please consider discussing any changes on the talk page before implementing them. |
Related pages |
---|
এই সাঁচে লুৱা ব্যৱহাৰ কৰে: |
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
[সম্পাদনা কৰক]{{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
[সম্পাদনা কৰক]Usage:
- Template:EditAtWikidata{{EditAtWikidata}}
Output:
TemplateData
[সম্পাদনা কৰক]কোনো বিৱৰণ নাই।
পেৰামিটাৰ | বিৱৰণ | প্ৰকাৰ | স্থিতি | |
---|---|---|---|---|
Local parameter | 1 | Local parameter, which if supplied will override this template | ষ্ট্ৰিং | ঐচ্ছিক |
QID | qid | Q item ID of the item to be edited at Wikidata | অজ্ঞাত | ঐচ্ছিক |
PID | pid | Property ID of the property to be edited at Wikidata | অজ্ঞাত | ঐচ্ছিক |
Non-breaking space | nbsp | Replaces the leading space with a non-breaking space
| বুলিয়ান | ঐচ্ছিক |
See also
[সম্পাদনা কৰক]- Template:EditOnWikidata, a similar template using text instead of an icon
The above documentation is transcluded from সাঁচ:EditAtWikidata/doc. (edit | history) Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages. Please add categories and interwikis to the /doc subpage. Subpages of this template. |