Template:Infobox book: Difference between revisions

From Vigyanwiki
Template>Renamed user mou89p43twvqcvm8ut9w3
(change to opt-in for now; pending a better solution)
Template>Renamed user mou89p43twvqcvm8ut9w3
m (Reverted edits by BU Rob13 (talk) to last version by Izkala)
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|FETCH_WIKIDATA}}}}}}}}


| 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|{{#if:{{{published|}}}||FETCH_WIKIDATA}}}}}}}}}}


| 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|FETCH_WIKIDATA}}}}}


| 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]] | }}
               | <!--{{#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|FETCH_WIKIDATA}}}}}


| label33 = [[Library of Congress Classification|{{abbr|LC&nbsp;Class|Library of Congress Classification}}]]
| label33 = [[Library of Congress Classification|{{abbr|LC&nbsp;Class|Library of Congress Classification}}]]
|  data33 = {{#invoke:Wikidata|getValue|P1149|{{{congress|}}}}}
|  data33 = {{#invoke:Wikidata|getValue|P1149|{{{congress|FETCH_WIKIDATA}}}}}


| label34 = Preceded&nbsp;by
| label34 = Preceded&nbsp;by
Line 152: Line 152:


| label38  = Website
| label38  = Website
| data38    = {{{website|{{{homepage|{{{URL|{{#ifeq:{{{website|{{{homepage|{{{URL|}}}}}}}}}
| data38    = {{{website|{{{homepage|{{{URL|{{#if:{{#property:P856}}|{{Url|1={{#invoke:Wikidata|getValue|P856|FETCH_WIKIDATA}} }} }} }}}}}}}}}
    | 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:16, 16 May 2016

Lua error in Module:TNT at line 182: Missing Commons dataset I18n/Module:TNT.tab.