ഫലകം:EditAtWikidata
ദൃശ്യരൂപം
[തിരുത്തുക] [ ]
ഫലകത്തിന്റെ വിവരണം

![]() | This template is used on approximately 8,41,000 pages, or roughly 155% of all pages. To avoid major disruption and server load, any changes should be tested in the template's /sandbox or /testcases subpages, or in your own user subpage. The tested changes can be added to this page in a single edit. Consider discussing changes on the talk page before implementing them. |
Related pages |
---|
![]() | This template uses Lua: |
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 (or part thereof) in the Wikidata entry by supplying the optional named parameter
|pid=
. - This message is only displayed if parameter
|1=
} is empty; i.e. when called from within a template, it can be coded not to display the icon, which means the value from Wikidata is not used. - The Wikidata ID 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
[തിരുത്തുക]Wikitext | Output | |
---|---|---|
With no parameters: | {{EditAtWikidata}}
| |
Linking to a different Wikidata item: | {{EditAtWikidata|qid=Q42}}
| |
Linking to a specific property in an item: | {{EditAtWikidata|qid=Q42|pid=P735}}
| |
Suppressing the edit link: | {{EditAtWikidata|value}}
|
TemplateData
[തിരുത്തുക]Link to an item on Wikidata, with a tooltip such as "Edit this at Wikidata".
ചരം | വിവരണം | തരം | സ്ഥിതി | |
---|---|---|---|---|
Property or claim ID | pid | ID of the property to be edited at Wikidata. Can also be a 'claim ID', to link to a particular value within a property (when there are multiple).
| പദം | നിർദ്ദേശിക്കുന്നവ |
Non-breaking space | nbsp | Replaces the leading space with a non-breaking space
| ബൂളിയൻ | ഐച്ഛികം |
Hide the edit-at-Wikidata link? | 1 | To prevent display of the Wikidata link. Useful for templates that add local overrides. | ബൂളിയൻ | ഐച്ഛികം |
Item ID | qid | ID (Q-number) of the item to be edited at Wikidata.
| പദം | ഐച്ഛികം |
See also
[തിരുത്തുക]- Template:EditOnWikidata, a similar template using text instead of an icon
മുകളിൽ കാണുന്ന വിവരണം ഫലകം:EditAtWikidata/doc എന്ന ഉപതാളിൽ നിന്ന് ഉൾപ്പെടുത്തിയിട്ടുള്ളതാണ്. (തിരുത്തുക | നാൾവഴി) താങ്കൾക്ക് പരീക്ഷണങ്ങൾ ഫലകത്തിന്റെ എഴുത്തുകളരി (നിർമ്മിക്കുക) താളിലോ testcases (നിർമ്മിക്കുക) താളിലോ നടത്താവുന്നതാണ്. ദയവായി വർഗ്ഗങ്ങളും ബഹുഭാഷാകണ്ണികളും /വിവരണം ഉപതാളിൽ മാത്രം ഇടുക. ഈ ഫലകത്തിന്റെ ഉപതാളുകൾ. |