Template:EditOnWikidata/doc
< Template:EditOnWikidata
Jump to navigation
Jump to search
Revision as of 00:42, 28 June 2017 by imported>Mike Peel (+ documentation for qid)
| 40px | This is a documentation subpage for Template:EditOnWikidata. It contains usage information, categories and other content that is not part of the original template page. |
Template to add "edit on Wikidata" tag in Wikidata-driven infoboxes
If the infobox passes a |noicon= parameter, then this link will not be displayed when noicon is set to false or no.
The default can be set at the infobox level by coding as either:
| data100 = {{EditOnWikidata|noicon={{{noicon|true}}}}}→ which displays the link in an article whennoiconis omitted| data100 = {{EditOnWikidata|noicon={{{noicon|false}}}}}→ which suppresses the link in an article whennoiconis omitted
You can specify qid= to link to a specific Wikidata ID if needed (i.e., in page drafts).
Usage
| Code | Result |
|---|---|
{{EditOnWikidata}} |
|
{{EditOnWikidata|noicon=true}} |
|
{{EditOnWikidata|noicon=yes}} |
|
{{EditOnWikidata|noicon=false}} |
|
{{EditOnWikidata|noicon=no}} |