Template:Infobox book/wikidata: Difference between revisions

From IDU Wiki
Jump to navigation Jump to search
en>Jonesey95
Fix Linter errors (noincludes on this page only, to get the page off of the Linter report)
 
No edit summary
 
(One intermediate revision by the same user not shown)
Line 11: Line 11:
| caption      = {{{caption|}}}
| caption      = {{{caption|}}}
| label1      = Author
| label1      = Author
| data1        = {{#invoke:Wikidata|getValue|P50|{{{author|FETCH_WIKIDATA}}}}}
| data1        = {{{author|}}}
| label2      = Editor
| label2      = Editor
| data2        = {{#invoke:Wikidata|getValue|P98|{{{editor|FETCH_WIKIDATA}}}}}
| data2        = {{{editor|}}}
| label3      = Original title
| label3      = Original title
| data3        = {{#if:{{{title_orig|}}}|{{lang|{{{orig_lang_code|}}}|''{{{title_orig}}}''}}}}
| data3        = {{#if:{{{title_orig|}}}|{{lang|{{{orig_lang_code|}}}|''{{{title_orig}}}''}}}}
| label4      = Working title
| label4      = Working title
| data4        = {{#if:{{#property:p1638}}|<span{{#if:{{{italic title|no}}}|| style='font-style:italic'}}>{{#invoke:Wikidata|getValue|P1638|{{{title_working|FETCH_WIKIDATA}}}}}</span>}}
| data4        = {{#if:{{#property:p1638}}|<span{{#if:{{{italic title|no}}}|| style='font-style:italic'}}>{{{title_working|}}}</span>}}
| label5      = Translator
| label5      = Translator
| data5        = {{#invoke:Wikidata|getValue|P655|{{{translator|FETCH_WIKIDATA}}}}}
| data5        = {{{translator|}}}
| label6      = Illustrator
| label6      = Illustrator
| data6        = {{#invoke:Wikidata|getValue|P110|{{{illustrator|FETCH_WIKIDATA}}}}}
| data6        = {{{illustrator|}}}
| label7      = Cover artist
| label7      = Cover artist
| data7        = {{#invoke:Wikidata|getValue|P736|{{{cover_artist|FETCH_WIKIDATA}}}}}
| data7        = {{{cover_artist|}}}
| label8      = Country
| label8      = Country
| data8        = {{#invoke:Wikidata|getValue|P495|{{{country|FETCH_WIKIDATA}}}}}
| data8        = {{{country|}}}
| label9      = Language
| label9      = Language
| data9        = {{#invoke:Wikidata|getValue|P407|{{{language|FETCH_WIKIDATA}}}}}
| data9        = {{{language|}}}
| label10      = Series
| label10      = Series
| data10      = {{#invoke:Wikidata|getValue|P179|{{{series|FETCH_WIKIDATA}}}}}
| data10      = {{{series|}}}
| label11      = Subject
| label11      = Subject
| data11      = {{#invoke:Wikidata|getValue|P921|{{{subject|FETCH_WIKIDATA}}}}}
| data11      = {{{subject|}}}
| label12      = Genre
| label12      = Genre
| data12      = {{#invoke:Wikidata|getValue|P136|{{{genre|FETCH_WIKIDATA}}}}}
| data12      = {{{genre|}}}
| label13      = Set in
| label13      = Set in
| data13      = {{{set_in|{{#invoke:Wikidata|getValue|P2408|FETCH_WIKIDATA}} {{#invoke:Wikidata|getValue|P1434|FETCH_WIKIDATA}} {{#invoke:Wikidata|getValue|P840|FETCH_WIKIDATA}}}}}
| data13      = {{{set_in|}}
| label14      = Published
| label14      = Published
| data14      = {{date| {{{published| {{#property:p577}}}}}|{{{dateformat|dmy}}} }}
| data14      = {{date| {{{published| }}}|{{{dateformat|dmy}}} }}
| label15      = Publisher
| label15      = Publisher
| data15      = {{#invoke:Wikidata|getValue|P123|{{{publisher|FETCH_WIKIDATA}}}}}
| data15      = {{{publisher|}}}
| label16      = Media type
| label16      = Media type
| data16      = {{#invoke:Wikidata|getValue|P186|{{{media_type|FETCH_WIKIDATA}}}}}
| data16      = {{{media_type|}}}
| label17      = Pages
| label17      = Pages
| data17      = {{#invoke:Wikidata|getValue|P1104|{{{pages|FETCH_WIKIDATA}}}}}
| data17      = {{{pages|}}}
| label18      = Awards
| label18      = Awards
| data18       = {{#if:{{#property:p166}}|{{plainlist|<ul>{{#invoke:String|replace|{{#invoke:Wikidata|getValue|P166|{{{awards|FETCH_WIKIDATA}}}}}|,|<li>%1</li>|plain=false}}</ul>}}}}
| data18       = {{#if:{{#property:p166}}|{{plainlist|<ul>{{#invoke:String|replace|{{{awards|}}}|,|<li>%1</li>|plain=false}}</ul>}}}}
| label19      = {{#if:{{#property:p957}}{{#property:p212}}|[[International Standard Book Number|{{abbr|ISBN|International Standard Book Number}}]]|<noinclude>ISBN</noinclude>}}
| label19      = {{#if:{{#property:p957}}{{#property:p212}}|[[International Standard Book Number|{{abbr|ISBN|International Standard Book Number}}]]|<noinclude>ISBN</noinclude>}}
| data19      = {{plainlist|<noinclude>ISBN|</noinclude>
| data19      = {{plainlist|<noinclude>ISBN|</noinclude>
Line 54: Line 54:
| data20      = {{#if:{{#property:p243}}|[http://worldcat.org/oclc/{{urlencode:{{#property:p243}}}} {{#property:p243}}]}}
| data20      = {{#if:{{#property:p243}}|[http://worldcat.org/oclc/{{urlencode:{{#property:p243}}}} {{#property:p243}}]}}
| label21      = {{longitem|[[Dewey Decimal Classification|Dewey Decimal]]<br />code}}
| label21      = {{longitem|[[Dewey Decimal Classification|Dewey Decimal]]<br />code}}
| data21      = {{#invoke:Wikidata|getValue|P1036|{{{dewey|FETCH_WIKIDATA}}}}}
| data21      = {{{dewey|}}}
| label22      = [[Library of Congress Classification|{{abbr|LCC|Library of Congress Classification}}]]
| label22      = [[Library of Congress Classification|{{abbr|LCC|Library of Congress Classification}}]]
| data22      = {{#invoke:Wikidata|getValue|P1149|{{{congress|FETCH_WIKIDATA}}}}}
| data22      = {{{congress|}}}
| label23      = Preceded by
| label23      = Preceded by
| data23      = {{#invoke:Wikidata|getValue|P155|{{{preceded_by|FETCH_WIKIDATA}}}}}
| data23      = {{{preceded_by|}}}
| label24      = Followed by
| label24      = Followed by
| data24      = {{#invoke:Wikidata|getValue|P156|{{{followed_by|FETCH_WIKIDATA}}}}}
| data24      = {{{followed_by|}}}
| belowstyle  = font-style:italic;text-align:right
| belowstyle  = font-style:italic;text-align:right
| below        = More on [[d:{{{wikidata| {{#invoke:Wikidata|pageId}} }}}|Wikidata]]
| below        = More on [[d:{{{wikidata| }}}|Wikidata]]
}}
}}



Latest revision as of 15:17, 4 June 2023

{{#property:p1476}}
{{#property:p1680}}
{{#property:p18}}
Working title
Published7 November
ISBN
ISBN
OCLC{{#property:p243}}
More on Wikidata