Template:Tool2
Jump to navigation
Jump to search
Uses Lua: |
Usage
[edit]Template for Tools on [[Wikidata:Tools]]
Parameter | Description | Type | Status | |
---|---|---|---|---|
Link to the Tool | link | no description | URL | required |
Name | name | no description | String | optional |
Wikidata Item | item | no description
| Page name | optional |
Screenshot | screenshot | no description | File | optional |
Screenshot Caption | screenshot_caption | no description | String | optional |
Features | features | no description | Content | optional |
Usage Instructions | howtouse | Instructions how to use the tool | Content | optional |
Author | author | no description | User | suggested |
Second Author | author2 | if there is any | User | optional |
Author Separator | author2_sp | Separator between first and second authors
| String | optional |
Other Versions | other_versions | Alternative versions (forks, etc.) of the tool | Content | optional |
Tooltranslate number | tooltranslate | Identifier of the tool on Tooltranslate if the tool is registered there, for translation (eg. 10) | Number | optional |
Example
[edit]Classification.js (Q117857341)
Information about the classes to which the item belongs (instance of (P31)), and/or all the parent classes of a class (subclass of (P279)).
- Allows to visualise the parent classes tree thanks to the query service, allows to find the path between a class and one of its parent — useful if it seems that it’s an incorrect parent class, for example if all knives happens to be abstract object according to Wikidata)
- Provides the a link to report incorrect relationships to WikiProject Ontology for discussion with community on how to fix this.
- Detects loops in the superclass tree
- Detects if a class if a subclass is a subclass of disjoint classes, or if an instance is an instance of several classes.
Please write the following line into your common.js:
Translate
by TomT0m (source)mw.loader.load( '//www.wikidata.org/w/index.php?title=User:TomT0m/classification.js&action=raw&ctype=text/javascript' ); // [[User:TomT0m/classification.js]]
See also
[edit]en
The above documentation is transcluded from Template:Tool2/doc (edit | history). Editors can experiment in this template's sandbox (create | mirror) and testcases (create) page. Please add categories to the /doc subpage. Subpages of this template. |