Difference between revisions of "Template:Infobox book"

From Monoskop
Jump to navigation Jump to search
(9 intermediate revisions by the same user not shown)
Line 1: Line 1:
 
{{Infobox
 
{{Infobox
| italic title = {{{italic title|}}}
+
| italic title = {{{name|}}}
 
| bodyclass = vcard
 
| bodyclass = vcard
 
| bodystyle = {{#if:{{{infoboxwidth|{{{width|}}}}}} |width:{{{infoboxwidth|{{{width}}}}}} }}
 
| bodystyle = {{#if:{{{infoboxwidth|{{{width|}}}}}} |width:{{{infoboxwidth|{{{width}}}}}} }}
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|}}}{{{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
+
| title = <includeonly>{{#if:{{{name|}}}{{{caption|{{{image_caption|}}}}}}{{{authors|{{{author|}}}}}}{{{editors|{{{editor|}}}}}}{{{audio_read_by|}}}{{{title_orig|}}}{{{title_working|}}}{{{translators|{{{translator|}}}}}}{{{illustrators|{{{illustrator|}}}}}}{{{cover_artist|}}}{{{design|}}}{{{texts|{{{text|}}}}}}{{{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|}}}}}}{{{format|}}}{{{fabrication|}}}{{{reprint|}}}{{{media_type|}}}{{{pages|}}}{{{awards|{{{award|}}}}}}{{{isbn_note|{{{ISBN_note|}}}}}}{{{dewey|}}}{{{congress|}}}{{{website|}}}{{{ebook|}}}| }}<!-- hack for ref ordering
 
  -->{{{name|{{PAGENAMEBASE}}}}} <!--
 
  -->{{{name|{{PAGENAMEBASE}}}}} <!--
 
  --><span class="Z3988"
 
  --><span class="Z3988"
Line 29: Line 29:
  
 
<!---------------Data------------------>
 
<!---------------Data------------------>
| label1  = Editor{{#if:{{{editors|}}}|s}}
+
| label1  = Author{{#if:{{{authors|}}}|s}}
|  data1  = {{{editors|{{{editor|}}}}}}
+
|  data1  = {{{authors|{{{author|}}}}}}
  
| label2  = Author{{#if:{{{authors|}}}|s}}
+
| label2  = Editor{{#if:{{{editors|}}}|s}}
|  data2  = {{{authors|{{{author|}}}}}}
+
|  data2  = {{{editors|{{{editor|}}}}}}
  
 
| label3  = Audio&nbsp;read&nbsp;by
 
| label3  = Audio&nbsp;read&nbsp;by
Line 53: Line 53:
 
|  data8  = {{{cover_artist|}}}
 
|  data8  = {{{cover_artist|}}}
  
| label10 = Country
+
| label10 = Design
|  data10 = {{{country|}}}
+
|  data10 = {{{design|}}}
  
| label11 = Language
+
| label11 = Text{{#if:{{{texts|}}}|s}}
|  data11 = {{{language|}}}
+
|  data11 = {{{texts|{{{text|}}}}}}
  
| label12 = Series
+
| label12 = Country
|  data12 = {{{series|}}}
+
|  data12 = {{{country|}}}
  
| label13 = {{longitem|Release number}}
+
| label13 = Language
|  data13 = {{{release_number|}}}
+
|  data13 = {{{language|}}}
  
| label14 = Subject{{#if:{{{subjects|}}}|s}}
+
| label14 = Series
|  data14 = {{{subjects|{{{subject|}}}}}}
+
|  data14 = {{{series|}}}
  
| label15 = Genre{{#if:{{{genres|}}}|s}}
+
| label15 = {{longitem|Release number}}
|  data15 = {{{genres|}}}
+
|  data15 = {{{release_number|}}}
  
| label16 = Set&nbsp;in
+
| label16 = Subject{{#if:{{{subjects|}}}|s}}
|  data16 = {{{set_in|}}}
+
|  data16 = {{{subjects|{{{subject|}}}}}}
  
| label17 = Published
+
| label17 = Genre{{#if:{{{genres|}}}|s}}
|  data17 = {{{published|}}}
+
|  data17 = {{{genres|}}}
  
| label18 = Publisher
+
| label18 = Set&nbsp;in
|  data18 = {{{publisher|}}}{{#if:{{{publisher2|}}} |, {{{publisher2}}} }}
+
|  data18 = {{{set_in|}}}
  
| label19 = City
+
| label19 = Published
|  data19 = {{{pub_city|}}}
+
|  data19 = {{{published|}}}
  
| label20 = {{longitem|Publication date}}
+
| label20 = Publisher
|  data20 = {{{pub_date|{{{release_date|}}}}}}
+
|  data20 = {{{publisher|}}}{{#if:{{{publisher2|}}} |, {{{publisher2}}} }}
  
| label21 = {{longitem|Published&nbsp;in English}}
+
| label21 = City
|  data21 = {{{english_pub_date|{{{english_release_date|}}}}}}
+
|  data21 = {{{pub_city|}}}
  
| label22 = Media&nbsp;type
+
| label22 = Year
|  data22 = {{{media_type|}}}
+
|  data22 = {{{pub_date|{{{release_date|}}}}}}
  
| label23 = Pages
+
| label23 = {{longitem|Published&nbsp;in English}}
|  data23 = {{{pages|}}}
+
|  data23 = {{{english_pub_date|{{{english_release_date|}}}}}}
  
| label24 = Award{{#if:{{{awards|}}}|s}}
+
| label24 = Reprint
data24 = {{{awards|{{{award|}}}}}}
+
|  data24  = {{{reprint|}}}
 +
 
 +
| label25 = Media&nbsp;type
 +
|  data25 = {{{media_type|}}}
 +
 
 +
| label26 = Pages
 +
|  data26 = {{{pages|}}}
 +
 
 +
| label27 = Format
 +
|  data27 = {{{format|}}}
 +
 
 +
| label28 = Fabrication
 +
|  data28 = {{{fabrication|}}}
 +
 
 +
| label29 = Award{{#if:{{{awards|}}}|s}}
 +
data29 = {{{awards|{{{award|}}}}}}
  
 
| label30 = [[International Standard Book Number|ISBN]]
 
| label30 = [[International Standard Book Number|ISBN]]
Line 129: Line 144:
 
| data38    = {{{website|}}}
 
| data38    = {{{website|}}}
  
| label39  = Electronic version
+
| label39  = E-book
| data39    = {{{electronic_version|}}}
+
| data39    = {{{ebook|}}}
  
 
| belowstyle = border-top:#aaa 1px solid;font-size:90%;
 
| belowstyle = border-top:#aaa 1px solid;font-size:90%;

Revision as of 08:32, 10 October 2020

{{{1}}}

Documentation