Jump to content
Main menu
Main menu
move to sidebar
hide
Navigation
Main page
Recent changes
Random page
Help about MediaWiki
Humanipedia
Search
Search
Appearance
Create account
Log in
Personal tools
Create account
Log in
Pages for logged out editors
learn more
Contributions
Talk
Editing
Template:Add to Wikidata/doc
Template
Discussion
English
Read
Edit source
View history
Tools
Tools
move to sidebar
hide
Actions
Read
Edit source
View history
General
What links here
Related changes
Special pages
Page information
Appearance
move to sidebar
hide
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!
{{Documentation subpage}} <!-- Please place categories where indicated at the bottom of this page and interwikis at Wikidata (see [[Wikipedia:Wikidata]]) --> Template to add "add to Wikidata" tag in Wikidata-driven infoboxes. This is used to increase Wikidata import from users. If the infobox passes a {{para|noicon}} parameter, then this link will not be displayed when <code>noicon</code> is set to <code>false</code> or <code>no</code>. The default can be set at the infobox level by coding as either: * <code><nowiki>| data100 = {{Add to Wikidata|noicon={{{noicon|true}}}}}</nowiki></code> β which displays the link in an article when <code>noicon</code> is omitted * <code><nowiki>| data100 = {{Add to Wikidata|noicon={{{noicon|false}}}}}</nowiki></code> β which suppresses the link in an article when <code>noicon</code> is omitted This functionality is the opposite to the noicon parameter of [[Module:WikidataIB]] - so if you set noicon=True and pass it to both the module and this template, you will only see this template. If you pass noicon=False, this template will be hidden while {{Add to Wikidata}} will show next to the items fetched from Wikidata in the infobox. You can specify '''qid=''' to link to a specific Wikidata ID if needed (i.e., in page drafts). == Usage == {| class="wikitable" ! scope="col" style="width:50%;" | Code ! scope="col" style="width:50%;" | Result |- | <code><nowiki>{{Add to Wikidata}}</nowiki></code> || {{Add to Wikidata}} |- | <code><nowiki>{{Add to Wikidata|noicon=true}}</nowiki></code> || {{Add to Wikidata|noicon=true}} |- | <code><nowiki>{{Add to Wikidata|noicon=yes}}</nowiki></code> || {{Add to Wikidata|noicon=yes}} |- | <code><nowiki>{{Add to Wikidata|noicon=false}}</nowiki></code> || {{Add to Wikidata|noicon=false}} |- | <code><nowiki>{{Add to Wikidata|noicon=no}}</nowiki></code> || {{Add to Wikidata|noicon=no}} |} == See also == * [[Template:Edit on Wikidata]], a similar template for general use <includeonly>{{sandbox other|| <!-- Categories below this line, please; interwikis at Wikidata --> [[Category:Wikidata templates]] }}</includeonly>
Summary:
Please note that all contributions to Humanipedia may be edited, altered, or removed by other contributors. If you do not want your writing to be edited mercilessly, 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 (see
Humanipedia:Copyrights
for details).
Do not submit copyrighted work without permission!
Cancel
Editing help
(opens in new window)
Templates used on this page:
Template:Add to Wikidata
(
edit
)
Template:Documentation subpage
(
edit
)
Template:Mbox
(
edit
)
Template:Para
(
edit
)
Module:Message box
(
edit
)
Module:WikidataIB
(
edit
)
Module:WikidataIB/nolinks
(
edit
)
Module:WikidataIB/titleformats
(
edit
)