Difference between revisions of "Template:Infobox book/Wikidata/Filtered"
Jump to navigation
Jump to search
imported>Zyxw (removed code for adding Category:Pages using deprecated image syntax since that is now handled by Module:InfoboxImage) |
imported>Pppery (Update for current Module:WikidataIB) |
||
| Line 35: | Line 35: | ||
| label2 = Author{{#if:{{{authors|}}}|s}} | | label2 = Author{{#if:{{{authors|}}}|s}} | ||
| − | | data2 = {{#invoke:WikidataIB | | + | | data2 = {{#invoke:WikidataIB |dValue |P50 |name=author |fetchwikidata={{{fetchwikidata|}}} |suppressfields={{{suppressfields|}}} |{{{authors|{{{author|}}}}}} |qid={{{qid|}}} }} |
| label3 = Audio read by | | label3 = Audio read by | ||
| Line 71: | Line 71: | ||
| label15 = Genre{{#if:{{{genres|}}}|s}} | | label15 = Genre{{#if:{{{genres|}}}|s}} | ||
| − | | data15 = {{#invoke:WikidataIB | | + | | data15 = {{#invoke:WikidataIB |getValue |P136 |name=genre |fetchwikidata={{{fetchwikidata|}}} |suppressfields={{{suppressfields|}}} |{{{genres|{{{genre|}}}}}} |qid={{{qid|}}} }} |
| label16 = Set in | | label16 = Set in | ||
| Line 83: | Line 83: | ||
| label19 = {{longitem|Publication date}} | | label19 = {{longitem|Publication date}} | ||
| − | | data19 = {{#invoke:WikidataIB | | + | | data19 = {{#invoke:WikidataIB |getValue |P577 |name=pub_date |fetchwikidata={{{fetchwikidata|}}} |suppressfields={{{suppressfields|}}} |{{{pub_date|{{{release_date|}}}}}} |qid={{{qid|}}} }} |
| label20 = {{longitem|Published in English}} | | label20 = {{longitem|Published in English}} | ||
| Line 92: | Line 92: | ||
| label22 = Pages | | label22 = Pages | ||
| − | | data22 = {{#invoke:WikidataIB | | + | | data22 = {{#invoke:WikidataIB |getValue |P1104 |name=pages |fetchwikidata={{{fetchwikidata|}}} |suppressfields={{{suppressfields|}}} |{{{pages|}}} |qid={{{qid|}}} }} |
| label23 = Award{{#if:{{{awards|}}}|s}} | | label23 = Award{{#if:{{{awards|}}}|s}} | ||
| Line 109: | Line 109: | ||
| label32 = {{longitem|[[Dewey Decimal Classification|Dewey Decimal]]}} | | label32 = {{longitem|[[Dewey Decimal Classification|Dewey Decimal]]}} | ||
| − | | data32 = {{#invoke:WikidataIB | | + | | data32 = {{#invoke:WikidataIB |getValue |P1036 |name=dewey |fetchwikidata={{{fetchwikidata|}}} |suppressfields={{{suppressfields|}}} |{{{dewey|}}} |qid={{{qid|}}} }} |
| label33 = [[Library of Congress Classification|{{abbr|LC Class|Library of Congress Classification}}]] | | label33 = [[Library of Congress Classification|{{abbr|LC Class|Library of Congress Classification}}]] | ||
| − | | data33 = {{#invoke:WikidataIB | | + | | data33 = {{#invoke:WikidataIB |getValue |P1149 |name=congress |fetchwikidata={{{fetchwikidata|}}} |suppressfields={{{suppressfields|}}} |{{{congress|}}} |qid={{{qid|}}} }} |
| label34 = Preceded by | | label34 = Preceded by | ||
| Line 151: | Line 151: | ||
| label38 = Website | | label38 = Website | ||
| − | | data38 = {{#invoke:WikidataIB | | + | | data38 = {{#invoke:WikidataIB |getValue |P856 |name=pages |fetchwikidata={{{fetchwikidata|}}} |suppressfields={{{suppressfields|}}} |{{{website|{{{homepage|{{{URL|}}}}}}}}} |qid={{{qid|}}} }} |
| belowstyle = border-top:#aaa 1px solid;font-size:90%; | | belowstyle = border-top:#aaa 1px solid;font-size:90%; | ||
Revision as of 21:25, 16 April 2018
| Author | Script error: The function "dValue" does not exist. |
|---|
| This template uses Lua: |
Usage
Version of Template:Infobox book/Wikidata/Sandbox that only returns values that are sourced to something other than a Wikipedia.
See Template:Infobox book/Wikidata/Sandbox/doc for documentation of usage.
Tracking categories
- Category:Pages using deprecated image syntax (1)
- Category:Books with missing cover (0)
- Category:Pages using isbn values obtained from wikidata (deleted, but exists in template)
- Category:Articles that link to foreign-language Wikisources (0)
- Category:Articles that link to Wikisource (1)
- Category:Infobox book using deprecated parameter (not created, but exists in template)
- Category:Pages using infobox book with unknown parameters (0)
| The above documentation is transcluded from Template:Infobox book/Wikidata/Filtered/doc. (edit | history) Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages. Please add categories to the /doc subpage. Subpages of this template. |