Module:EditAtWikidata/doc: Difference between revisions

Content deleted Content added
No edit summary
 
(7 intermediate revisions by 7 users not shown)
Line 1:
{{Module rating |protected}}
{{Module rating |<!-- Values: pre-alpha • alpha • beta • release • protected -- If a rating not needed/relevant, delete this template call -->}}
<!-- Please place template categories where indicated at the bottom of this page and interwikis at Wikidata (see [[Wikipedia:Wikidata]]). -->
{{high use|1134971}}
{{Lua sidebar}}
 
Module 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.
Line 7 ⟶ 10:
 
== Usage ==
 
To always display the icon:
* <code><nowiki>{{#invoke:EditAtWikidata|showMessage}}</nowiki></code>
Line 20 ⟶ 22:
* <code><nowiki>{{#invoke:EditAtWikidata|showMessage|pid=<PropertyID>|local_parameter}}</nowiki></code>
:{{#invoke:EditAtWikidata|showMessage|pid=<PropertyID>|local_parameter}}
<includeonly>{{#ifeq:{{SUBPAGENAME}}|sandbox | |
<!-- Categories below this line, please; interwikis at Wikidata -->
 
== See also ==
}}</includeonly>
* [[Template:EditAtWikidata]]
 
<includeonly>{{Sandbox other||
<!-- CategoriesTemplate categories below this line, please; interwikis at Wikidata -->
[[Category:Wikidata modules]]
[[Category:Modules using data from Wikidata]]
}}</includeonly><noinclude>
[[Category:Module documentation pages]]
</noinclude>