Difference between revisions of "Template:Infobox book"

From Monoskop
Jump to navigation Jump to search
Line 6: Line 6:
 
<!---------------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>{{#if:{{{name|}}}{{{caption|{{{image_caption|}}}}}}{{{editors|{{{editor|}}}}}}{{{authors|{{{author|}}}}}}{{{audio_read_by|}}}{{{title_orig|}}}{{{title_working|}}}{{{translators|{{{translator|}}}}}}{{{illustrators|{{{illustrator|}}}}}}{{{cover_artist|}}}{{{city|}}}{{{country|}}}{{{language|}}}{{{series|}}}{{{release_number|}}}{{{subjects|{{{subject|}}}}}}{{{genres|{{{genre|}}}}}}{{{set_in|}}}{{{published|}}}{{{publisher|}}}{{{publisher2|}}}{{{pub_date|{{{release_date|}}}}}}{{{english_pub_date|{{{english_release_date|}}}}}}{{{media_type|}}}{{{pages|}}}{{{awards|{{{award|}}}}}}{{{isbn_note|{{{ISBN_note|}}}}}}{{{dewey|}}}{{{congress|}}}{{{website|}}}{{{electronic_version|}}}| }}<!-- hack for ref ordering
+
| title = <includeonly>{{#if:{{{name|}}}{{{caption|{{{image_caption|}}}}}}{{{editors|{{{editor|}}}}}}{{{authors|{{{author|}}}}}}{{{audio_read_by|}}}{{{title_orig|}}}{{{title_working|}}}{{{translators|{{{translator|}}}}}}{{{illustrators|{{{illustrator|}}}}}}{{{cover_artist|}}}{{{country|}}}{{{language|}}}{{{series|}}}{{{release_number|}}}{{{subjects|{{{subject|}}}}}}{{{genres|{{{genre|}}}}}}{{{set_in|}}}{{{published|}}}{{{publisher|}}}{{{publisher2|}}}{{{pub_city|}}}{{{pub_date|{{{release_date|}}}}}}{{{english_pub_date|{{{english_release_date|}}}}}}{{{media_type|}}}{{{pages|}}}{{{awards|{{{award|}}}}}}{{{isbn_note|{{{ISBN_note|}}}}}}{{{dewey|}}}{{{congress|}}}{{{website|}}}{{{electronic_version|}}}| }}<!-- hack for ref ordering
 
  -->{{{name|{{PAGENAMEBASE}}}}} <!--
 
  -->{{{name|{{PAGENAMEBASE}}}}} <!--
 
  --><span class="Z3988"
 
  --><span class="Z3988"
Line 52: Line 52:
 
| label8  = Cover&nbsp;artist
 
| label8  = Cover&nbsp;artist
 
|  data8  = {{{cover_artist|}}}
 
|  data8  = {{{cover_artist|}}}
 
| label9 = City
 
|  data9 = {{{city|}}}
 
  
 
| label10 = Country
 
| label10 = Country
Line 83: Line 80:
 
|  data18 = {{{publisher|}}}{{#if:{{{publisher2|}}} |, {{{publisher2}}} }}
 
|  data18 = {{{publisher|}}}{{#if:{{{publisher2|}}} |, {{{publisher2}}} }}
  
| label19 = {{longitem|Publication date}}
+
| label19 = City
|  data19 = {{{pub_date|{{{release_date|}}}}}}
+
|  data19 = {{{pub_city|}}}
  
| label20 = {{longitem|Published&nbsp;in English}}
+
| label20 = {{longitem|Publication date}}
|  data20 = {{{english_pub_date|{{{english_release_date|}}}}}}
+
|  data20 = {{{pub_date|{{{release_date|}}}}}}
  
| label21 = Media&nbsp;type
+
| label21 = {{longitem|Published&nbsp;in English}}
|  data21 = {{{media_type|}}}
+
|  data21 = {{{english_pub_date|{{{english_release_date|}}}}}}
  
| label22 = Pages
+
| label22 = Media&nbsp;type
|  data22 = {{{pages|}}}
+
|  data22 = {{{media_type|}}}
  
| label23 = Award{{#if:{{{awards|}}}|s}}
+
| label23 = Pages
data23 = {{{awards|{{{award|}}}}}}
+
|  data23 = {{{pages|}}}
 +
 
 +
| label24 = Award{{#if:{{{awards|}}}|s}}
 +
data24 = {{{awards|{{{award|}}}}}}
  
 
| label30 = [[International Standard Book Number|ISBN]]
 
| label30 = [[International Standard Book Number|ISBN]]
Line 119: Line 119:
 
             | {{#if:{{{followed_by_quotation_marks|}}} |"{{{followed_by_quotation_marks|}}}"}}
 
             | {{#if:{{{followed_by_quotation_marks|}}} |"{{{followed_by_quotation_marks|}}}"}}
 
             }}
 
             }}
 
| label36 = {{longitem|Original text}}
 
|  data36 = {{#if:{{both|{{{native_external_url|}}}|{{{orig_lang_code|}}}}}
 
                | ''{{lang |{{{orig_lang_code|}}}
 
                    | [{{{native_external_url|}}} {{{title_orig|{{{name|{{PAGENAME}}}}}}}}]<!--
 
                -->}}'' <!--
 
                -->{{#if:{{{native_external_host|}}} |at {{{native_external_host|}}} |online}}
 
            }}
 
  
 
| label37 = {{#if:{{{native_wikisource|}}} |Translation |{{#if:{{{native_external_url|}}}|Translation|Text}} }}
 
| label37 = {{#if:{{{native_wikisource|}}} |Translation |{{#if:{{{native_external_url|}}}|Translation|Text}} }}

Revision as of 16:35, 10 December 2018

{{{1}}}

Documentation