Typecraft v2.5
Jump to: navigation, search

Difference between revisions of "Template:Infobox book"

m (remove commented line break, it caused an issue)
 
(61 intermediate revisions by 24 users not shown)
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}}}'''''
+
|italic title={{{italic title|}}}
|-
+
|bodystyle=width:{{{infoboxwidth|{{{width|20em}}}}}};
{{#if:{{{image|}}}|
+
|abovestyle=background:inherit; font-weight:bold; font-style:italic;
{{!}} colspan="2" style="text-align:center; width={{#if:{{{imagewidth|}}}|{{{imagewidth}}}|auto}}; " {{!}} {{{image}}} {{#if:{{{image_caption|}}}|<br/>{{{image_caption}}}}}
+
|labelstyle=background:inherit; white-space:nowrap;
{{!}}-
+
|above= {{{name|{{PAGENAME}}}}} <span class="Z3988" title="ctx_ver=Z39.88-2004&rft_val_fmt={{urlencode:info:ofi/fmt:kev:mtx:book}}&rft.genre=book&rft.btitle={{urlencode:{{{name|}}}}}{{#if: {{{author|}}}|&rft.author={{urlencode:{{{author}}}}}}}{{#if: {{{last|}}}|&rft.aulast={{urlencode:{{{last}}}}}}}{{#if: {{{first|}}}|&rft.aufirst={{urlencode:{{{first}}}}}}}{{#if: {{{pub_date|{{{release_date|}}}}}}|&rft.date={{urlencode:{{{pub_date|{{{release_date}}}}}}}}}}{{#if: {{{publisher|}}}|&rft.pub={{urlencode:{{{publisher}}}}}}}{{#if: {{{location|}}}|&rft.place={{urlencode:{{{location}}}}}}}{{#if: {{{pages|}}}|&rft.pages={{urlencode:{{{pages}}}}}}}{{#if: {{{series|}}}|&rft.series={{urlencode:{{{series}}}}}}}{{#if: {{{oclc|}}}|&rft_id=info:oclcnum/{{{oclc}}}}}">&nbsp;</span>
}}
+
|image= {{{image|}}}
! Author
+
|caption= {{{image_caption|}}}
| {{{author}}}
+
|label1=Type
|-
+
|data1={{{type|}}}
{{#if:{{{title_orig|}}}|
+
|label2= Author(s)
! Original title
+
|data2= {{{author}}}
{{!}} {{{title_orig}}}
+
|label3=Translator(s)
{{!}}-
+
|data3={{{translator|}}}
}}
+
|label4=Editor(s)
{{#if:{{{translator|}}}|
+
|data4={{{editor|}}}
! Translator
+
|label5= Publication title
{{!}} {{{translator|}}}
+
|data5= {{#if:{{{pub_title|}}}|''{{{pub_title}}}''}}
{{!}}-
+
|label6=Journal
}}
+
|data6={{{journal|}}}
{{#if:{{{illustrator|}}}|
+
|label7=Publisher
! Illustrator
+
|data7={{{publisher|}}}  
{{!}} {{{illustrator|}}}
+
|label8=Publication date
{{!}}-
+
|data8={{{pub_date|{{{release_date|}}}}}}
}}
+
|label9=Pages
{{#if:{{{cover_artist|}}}|
+
|data9={{{pages|}}}
! Cover&nbsp;artist
+
|label10=Volume
{{!}} {{{cover_artist|}}}
+
|data10={{{volume|}}}  
{{!}}-
+
|label11= Country
}}
+
|data11={{{country|}}}
{{#if:{{{country|}}}|
+
|label12= [[International Standard Book Number|ISBN]]
! [[Country]]
+
|data12= {{#if:{{{isbn|{{{ISBN|}}}}}} | {{#iferror: {{#expr:{{{isbn|{{{ISBN}}}}}}}}  
{{!}} {{{country|}}}
+
| {{{isbn|{{{ISBN}}}}}} | [[Special:Booksources/{{{isbn|{{{ISBN}}}}}}|{{{isbn|{{{ISBN}}}}}}]] }} }}
{{!}}-
+
|label13= [[Online Computer Library Center|OCLC]] Number
}}
+
|data13= {{#if:{{{oclc|}}}| [http://worldcat.org/oclc/{{urlencode:{{{oclc}}}}} {{{oclc}}}] }}
{{#if:{{{language|}}}|
+
|label13= [[Dewey Decimal Classification|Dewey Decimal]]
! [[Language]]
+
|label14= available_at
{{!}} {{{language|}}}
+
|data14={{{available_at|}}}
{{!}}-
+
|label15= Annotator
}}
+
|data15= {{{annotator|}}}
{{#if:{{{series|}}}|
+
|label16= Corpus Link
! Series
+
|data16= {{{corpus|}}}
{{!}} {{{series}}}
+
|label17= Language
{{!}}-
+
|data17= {{{language|}}}
}}
+
|label18= Series
{{#if:{{{subject|}}}|
+
|data18= {{{series|}}}
! {{nowrap|Subject(s)}}
+
|label18= Subject(s)
{{!}} {{{subject|}}}
+
|data18= {{{subject|}}}
{{!}}-
+
|label20= Framework
}}
+
|data20= {{{framework|}}}
{{#if:{{{genre|}}}|
+
|label21= Media type
! {{nowrap|Genre(s)}}
+
|data21= {{{media_type|}}}
{{!}} {{{genre|}}}
+
|label22= Preceded by
{{!}}-
+
|data22= {{#if:{{{preceded_by|}}}|''{{{preceded_by}}}''}}
}}
+
|label23= Followed by
! [[Publisher]]
+
|data23= {{#if:{{{followed_by|}}}|''{{{followed_by|}}}''}}
| {{{publisher}}}
+
}}<noinclude>
|-
+
! 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}}
+
 
{{documentation}}
 
{{documentation}}
 
</noinclude>
 
</noinclude>

Latest revision as of 17:41, 2 September 2012

Infobox book  
Author(s) {{{author}}}
[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