Editing
Module:EditAtWikidata/doc
Jump to navigation
Jump to search
Warning:
You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in
or
create an account
, your edits will be attributed to your username, along with other benefits.
Anti-spam check. Do
not
fill this in!
{{Module rating |protected}} <!-- Please place template categories where indicated at the bottom of this page. --> {{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. * This message is only displayed if a local_parameter is not supplied, i.e. when called from a template, it can be coded not to display the message when a local parameter is in use, preventing the value form Wikidata being fetched. * The qid of a Wikidata entry can optionally be supplied for testing outside the article. == Usage == To always display the icon: * <code><nowiki>{{#invoke:EditAtWikidata|showMessage}}</nowiki></code> :{{#invoke:EditAtWikidata|showMessage}} To display the icon depending on a local parameter not existing: * <code><nowiki>{{#invoke:EditAtWikidata|showMessage|local_parameter}}</nowiki></code> :{{#invoke:EditAtWikidata|showMessage|local_parameter}} To test the functionality outside of an article: * <code><nowiki>{{#invoke:EditAtWikidata|showMessage|qid=<ArticleID>|local_parameter}}</nowiki></code> :{{#invoke:EditAtWikidata|showMessage|qid=<ArticleID>|local_parameter}} To make the link point to the given property at the Wikidata entry: * <code><nowiki>{{#invoke:EditAtWikidata|showMessage|pid=<PropertyID>|local_parameter}}</nowiki></code> :{{#invoke:EditAtWikidata|showMessage|pid=<PropertyID>|local_parameter}} == See also == * [[Template:EditAtWikidata]] <includeonly>{{Sandbox other|| <!-- Template categories below this line, please --> [[Category:Wikidata modules]] [[Category:Modules using data from Wikidata]] }}</includeonly><noinclude> [[Category:Module documentation pages]] </noinclude>
Summary:
Please note that all contributions to Ikwipedia are considered to be released under the Creative Commons Attribution-ShareAlike (see
Ikwipedia:Copyrights
for details). If you do not want your writing to be edited mercilessly and redistributed at will, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource.
Do not submit copyrighted work without permission!
Cancel
Editing help
(opens in new window)
Templates used on this page:
Template:Endplainlist
(
edit
)
Template:High-use
(
edit
)
Template:High use
(
edit
)
Template:Lua sidebar
(
edit
)
Template:Lua sidebar/styles.css
(
edit
)
Template:Module rating
(
edit
)
Template:Plainlist
(
edit
)
Template:Plainlist/styles.css
(
edit
)
Template:Sidebar
(
edit
)
Module:Arguments
(
edit
)
Module:EditAtWikidata
(
edit
)
Module:High-use
(
edit
)
Module:Message box
(
edit
)
Module:Message box/configuration
(
edit
)
Module:Message box/ombox.css
(
edit
)
Module:Redirect
(
edit
)
Module:Sidebar
(
edit
)
Module:Sidebar/configuration
(
edit
)
Module:Sidebar/styles.css
(
edit
)
Module:Transclusion count
(
edit
)
Module:Transclusion count/data/E
(
edit
)
Module:Yesno
(
edit
)
Navigation menu
Personal tools
Not logged in
Talk
Contributions
Create account
Log in
Namespaces
Module
Discussion
English
Views
Read
Edit source
View history
More
Move
Search
Navigation
Main page
Recent changes
Random page
Help about MediaWiki
Tools
What links here
Related changes
Special pages
Page information