Typecraft v2.5
Jump to: navigation, search

Difference between revisions of "Template:Infobox book"

(Make {{{name}}} parameter inherit from page name if unspecified per editprotected on talk by Chris Cunningham)
 
(57 intermediate revisions by 22 users not shown)
Line 1: Line 1:
 
{{Infobox
 
{{Infobox
 +
|italic title={{{italic title|}}}
 
|bodystyle=width:{{{infoboxwidth|{{{width|20em}}}}}};
 
|bodystyle=width:{{{infoboxwidth|{{{width|20em}}}}}};
 
|abovestyle=background:inherit; font-weight:bold; font-style:italic;
 
|abovestyle=background:inherit; font-weight:bold; font-style:italic;
 
|labelstyle=background:inherit; white-space:nowrap;
 
|labelstyle=background:inherit; white-space:nowrap;
|above= {{{name|{{PAGENAME}}}}}
+
|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|}}}
 
|image= {{{image|}}}
 
|caption= {{{image_caption|}}}
 
|caption= {{{image_caption|}}}
|label1= Author
+
|label1=Type
|data1= {{{author}}}
+
|data1={{{type|}}}
|label2= Original title
+
|label2= Author(s)
|data2= {{{title_orig|}}}
+
|data2= {{{author}}}
|label3= Translator
+
|label3=Translator(s)
|data3= {{{translator|}}}
+
|data3={{{translator|}}}
|label4= Illustrator
+
|label4=Editor(s)
|data4= {{{illustrator|}}}
+
|data4={{{editor|}}}
|label5= Cover artist
+
|label5= Publication title
|data5= {{{cover_artist|}}}
+
|data5= {{#if:{{{pub_title|}}}|''{{{pub_title}}}''}}
|label6= [[Country]]
+
|label6=Journal
|data6= {{{country|}}}
+
|data6={{{journal|}}}
|label7= [[Language]]
+
|label7=Publisher
|data7= {{{language|}}}
+
|data7={{{publisher|}}}  
|label8= Series
+
|label8=Publication date
|data8= {{{series|}}}
+
|data8={{{pub_date|{{{release_date|}}}}}}
|label9= Subject(s)
+
|label9=Pages
|data9= {{{subject|}}}
+
|data9={{{pages|}}}
|label10= Genre(s)
+
|label10=Volume
|data10= {{{genre|}}}
+
|data10={{{volume|}}}  
|label11= [[Publisher]]
+
|label11= Country
|data11= {{{publisher}}}
+
|data11={{{country|}}}
|label12= Publication date
+
|label12= [[International Standard Book Number|ISBN]]
|data12= {{{pub_date|{{{release_date|}}}}}}
+
|data12= {{#if:{{{isbn|{{{ISBN|}}}}}} | {{#iferror: {{#expr:{{{isbn|{{{ISBN}}}}}}}}
|label13= Published in<br/>English
+
| {{{isbn|{{{ISBN}}}}}} | [[Special:Booksources/{{{isbn|{{{ISBN}}}}}}|{{{isbn|{{{ISBN}}}}}}]] }} }}
|data13= {{{english_pub_date|{{{english_release_date|}}}}}}
+
|label13= [[Online Computer Library Center|OCLC]] Number
|label14= Media type
+
|data13= {{#if:{{{oclc|}}}| [http://worldcat.org/oclc/{{urlencode:{{{oclc}}}}} {{{oclc}}}] }}
|data14= {{{media_type|}}}
+
|label13= [[Dewey Decimal Classification|Dewey Decimal]]
|label15= Pages
+
|label14= available_at
|data15= {{{pages|}}}
+
|data14={{{available_at|}}}
|label16= Size and weight
+
|label15= Annotator
|data16= {{{size_weight|}}}
+
|data15= {{{annotator|}}}
|label17= [[International Standard Book Number|ISBN]]
+
|label16= Corpus Link
|data17= {{{isbn|}}}
+
|data16= {{{corpus|}}}
|label18= [[OCLC]]
+
|label17= Language
|data18= {{#if:{{{oclc|}}}| [http://worldcat.org/oclc/{{urlencode:{{{oclc}}}}} {{{oclc}}}] }}
+
|data17= {{{language|}}}
|label19= Preceded by
+
|label18= Series
|data19= {{#if:{{{preceded_by|}}}|''{{{preceded_by}}}''}}
+
|data18= {{{series|}}}
|label20= Followed by
+
|label18= Subject(s)
|data20= {{#if:{{{followed_by|}}}|''{{{followed_by|}}}''}}
+
|data18= {{{subject|}}}
 +
|label20= Framework
 +
|data20= {{{framework|}}}
 +
|label21= Media type
 +
|data21= {{{media_type|}}}
 +
|label22= Preceded by
 +
|data22= {{#if:{{{preceded_by|}}}|''{{{preceded_by}}}''}}
 +
|label23= Followed by
 +
|data23= {{#if:{{{followed_by|}}}|''{{{followed_by|}}}''}}
 
}}<noinclude>
 
}}<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