Typecraft v2.5
Jump to: navigation, search

Difference between revisions of "Template:Infobox book"

(made change per talk request)
(infoboxing)
Line 1: Line 1:
{| class="infobox" style="width:{{{infoboxwidth|{{{width|20em}}}}}}; font-size:90%; text-align:left;"
+
{{Infobox
| colspan="2" style="text-align:center; font-size:140%;" | '''''{{{name}}}'''''
+
|bodystyle=width:{{{infoboxwidth|{{{width|20em}}}}}};
|-
+
|abovestyle=background:inherit; font-weight:bold; font-style:italic;
{{#if:{{{image|}}}|
+
|labelstyle=background:inherit; white-space:nowrap;
{{!}} colspan="2" style="text-align:center; width={{#if:{{{imagewidth|}}}|{{{imagewidth}}}|auto}}; " {{!}} {{{image}}} {{#if:{{{image_caption|}}}|<br/>{{{image_caption}}}}}
+
|above= {{{name}}}
{{!}}-
+
|image= {{{image|}}}
}}
+
|caption= {{{image_caption|}}}
! Author
+
|label1= Author
| {{{author}}}
+
|data1= {{{author}}}
|-
+
|label2= Original title
{{#if:{{{title_orig|}}}|
+
|data2= {{{title_orig|}}}
! Original title
+
|label3= Translator
{{!}} {{{title_orig}}}
+
|data3= {{{translator|}}}
{{!}}-
+
|label4= Illustrator
}}
+
|data4= {{{illustrator|}}}
{{#if:{{{translator|}}}|
+
|label5= Cover artist
! Translator
+
|data5= {{{cover_artist|}}}
{{!}} {{{translator|}}}
+
|label6= [[Country]]
{{!}}-
+
|data6= {{{country|}}}
}}
+
|label7= [[Language]]
{{#if:{{{illustrator|}}}|
+
|data7= {{{language|}}}
! Illustrator
+
|label8= Series
{{!}} {{{illustrator|}}}
+
|data8= {{{series|}}}
{{!}}-
+
|label9= Subject(s)
}}
+
|data9= {{{subject|}}}
{{#if:{{{cover_artist|}}}|
+
|label10= Genre(s)
! Cover&nbsp;artist
+
|data10= {{{genre|}}}
{{!}} {{{cover_artist|}}}
+
|label11= [[Publisher]]
{{!}}-
+
|data11= {{{publisher}}}
}}
+
|label12= Publication date
{{#if:{{{country|}}}|
+
|data12= {{{pub_date|{{{release_date|}}}}}}
! [[Country]]
+
|label13= Published in English
{{!}} {{{country|}}}
+
|data13= {{{english_pub_date|{{{english_release_date|}}}}}}
{{!}}-
+
|label14= Media type
}}
+
|data14= {{{media_type|}}}
{{#if:{{{language|}}}|
+
|label15= Pages
! [[Language]]
+
|data15= {{{pages|}}}
{{!}} {{{language|}}}
+
|label16= Size and weight
{{!}}-
+
|data16= {{{size_weight|}}}
}}
+
|label17= [[International Standard Book Number|ISBN]]
{{#if:{{{series|}}}|
+
|data17= {{{isbn|}}}
! Series
+
|label18= [[OCLC]]
{{!}} {{{series}}}
+
|data18= {{#if:{{{oclc|}}}| [http://worldcat.org/oclc/{{urlencode:{{{oclc}}}}} {{{oclc}}}] }}
{{!}}-
+
|label19= Preceded by
}}
+
|data19= {{#if:{{{preceded_by|}}}|''{{{preceded_by}}}''}}
{{#if:{{{subject|}}}|
+
|label20= Followed by
! {{nowrap|Subject(s)}}
+
|data20= {{#if:{{{followed_by|}}}|''{{{followed_by|}}}''}}
{{!}} {{{subject|}}}
+
}}<noinclude>
{{!}}-
+
}}
+
{{#if:{{{genre|}}}|
+
! {{nowrap|Genre(s)}}
+
{{!}} {{{genre|}}}
+
{{!}}-
+
}}
+
! [[Publisher]]
+
| {{{publisher}}}
+
|-
+
! Publication date
+
| {{{pub_date|{{{release_date|}}}}}}
+
|-
+
{{#if:{{{english_release_date|}}}{{{english_pub_date|}}}|
+
! Published in English
+
{{!}} {{{english_pub_date|{{{english_release_date}}}}}}
+
{{!}}-
+
}}
+
{{#if:{{{media_type|}}}|
+
! Media&nbsp;type
+
{{!}} {{{media_type|}}}
+
{{!}}-
+
}}
+
{{#if:{{{pages|}}}|
+
! Pages
+
{{!}} {{{pages|}}}
+
{{!}}-
+
}}
+
{{#if:{{{size_weight|}}}|
+
! Size&nbsp;and&nbsp;weight
+
{{!}} {{{size_weight|}}}
+
{{!}}-
+
}}
+
{{#if:{{{isbn|}}}|
+
! [[International Standard Book Number|ISBN]]
+
{{!}} {{{isbn|}}}
+
{{!}}-
+
}}
+
{{#if:{{{oclc|}}}|
+
! [[OCLC]]
+
{{!}} [http://worldcat.org/oclc/{{urlencode:{{{oclc}}}}} {{{oclc}}}]
+
{{!}}-
+
}}
+
{{#if:{{{preceded_by|}}}|
+
! Preceded&nbsp;by
+
{{!}} ''{{{preceded_by|}}}''
+
{{!}}-
+
}}
+
{{#if:{{{followed_by|}}}|
+
! Followed&nbsp;by
+
{{!}} ''{{{followed_by|}}}''
+
{{!}}-
+
}}
+
|}<noinclude>
+
 
{{pp-template|small=yes}}
 
{{pp-template|small=yes}}
 
{{documentation}}
 
{{documentation}}
 
</noinclude>
 
</noinclude>

Revision as of 06:38, 17 March 2008

{{{name}}}
Author {{{author}}}
Publisher {{{publisher}}}
[edit] [purge] 50px Template documentation

TypeCraft uses the Infobox books to provide metadata information for TCwiki pages in the Category:Interlinear Glossed Text from Linguistic Research. In the template below you see which parameters you can add to this template.

Usage

{{Infobox
| name             = 
| image            = <!-- include the picture file and determine the size; e.g.: [[File:Example.jpg|200px|Cover]] -->
| image_caption    = 
|caption= 
|type= 
|author=
|translator=
|editor=
|pub_title= 
|journal=
|publisher=
|pub_date=
|pages= 
|volume=
|country=
|isbn=
|oclc=
|dewey=
|congress=
|annotator=
|corpus=
|language=
|series=
|subject=
|genre=
|media_type=
|available_at=
|preceded_by=
|followed_by=
}}

Parameters

  • name Title of the article or book that the Interlinear Glossed Text (IGT) was taken from. If this parameter is left blank, the title will be inherited from page title.
  • image' Image (might be this is important for rare sources). Load the picture to the TypeCraft wiki and create an internal link to the picture [[Image: example.jpg|200px|Cover]]
  • image_captionImage caption (should describe the edition used)
  • typeType refers to different forms of publications: Possible entries are: [in-book|book|article|proceedings|manuscript|PhD-thesis]]
  • author Author of the publication
  • translator Translator of the original text
  • editor= name of the editor
  • pub_title=name of the publication that contains the article
  • journal=name of the paper or online journal that contains the article
  • publisher=name of the publisher of the book, or the book or journal, that contains the article
  • pub_date=data of the 1edition
  • pages= for example: p.34-123
  • volume=volume may apply to a series of books or a journal
  • country=country of publication
  • isbn=isbn number for example: "ISBN xxxxxxxxx" (prefer 1st edition)
  • oclc=OCLC
  • dewey=[1]
  • congress=http://en.wikipedia.org/wiki/Library_of_Congress_Classification
  • annotator=name of the Tc annotator who has added additional layers of linguistic annotation
  • corpus=link to the TypeCraft corpus of Interlinear Glossed Text
  • language=language of the original
  • series= series if any
  • subject= linguistic characterisation of the phenomenon treated in the publication
  • framework= linguistic framework
  • available_at=for example URL
  • media_type= [paper|on-line|remarks about physical property of the publication (if any)]
  • preceded_by=title of a publication which treated the same phenomenon in the same language prior to the present publication
  • followed_by=title of a publication which treated the same phenomenon in the same language subsequently to the present publication