User:Evad37/sandbox/Template:Edit wikidata
Appearance
< User:Evad37 | sandbox
Documentation
Sandbox: Various [e] | S2: [e] | S3: major roads Perth [e] | S4: Perth hospitals [e] | S5: Tourism in WA [e] | S6: Great Southern roads [e] | S7: PFL sources [e] |
This is not a Wikipedia article: It is an individual user's work in progress page, and may be incomplete and/or unreliable. This draft was last edited nine years ago (purge). |
Proposed usage
There are a range of templates using data from Wikidata. This template can be used in those templates to provide editors with links of where they can edit such data, which otherwise isn't obvious.
Parameters
All parameters are optional.
|page=
page name, if different to current page (e.g. a box in one article is transcluded to another article). Defaults to current page|property=
property number - the Wikidata page will scroll to this property, if it is present. Eg|property=P856
will scroll down to Official Website, which is Property:P856 in Wikidata- first unnamed parameter,
|1=
, or|mode=
defines text displayed for the link.- Default, if unspecified, is "[edit in Wikidata]"
|mode=long
gives "[edit data in Wikidata]"|mode=short
gives "[edit]"|mode=symbol
gives "[±]"
CSS classes
This template sets the following CSS classes:
editlink
,noprint
,navbar
,edit-wikidata
The first three are described at Wikipedia:Catalogue of CSS classes, while edit-wikidata
is included so that these links may styled or hidden by users with their custom CSS.
See also
[
] Compare different edit templates:- {{Ed}} — plain-style edit link surrounded by <small> tags, specifically for templates only
- {{Ed right}} — plain-style edit link surrounded by <small> tags and aligned to right of page, specifically for templates only
- {{Edit}} — plain-style edit link, applicable to all Wikipedia namespaces
- {{Edit section}} — edit link surrounded by <div> tags by default which can specify which section to edit on a page, applicable to all Wikipedia namespaces
- {{Vedit}} — plain-style edit link which edit with the Wikipedia:VisualEditor, applicable to all Wikipedia namespaces
Templates with view, talk and edit links:
- {{Navbar}} — navigation bar with configurable caption and view·talk·edit links, specifically for templates only
- {{View}} — navbar-style view·talk·edit links, specifically for templates only
- {{VTE}} & {{V}} — navbar-style V·T·E links (i.e. view·talk·edit links in short forms), specifically for templates only