Template:Infobox book: Difference between revisions
From Vigyanwiki
Template>Frietjes (using underscores since all other parameters use underscores) |
Template>DePiep (Add parameters |audio read by= and |set in=. See Template_talk:Infobox_book#Read_by_parameter) |
||
| Line 4: | Line 4: | ||
| bodystyle = {{#if:{{{infoboxwidth|{{{width|}}}}}} |width:{{{infoboxwidth|{{{width}}}}}} }} | | bodystyle = {{#if:{{{infoboxwidth|{{{width|}}}}}} |width:{{{infoboxwidth|{{{width}}}}}} }} | ||
<!---------------Title-----------------> | <!--------------- Title -----------------> | ||
| titlestyle = font-style:italic;padding-bottom:0.2em<!--(so title doesn't touch border)-->; | | titlestyle = font-style:italic;padding-bottom:0.2em<!--(so title doesn't touch border)-->; | ||
| title = <includeonly><!-- | | title = <includeonly><!-- | ||
-->{{{name|{{PAGENAME}}}}} <!-- | -->{{{name|{{PAGENAME}}}}}<!-- | ||
--><span class="Z3988" | --><span class="Z3988" | ||
title="ctx_ver=Z39.88-2004&rft_val_fmt={{urlencode:info:ofi/fmt:kev:mtx:book}}&rft.genre=book&rft.btitle={{urlencode:{{{name|}}}}}<!-- | title="ctx_ver=Z39.88-2004&rft_val_fmt={{urlencode:info:ofi/fmt:kev:mtx:book}}&rft.genre=book&rft.btitle={{urlencode:{{{name|}}}}}<!-- | ||
| Line 22: | Line 22: | ||
--></includeonly> | --></includeonly> | ||
<!---------------Image-----------------> | <!--------------- Image -----------------> | ||
| image = {{#if:{{{image|}}} <!-- | | image = {{#if:{{{image|}}} <!-- | ||
then:-->| {{#ifeq:{{str left|{{{image|}}}|1}}|[ |[[Category:Infobox book image param needs updating]]}}<!-- | then:-->| {{#ifeq:{{str left|{{{image|}}}|1}}|[ |[[Category:Infobox book image param needs updating]]}}<!-- | ||
| Line 30: | Line 30: | ||
| caption = {{{caption|{{{image_caption|}}}}}} | | caption = {{{caption|{{{image_caption|}}}}}} | ||
<!---------------Data------------------> | <!--------------- Data (creative input) ------------------> | ||
| label1 | | label1 = Editor{{#if:{{{editors|}}}|s}} | ||
| data1 | | data1 = {{{editors|{{{editor|}}}}}} | ||
| label2 | | label2 = Author{{#if:{{{authors|}}}|s}} | ||
| data2 | | data2 = {{{authors|{{{author|}}}}}} | ||
| label3 | | label3 = Audio read by | ||
| data3 | | data3 = {{{audio read by|}}} | ||
| label4 | | label4 = Original title | ||
| data4 | | data4 = {{#if:{{{title_orig|}}} |{{lang|{{{orig_lang_code|}}} |''{{{title_orig}}}''}} }} | ||
| label5 | | label5 = Working title | ||
| data5 | | data5 = {{#if:{{{title_working|}}} |''{{{title_working}}}''}} | ||
| label6 | | label6 = Translator{{#if:{{{translators|}}}|s}} | ||
| data6 | | data6 = {{{translators|{{{translator|}}}}}} | ||
| label7 | | label7 = Illustrator{{#if:{{{illustrators|}}}|s}} | ||
| data7 | | data7 = {{{illustrators|{{{illustrator|}}}}}} | ||
| label8 | | label8 = Cover artist | ||
| data8 | | data8 = {{{cover_artist|}}} | ||
| | <!--------------- Data (factual) ------------------> | ||
| | | label10 = Country | ||
| data10 = {{{country|}}} | |||
| | | label11 = Language | ||
| | | data11 = {{{language|}}} | ||
| | | label12 = Series | ||
| | | data12 = {{{series|}}} | ||
| | | label13 = Subject{{#if:{{{subjects|}}}|s}} | ||
| | | data13 = {{{subjects|{{{subject|}}}}}} | ||
| | | label14 = Genre{{#if:{{{genres|}}}|s}} | ||
| | | data14 = {{{genres|{{{genre|}}}}}} | ||
| | | label15 = Set in | ||
| | | data15 = {{{set in|}}} | ||
| | | label16 = Published | ||
| | | data16 = {{{published|}}} | ||
| | | label17 = Publisher | ||
| | | data17 = {{{publisher|}}}{{#if:{{{publisher2|}}} |, {{{publisher2}}} }} | ||
| | | label18 = {{longitem|Publication date}} | ||
| | | data18 = {{{pub_date|{{{release_date|}}}}}} | ||
| | | label19 = {{longitem|Published in English}} | ||
| | | data19 = {{{english_pub_date|{{{english_release_date|}}}}}} | ||
| | | label20 = Media type | ||
| | | data20 = {{{media_type|}}} | ||
| | | label21 = Pages | ||
| | | data21 = {{{pages|}}} | ||
| | | label22 = Award{{#if:{{{awards|}}}|s}} | ||
| | | data22 = {{{awards|{{{award|}}}}}} | ||
<!--------------- Data (identifiers) ------------------> | |||
| label30 = [[International Standard Book Number|ISBN]] | |||
| data30 = {{#if:{{{isbn|{{{ISBN|}}}}}} | |||
| {{#iferror:{{#expr:{{{isbn|{{{ISBN}}}}}}}} |{{{isbn|{{{ISBN}}}}}} | | {{#iferror:{{#expr:{{{isbn|{{{ISBN}}}}}}}} |{{{isbn|{{{ISBN}}}}}} | ||
| [[Special:Booksources/{{{isbn|{{{ISBN}}}}}}|{{{isbn|{{{ISBN}}}}}}]] | | [[Special:Booksources/{{{isbn|{{{ISBN}}}}}}|{{{isbn|{{{ISBN}}}}}}]] | ||
}} {{{isbn_note|{{{ISBN_note|}}}}}} }} | }} {{{isbn_note|{{{ISBN_note|}}}}}} }} | ||
| | | label31 = [[OCLC#Control Numbers|{{abbr|OCLC|Online Computer Library Center number}}]] | ||
| | | data31 = {{#if:{{{oclc|}}} |[//www.worldcat.org/oclc/{{urlencode:{{{oclc}}}}} {{{oclc}}}]}} | ||
| | | label32 = {{longitem|[[Dewey Decimal Classification|Dewey Decimal]]}} | ||
| | | data32 = {{{dewey|}}} | ||
| | | label33 = [[Library of Congress Classification|{{abbr|LC Class|Library of Congress Classification}}]] | ||
| | | data33 = {{{congress|}}} | ||
| | | label34 = Preceded by | ||
| | | data34 = {{#if:{{{preceded_by|}}} |''{{{preceded_by|}}}'' | ||
| {{#if:{{{preceded_by_quotation_marks|}}} |"{{{preceded_by_quotation_marks|}}}"}} | | {{#if:{{{preceded_by_quotation_marks|}}} |"{{{preceded_by_quotation_marks|}}}"}} | ||
}} | }} | ||
| | | label35 = Followed by | ||
| | | data35 = {{#if:{{{followed_by|}}} |''{{{followed_by|}}}'' | ||
| {{#if:{{{followed_by_quotation_marks|}}} |"{{{followed_by_quotation_marks|}}}"}} | | {{#if:{{{followed_by_quotation_marks|}}} |"{{{followed_by_quotation_marks|}}}"}} | ||
}} | }} | ||
| | | label36 = {{longitem|Original text}} | ||
| | | data36 = {{#if:{{{native_wikisource|}}} <!-- | ||
then:-->| ''{{lang |{{{orig_lang_code|}}} | then:-->| ''{{lang |{{{orig_lang_code|}}} | ||
| [[s:{{#if:{{{orig_lang_code|}}}|{{{orig_lang_code|}}}:}}{{{native_wikisource|}}}|{{{title_orig|{{{name|{{PAGENAME}}}}}}}}]]<!-- | | [[s:{{#if:{{{orig_lang_code|}}}|{{{orig_lang_code|}}}:}}{{{native_wikisource|}}}|{{{title_orig|{{{name|{{PAGENAME}}}}}}}}]]<!-- | ||
| Line 132: | Line 137: | ||
}} }} | }} }} | ||
| | | label37 = {{#if:{{{native_wikisource|}}} |Translation |{{#if:{{{native_external_url|}}}|Translation|Text}} }} | ||
| | | data37 = {{#if:{{{wikisource|}}} <!-- | ||
then:-->| ''[[s:{{{wikisource|}}}|{{{name|{{PAGENAME}}}}}]]'' at <!-- | then:-->| ''[[s:{{{wikisource|}}}|{{{name|{{PAGENAME}}}}}]]'' at <!-- | ||
-->{{#if:{{{native_wikisource|}}} |Wikisource |[[Wikisource]]}}<!-- | -->{{#if:{{{native_wikisource|}}} |Wikisource |[[Wikisource]]}}<!-- | ||
Revision as of 01:37, 15 November 2014
Lua error in Module:TNT at line 182: Missing Commons dataset I18n/Module:TNT.tab.