Template:Infobox book: Difference between revisions
From Vigyanwiki
Template>Mr. Stradivarius (language code fix per protected edit request) |
Template>Mr. Stradivarius (amalgamate date and publisher into a new "published" field, per protected edit request) |
||
| Line 7: | Line 7: | ||
|image = {{#if:{{{image|}}}|{{#ifeq:{{Str left | {{{image|}}} | 1 }}|[|[[Category:Infobox book image param needs updating]]}}{{#invoke:InfoboxImage|InfoboxImage|image={{{image|}}}|size={{{image_size|}}}|sizedefault=frameless|alt={{{alt|}}}|border={{{border|}}}|suppressplaceholder=yes}}|{{main other|[[Category:Books with missing cover]]}}}} | |image = {{#if:{{{image|}}}|{{#ifeq:{{Str left | {{{image|}}} | 1 }}|[|[[Category:Infobox book image param needs updating]]}}{{#invoke:InfoboxImage|InfoboxImage|image={{{image|}}}|size={{{image_size|}}}|sizedefault=frameless|alt={{{alt|}}}|border={{{border|}}}|suppressplaceholder=yes}}|{{main other|[[Category:Books with missing cover]]}}}} | ||
| caption = {{{caption|{{{image_caption|}}}}}} | | caption = {{{caption|{{{image_caption|}}}}}} | ||
| label1 = | | label1 = {{#if:{{{editors|}}}|Editors|Editor}} | ||
| data1 = {{{ | | data1 = {{{editors|{{{editor|}}}}}} | ||
| label2 | | label2 = {{#if:{{{authors|}}}|Authors|Author}} | ||
| data2 = {{{authors|{{{author|}}}}}} | |||
| label3 = Original title | |||
| data3 = {{#if:{{{ | | data3 = {{#if:{{{title_orig|}}}|{{lang|{{{orig_lang_code|}}}|''{{{title_orig}}}''}}}} | ||
| label4 = | | label4 = Working title | ||
| data4 = {{{ | | data4 = {{#if:{{{title_working|}}}|''{{{title_working}}}''}} | ||
| label5 = | | label5 = Translator | ||
| data5 = {{{ | | data5 = {{{translator|}}} | ||
| label6 = | | label6 = Illustrator | ||
| data6 = {{{ | | data6 = {{{illustrator|}}} | ||
| label7 = | | label7 = Cover artist | ||
| data7 = {{{ | | data7 = {{{cover_artist|}}} | ||
| label8 = | | label8 = Country | ||
| data8 = {{{ | | data8 = {{{country|}}} | ||
| label9 = | | label9 = Language | ||
| data9 = {{{ | | data9 = {{{language|}}} | ||
| label10 = | | label10 = Series | ||
| data10 = {{{ | | data10 = {{{series|}}} | ||
| label11 | | label11 = {{#if:{{{subjects|}}}|Subjects|Subject}} | ||
| data11 = {{{subjects|{{{subject|}}}}}} | |||
| | | label12 = {{#if:{{{genres|}}}|Genres|Genre}} | ||
| | | data12 = {{{genres|{{{genre|}}}}}} | ||
| | | label13 = Published | ||
| data13 = {{{published|}}} | |||
| | | label14 = Publisher | ||
| | | data14 = {{{publisher|}}}{{#if:{{{publisher2|}}}|, {{{publisher2}}}}} | ||
| | | label15 = Publication date | ||
| | | data15 = {{{pub_date|{{{release_date|}}}}}} | ||
| label16 = Published in English | |||
| data16 = {{{english_pub_date|{{{english_release_date|}}}}}} | |||
| | | label17 = Media type | ||
| | | data17 = {{{media_type|}}} | ||
| | | label18 = Pages | ||
| | | data18 = {{{pages|}}} | ||
| | | label19 = {{#if:{{{awards|}}}|Awards|Award}} | ||
| | | data19 = {{{awards|{{{award|}}}}}} | ||
| | | label20 = [[International Standard Book Number|ISBN]] | ||
| | | data20 = {{#if:{{{isbn|{{{ISBN|}}}}}}|{{#iferror:{{#expr:{{{isbn|{{{ISBN}}}}}}}}|{{{isbn|{{{ISBN}}}}}}|[[Special:Booksources/{{{isbn|{{{ISBN}}}}}}|{{{isbn|{{{ISBN}}}}}}]]}}}} | ||
| | | label21 = [[OCLC]] Number | ||
| | | data21 = {{#if:{{{oclc|}}}|[http://worldcat.org/oclc/{{urlencode:{{{oclc}}}}} {{{oclc}}}]}} | ||
| | | label22 = [[Dewey Decimal Classification|Dewey Decimal]] | ||
| | | data22 = {{{dewey|}}} | ||
| | | label23 = [[Library of Congress Classification|LC Classification]] | ||
| | | data23 = {{{congress|}}} | ||
| label24 = | | label24 = Preceded by | ||
| data24 = {{#if:{{{ | | data24 = {{#if:{{{preceded_by|}}}|''{{{preceded_by|}}}''|{{#if:{{{preceded_by_quotation_marks|}}}|"{{{preceded_by_quotation_marks|}}}"}}}} | ||
| label25 = Followed by | |||
| data25 = {{#if:{{{followed_by|}}}|''{{{followed_by|}}}''|{{#if:{{{followed_by_quotation_marks|}}}|"{{{followed_by_quotation_marks|}}}"}}}} | |||
| label26 = Original text | |||
| data26 = {{#if:{{{native_wikisource|}}}|''{{lang|{{{orig_lang_code|}}}|[[s:{{#if:{{{orig_lang_code|}}}|{{{orig_lang_code|}}}:}}{{{native_wikisource|}}}|{{{title_orig|{{{name|{{PAGENAME}}}}}}}}]]}}'' at {{#ifeq:{{#language:{{{orig_lang_code}}}}}|{{{orig_lang_code}}}||{{Iso2lang|{{{orig_lang_code}}}}}}} [[Wikisource]]{{main other|[[Category:Articles that link to foreign language Wikisource]]}}<!--create hidden category to be monitored by Wikiproject:Wikisource-->|{{#if:{{{native_external_url|}}}|''{{lang|{{{orig_lang_code|}}}|[{{{native_external_url|}}} {{{title_orig|{{{name|{{PAGENAME}}}}}}}}]}}'' {{#if:{{{native_external_host|}}}|at {{{native_external_host|}}}|online}}}}}} | |||
| label27 = {{#if:{{{native_wikisource|}}}|Translation|{{#if:{{{native_external_url|}}}|Translation|Text}}}} | |||
| data27 = {{#if:{{{wikisource|}}}|''[[s:{{{wikisource|}}}|{{{name|{{PAGENAME}}}}}]]'' at {{#if:{{{native_wikisource|}}}|Wikisource|[[Wikisource]]}}{{main other|[[Category:Articles that link to Wikisource]]}}<!--create hidden category to be monitored by Wikiproject:Wikisource-->|{{#if:{{{external_url|}}}|''[{{{external_url|}}} {{{name|{{PAGENAME}}}}}]'' {{#if:{{{external_host|}}}|at {{{external_host|}}}|online}}}}}}<!-- tagging deprecated parameters -->{{main other|{{#if:{{{publisher|}}}|[[Category:Infobox book using deprecated parameters|1 {{PAGENAME}}]]}}{{#if:{{{publisher2|}}}|[[Category:Infobox book using deprecated parameters|2 {{PAGENAME}}]]}}{{#if:{{{pub_date|}}}|[[Category:Infobox book using deprecated parameters|p {{PAGENAME}}]]}}{{#if:{{{release_date|}}}|[[Category:Infobox book using deprecated parameters|r {{PAGENAME}}]]}}{{#if:{{{english_pub_date|}}}|[[Category:Infobox book using deprecated parameters|e {{PAGENAME}}]]}}{{#if:{{{english_release_date|}}}|[[Category:Infobox book using deprecated parameters|d {{PAGENAME}}]]}}}}}}<noinclude> | |||
{{documentation}} | {{documentation}} | ||
</noinclude> | </noinclude> | ||
Revision as of 06:29, 25 August 2013
Lua error in Module:TNT at line 182: Missing Commons dataset I18n/Module:TNT.tab.