Template:Infobox book: Difference between revisions

From Vigyanwiki
Template>DePiep
(Undo edits wrt subtitle. Without consensus and probably not an answer to the question. See Template talk:Infobox‎‎#subtitle)
Template>Frietjes
(renumber for pending addition of a new parameter, no actual change in functionality, but will make the diffs easier to read if they are in two stages)
Line 37: Line 37:
|  data2  = {{{authors|{{{author|}}}}}}
|  data2  = {{{authors|{{{author|}}}}}}


| label3 = Original title
| label4 = Original title
data3 = {{#if:{{{title_orig|}}} |{{lang|{{{orig_lang_code|}}} |''{{{title_orig}}}''}} }}
data4 = {{#if:{{{title_orig|}}} |{{lang|{{{orig_lang_code|}}} |''{{{title_orig}}}''}} }}


| label4 = Working title
| label5 = Working title
data4 = {{#if:{{{title_working|}}} |''{{{title_working}}}''}}
data5 = {{#if:{{{title_working|}}} |''{{{title_working}}}''}}


| label5 = Translator{{#if:{{{translators|}}}|s}}
| label6 = Translator{{#if:{{{translators|}}}|s}}
data5 = {{{translators|{{{translator|}}}}}}
data6 = {{{translators|{{{translator|}}}}}}


| label6 = Illustrator{{#if:{{{illustrators|}}}|s}}
| label7 = Illustrator{{#if:{{{illustrators|}}}|s}}
data6 = {{{illustrators|{{{illustrator|}}}}}}
data7 = {{{illustrators|{{{illustrator|}}}}}}


| label7 = Cover artist
| label8 = Cover artist
data7 = {{{cover_artist|}}}
data8 = {{{cover_artist|}}}


| label8 = Country
| label9 = Country
data8 = {{{country|}}}
data9 = {{{country|}}}


| label9  = Language
| label10 = Language
data9  = {{{language|}}}
data10 = {{{language|}}}


| label10 = Series
| label11 = Series
data10 = {{{series|}}}
data11 = {{{series|}}}


| label11 = Subject{{#if:{{{subjects|}}}|s}}
| label12 = Subject{{#if:{{{subjects|}}}|s}}
data11 = {{{subjects|{{{subject|}}}}}}
data12 = {{{subjects|{{{subject|}}}}}}


| label12 = Genre{{#if:{{{genres|}}}|s}}
| label13 = Genre{{#if:{{{genres|}}}|s}}
data12 = {{{genres|{{{genre|}}}}}}
data13 = {{{genres|{{{genre|}}}}}}


| label13 = Published
| label14 = Published
data13 = {{{published|}}}
data14 = {{{published|}}}


| label14 = Publisher
| label15 = Publisher
data14 = {{{publisher|}}}{{#if:{{{publisher2|}}} |, {{{publisher2}}} }}
data15 = {{{publisher|}}}{{#if:{{{publisher2|}}} |, {{{publisher2}}} }}


| label15 = {{longitem|Publication date}}
| label16 = {{longitem|Publication date}}
data15 = {{{pub_date|{{{release_date|}}}}}}
data16 = {{{pub_date|{{{release_date|}}}}}}


| label16 = {{longitem|Published in English}}
| label17 = {{longitem|Published in English}}
data16 = {{{english_pub_date|{{{english_release_date|}}}}}}
data17 = {{{english_pub_date|{{{english_release_date|}}}}}}


| label17 = Media type
| label18 = Media type
data17 = {{{media_type|}}}
data18 = {{{media_type|}}}


| label18 = Pages
| label19 = Pages
data18 = {{{pages|}}}
data19 = {{{pages|}}}


| label19 = Award{{#if:{{{awards|}}}|s}}
| label20 = Award{{#if:{{{awards|}}}|s}}
data19 = {{{awards|{{{award|}}}}}}
data20 = {{{awards|{{{award|}}}}}}


| label20 = [[International Standard Book Number|ISBN]]
| label21 = [[International Standard Book Number|ISBN]]
data20 = {{#if:{{{isbn|{{{ISBN|}}}}}}
data21 = {{#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|}}}}}} }}


| label21 = [[OCLC#Control Numbers|{{abbr|OCLC|Online Computer Library Center number}}]]
| label22 = [[OCLC#Control Numbers|{{abbr|OCLC|Online Computer Library Center number}}]]
data21 = {{#if:{{{oclc|}}} |[//www.worldcat.org/oclc/{{urlencode:{{{oclc}}}}} {{{oclc}}}]}}
data22 = {{#if:{{{oclc|}}} |[//www.worldcat.org/oclc/{{urlencode:{{{oclc}}}}} {{{oclc}}}]}}


| label22 = {{longitem|[[Dewey Decimal Classification|Dewey Decimal]]}}
| label23 = {{longitem|[[Dewey Decimal Classification|Dewey Decimal]]}}
data22 = {{{dewey|}}}
data23 = {{{dewey|}}}


| label23 = [[Library of Congress Classification|{{abbr|LC Class|Library of Congress Classification}}]]
| label24 = [[Library of Congress Classification|{{abbr|LC Class|Library of Congress Classification}}]]
data23 = {{{congress|}}}
data24 = {{{congress|}}}


| label24 = Preceded by
| label25 = Preceded by
data24 = {{#if:{{{preceded_by|}}} |''{{{preceded_by|}}}''
data25 = {{#if:{{{preceded_by|}}} |''{{{preceded_by|}}}''
             | {{#if:{{{preceded_by_quotation_marks|}}} |"{{{preceded_by_quotation_marks|}}}"}}
             | {{#if:{{{preceded_by_quotation_marks|}}} |"{{{preceded_by_quotation_marks|}}}"}}
             }}
             }}


| label25 = Followed by
| label26 = Followed by
data25 = {{#if:{{{followed_by|}}} |''{{{followed_by|}}}''
data26 = {{#if:{{{followed_by|}}} |''{{{followed_by|}}}''
             | {{#if:{{{followed_by_quotation_marks|}}} |"{{{followed_by_quotation_marks|}}}"}}
             | {{#if:{{{followed_by_quotation_marks|}}} |"{{{followed_by_quotation_marks|}}}"}}
             }}
             }}


| label26 = {{longitem|Original text}}
| label27 = {{longitem|Original text}}
data26 = {{#if:{{{native_wikisource|}}} <!--
data27 = {{#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 129: Line 129:
             }} }}
             }} }}


| label27 = {{#if:{{{native_wikisource|}}} |Translation |{{#if:{{{native_external_url|}}}|Translation|Text}} }}
| label28 = {{#if:{{{native_wikisource|}}} |Translation |{{#if:{{{native_external_url|}}}|Translation|Text}} }}
| data27 = {{#if:{{{wikisource|}}} <!--
| data28 = {{#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:13, 15 November 2014

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