Template:Infobox book: Difference between revisions
Template>Izkala (comment out Wikidata ISBN which has been error-prone, the tracking category will continue to work. when people have worked through the backlog at their own pace we can put it back) |
Template>Renamed user mou89p43twvqcvm8ut9w3 (change to opt-in for now; pending a better solution) |
||
| Line 72: | Line 72: | ||
| label15 = Genre{{#if:{{{genres|}}}|s}} | | label15 = Genre{{#if:{{{genres|}}}|s}} | ||
| data15 = {{#invoke:Wikidata|getValue|P136|{{{genres|{{{genre| | | data15 = {{#invoke:Wikidata|getValue|P136|{{{genres|{{{genre|}}}}}}}} | ||
| label16 = Set in | | label16 = Set in | ||
| Line 84: | Line 84: | ||
| label19 = {{longitem|Publication date}} | | label19 = {{longitem|Publication date}} | ||
| data19 = {{#invoke:Wikidata|getValue|P577|{{{pub_date|{{{release_date| | | data19 = {{#invoke:Wikidata|getValue|P577|{{{pub_date|{{{release_date|}}}}}}}} | ||
| label20 = {{longitem|Published in English}} | | label20 = {{longitem|Published in English}} | ||
| Line 93: | Line 93: | ||
| label22 = Pages | | label22 = Pages | ||
| data22 = {{#invoke:Wikidata|getValue|P1104|{{{pages| | | data22 = {{#invoke:Wikidata|getValue|P1104|{{{pages|}}}}} | ||
| label23 = Award{{#if:{{{awards|}}}|s}} | | label23 = Award{{#if:{{{awards|}}}|s}} | ||
| Line 102: | Line 102: | ||
| {{#if:{{{isbn|{{{ISBN|}}}}}} | | {{#if:{{{isbn|{{{ISBN|}}}}}} | ||
| {{ISBNT|1={{{isbn|{{{ISBN}}}}}}}} {{{isbn_note|{{{ISBN_note|}}}}}} | | {{ISBNT|1={{{isbn|{{{ISBN}}}}}}}} {{{isbn_note|{{{ISBN_note|}}}}}} | ||
| | | {{#ifeq:{{{isbn|{{{ISBN|}}}}}} | FETCH_WIKIDATA | {{#invoke:ISBNT|link|{{#property:P212}}}} [[Category:Pages using isbn values obtained from wikidata]] | }} | ||
}} | }} | ||
}} | }} | ||
| Line 110: | Line 110: | ||
| label32 = {{longitem|[[Dewey Decimal Classification|Dewey Decimal]]}} | | label32 = {{longitem|[[Dewey Decimal Classification|Dewey Decimal]]}} | ||
| data32 = {{#invoke:Wikidata|getValue|P1036|{{{dewey| | | data32 = {{#invoke:Wikidata|getValue|P1036|{{{dewey|}}}}} | ||
| 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:Wikidata|getValue|P1149|{{{congress| | | data33 = {{#invoke:Wikidata|getValue|P1149|{{{congress|}}}}} | ||
| label34 = Preceded by | | label34 = Preceded by | ||
| Line 152: | Line 152: | ||
| label38 = Website | | label38 = Website | ||
| data38 = {{{website|{{{homepage|{{{URL|{{#if:{{#property:P856}}|{{Url|1={{#invoke:Wikidata|getValue|P856|FETCH_WIKIDATA}} }} }} }}}}}}}}} | | data38 = {{{website|{{{homepage|{{{URL|{{#ifeq:{{{website|{{{homepage|{{{URL|}}}}}}}}} | ||
| FETCH_WIKIDATA | |||
| {{#if:{{#property:P856}}|{{Url|1={{#invoke:Wikidata|getValue|P856|FETCH_WIKIDATA}} }} }} | |||
|}}}}}}}}} | |||
| belowstyle = border-top:#aaa 1px solid;font-size:90%; | | belowstyle = border-top:#aaa 1px solid;font-size:90%; | ||
Revision as of 23:15, 16 May 2016
{{Infobox | italic title = | bodyclass = vcard | bodystyle =
| titlestyle = font-style:italic;padding-bottom:0.2em; | title =
| imagestyle = display:none | image = | caption =
| label1 = Editor | data1 =
| label2 = Author | data2 =
| label3 = Audio read by | data3 =
| label4 = Original title | data4 =
| label5 = Working title | data5 =
| label6 = Translator | data6 =
| label7 = Illustrator | data7 =
| label8 = Cover artist | data8 =
| label10 = Country | data10 =
| label11 = Language | data11 =
| label12 = Series | data12 =
| label13 =
| data13 =
| label14 = Subject | data14 =
| label15 = Genre | data15 =
| label16 = Set in | data16 =
| label17 = Published | data17 =
| label18 = Publisher | data18 =
| label19 =
| data19 =
| label20 =
| data20 =
| label21 = Media type | data21 =
| label22 = Pages | data22 =
| label23 = Award | data23 =
| label30 = ISBN | data30 =
| label31 = [[OCLC#Identifiers and linked data|OCLC]] | data31 =
| label32 =
| data32 =
| label33 = [[Library of Congress Classification|LC Class]] | data33 =
| label34 = Preceded by | data34 =
| label35 = Followed by | data35 =
| label36 =
| data36 =
| label37 = Text | data37 =
| label38 = Website | data38 = {} Lua error in Module:TNT at line 182: Missing Commons dataset I18n/Module:TNT.tab.