Plantilla:EditAtWikidata

Modifica el valor a Wikidata
Icona de documentació de mòdul Documentació de la plantilla [ mostra ] [ modifica el codi ] [ mostra l'historial ] [ refresca ]

Plantilla per mostrar una icona amb un quadre emergent d’informació: "Modifica el valor a Wikidata"

  • Icon will be linked to the Wikidata entry for the article where this is placed.
  • The link can be modified to point to a specific property in the Wikidata entry by supplying the optional named parameter |pid=.
  • This message is only displayed if a local_parameter is not supplied; i.e. when called from within a template, it can be coded not to display the icon when a local parameter is in use, which means the value from Wikidata is not used.
  • The qid of a Wikidata entry can optionally be supplied for testing outside the article (this is an expensive call).

Ús modifica

  • {{EditAtWikidata}}

Outside the article:

  • {{EditAtWikidata |qid=<Qid of article at Wikidata>}}

Inside another template:

  • {{EditAtWikidata |{{{local_parameter|}}} }}

To make the link point to the given propertyID at the Wikidata entry:

  • {{EditAtWikidata |pid=<PropertyID> |local_parameter}}

Exemple modifica

Ús:

Plantilla:EditAtWikidata{{EditAtWikidata}}

Mostra:

Plantilla:EditAtWikidata Modifica el valor a Wikidata

Sintaxi wiki:

Plantilla:EditAtWikidata <span class="penicon" data-bridge-edit-flow="single-best-value">[[Fitxer:Arbcom ru editing.svg|10px|baseline|Modifica el valor a Wikidata|link=https://www.wikidata.org/wiki/Q27038277?uselang=ca#]]</span>