Difference between revisions of "Template:Infobox artwork/wikidata"
Jump to navigation
Jump to search
imported>Primefac m (Protected "Template:Infobox artwork/wikidata": semi-protection of high-usage templates to combat systematic vandalism ([Edit=Require autoconfirmed or confirmed access] (indefinite) [Move=Require autoconfirmed or confirmed access] (i...) |
imported>Mike Peel (trim nosave=1 from the coordinates) |
||
| Line 152: | Line 152: | ||
| label16 = [[Geographic coordinate system|Coordinates]] | | label16 = [[Geographic coordinate system|Coordinates]] | ||
| − | | data16 = {{#if:{{#invoke:WikidataIB|checkBlacklist|name=coords|suppressfields={{{suppressfields|}}}}}|{{{coords|{{{coordinates|{{#if:{{#Property:P625}} | {{Coord | + | | data16 = {{#if:{{#invoke:WikidataIB|checkBlacklist|name=coords|suppressfields={{{suppressfields|}}}}}|{{{coords|{{{coordinates|{{#if:{{#Property:P625}} | {{Coord|display=inline,title|format=dms}}{{#ifeq:{{{refs|no}}}|yes|{{wikidata|references|normal+|{{{qid|}}}|P625}} }} }}}}}}}}}} |
| label17 = Owner | | label17 = Owner | ||
Revision as of 21:40, 17 August 2018
| Script error: No such module "Wikidata". | |
|---|---|
| Script error: No such module "Wikidata". | |
| Year | Template:Wikidata |
| Medium | Script error: No such module "If empty". |
| Dimensions | × × × |
| Location | Template:Wikidata location |
| Coordinates | Lua error in Module:Coordinates at line 611: attempt to index field 'wikibase' (a nil value). |
| Identifiers | Template:Wikidata ID |
| Website | Template:Url |
| This template uses Lua: |
Usage
Template:Parameter names example Just add:
{{Infobox artwork/wikidata}}
to the top of an article, and data will be automatically included from Wikidata where they are available. These values can be overridden by passing values to the relevant parameters in the article (if need be), e.g.:
{{Infobox artwork/wikidata
| name =
}}
If you want to not show some properties, you can do so by giving the parameter name to the suppressfields parameter like this:
{{Infobox artwork/wikidata
| suppressfields = subject; movement
}}
Many parameters need references in Wikidata before they will be displayed here.
Parameters
| The above documentation is transcluded from Template:Infobox artwork/wikidata/doc. (edit | history) Editors can experiment in this template's sandbox (edit | diff) and testcases (create) pages. Please add categories to the /doc subpage. Subpages of this template. |