Difference between revisions of "Template:BibEntry"

From emcawiki
Jump to: navigation, search
 
(44 intermediate revisions by the same user not shown)
Line 10: Line 10:
 
|Tag(s)=
 
|Tag(s)=
 
|Year=
 
|Year=
 +
|Language=
 
|Howpublished=
 
|Howpublished=
 
|Chapter=
 
|Chapter=
Line 34: Line 35:
 
</pre>
 
</pre>
 
Edit the page to see the template text.
 
Edit the page to see the template text.
</noinclude><includeonly>{| style="width: 30em; font-size: 90%; border: 1px solid #aaaaaa; background-color: #f9f9f9; color: black; margin-bottom: 0.5em; margin-left: 1em; padding: 0.2em; float: right; clear: right; text-align:left;"
+
</noinclude><includeonly>{| style="width: 20em; font-size: 90%; border: 1px solid #aaaaaa; background-color: #f9f9f9; color: black; margin-bottom: 0.5em; margin-left: 1em; padding: 0.2em; float: right; clear: right; text-align:left;"
 
! style="text-align: center; background-color:#ccccff;" colspan="2" |<big>{{PAGENAME}}</big>
 
! style="text-align: center; background-color:#ccccff;" colspan="2" |<big>{{PAGENAME}}</big>
 
|-
 
|-
 
! BibType
 
! BibType
 
| {{#arraymap:{{{BibType|}}}|,|x|[[BibType::x]]}}  
 
| {{#arraymap:{{{BibType|}}}|,|x|[[BibType::x]]}}  
 +
|-
 +
! Key
 +
| [[BibKey::{{{Key|}}}]]
 
|-
 
|-
 
! Author(s)
 
! Author(s)
Line 58: Line 62:
 
| [[BibYear::{{{Year|}}}]]  
 
| [[BibYear::{{{Year|}}}]]  
 
|-
 
|-
! Howpublished
+
! Language
| [[BibHowpublished::{{{Howpublished|}}}]]
+
| [[BibLanguage::{{{Language|}}}]]  
|-
 
! Chapter
 
| [[BibChapter::{{{Chapter|}}}]]  
 
 
|-
 
|-
 
! City
 
! City
 
| [[BibAddress::{{{Address|}}}]]  
 
| [[BibAddress::{{{Address|}}}]]  
|-
 
! Edition
 
| [[BibEdition::{{{Edition|}}}]]
 
 
|-
 
|-
 
! Month
 
! Month
Line 75: Line 73:
 
! Journal
 
! Journal
 
| [[BibJournal::{{{Journal|}}}]]  
 
| [[BibJournal::{{{Journal|}}}]]  
|-
 
! Book title
 
| [[BibBooktitle::{{{Booktitle|}}}]]
 
 
|-
 
|-
 
! Volume
 
! Volume
Line 108: Line 103:
 
! Type
 
! Type
 
| [[BibType::{{{Type|}}}]]  
 
| [[BibType::{{{Type|}}}]]  
 +
|-
 +
! Edition
 +
| [[BibEdition::{{{Edition|}}}]]
 
|-
 
|-
 
! Series
 
! Series
| [[BibSeries::{{{Series|}}}]]  
+
| [[BibSeries::{{{Series|}}}]]
 +
|-
 +
! Howpublished
 +
| [[BibHowpublished::{{{Howpublished|}}}]]
 +
|-
 +
! Book title
 +
| [[BibBooktitle::{{{Booktitle|}}}]]  
 
|-
 
|-
! Key
+
! Chapter
| [[BibKey::{{{Key|}}}]]  
+
| [[BibChapter::{{{Chapter|}}}]]
 
|}
 
|}
 
+
{{#widget:Iframe
'''Formatted Reference'''
+
|url=https://emcawiki.net/bibtex/browser.php?key={{PAGENAME}}&bib=emca.bib
 
+
|border=0
{{#switch: {{{BibType|}}}
 
| INCOLLECTION =
 
{{#arraymap:{{{Author(s)|}}}|;|x|[[BibAuthor::x]]}}. ({{{Year|}}}). {{{Title|}}}  In {{#arraymap:{{{Editor(s)|}}}|;|x|[[BibEditor::x]]}} (Ed.), {{{Booktitle|}}} (pp. {{{Pages|}}}). {{{Address|}}}: {{{Publisher|}}}.
 
| BOOK =
 
{{#arraymap:{{{Author(s)|}}}|;|x|[[BibAuthor::x]]}} ({{{Year|}}}) {{{Title|}}}.  {{{Address|}}}: {{{Publisher|}}}.
 
| ARTICLE =  
 
{{#arraymap:{{{Author(s)|}}}|;|x|[[BibAuthor::x]]}} ({{{Year|}}}). {{{Title|}}}.  {{{Journal|}}}, {{{Volume|}}}{{#if:{{{Number|}}}| ({{{Number}}}),|}} pp. {{{Pages|}}}.
 
| INPROCEEDINGS =  
 
{{#arraymap:{{{Author(s)|}}}|;|x|[[BibAuthor::x]]}}. ({{{Year|}}}). {{{Title|}}}  In {{#arraymap:{{{Editor(s)|}}}|;|x|[[BibEditor::x]]}} (Ed.), {{{Booktitle|}}} (pp. {{{Pages|}}}). {{{Address|}}}: {{{Publisher|}}}.
 
| PHDTHESIS =  
 
({{{Year|}}}). {{{Title|}}}. {{{School|}}}, {{{Address|}}} 
 
| TECHREPORT =  
 
{{#arraymap:{{{Author(s)|}}}|;|x|[[BibAuthor::x]]}} ({{{Year}}}). {{{Title|}}}. {{{Address|}}}: {{{Publisher|}}}.
 
| {{#arraymap:{{{Author(s)|}}}|;|x|[[BibAuthor::x]]}} ({{{Year|}}}), {{{Title|}}}
 
 
}}
 
}}
 
+
{{#ask: [[Category:BibEntry]] [[BibKey::{{PAGENAME}}]] | searchlabel = Download BibTex
<span style="font-size:80%;color:red">(NB: Automated formatting: please check details before using!)</span>
+
| ?BibAuthor=author
 
+
| ?BibVolume=volume
{{#ask: [[Has title::{{PAGENAME}}]]  
+
| ?BibYear=year
| ?BibAuthor
+
| ?BibLanguage=language
 +
| ?BibTitle=title
 +
| ?BibType=type
 +
| ?BibKey=crossref
 +
| ?BibJournal=journal
 +
| ?BibURL=url
 +
| ?BibDOI=doi
 +
| ?BibBooktitle=booktitle
 +
| ?BibChapter=chapter
 +
| ?BibEdition=edition
 +
| ?BibEditor=editor
 +
| ?BibHowpublished=howpublished
 +
| ?BibInstitution=institution
 +
| ?BibMonth=month
 +
| ?BibNote=note
 +
| ?BibNumber=number
 +
| ?BibOrganization=organization
 +
| ?BibPages=pages
 +
| ?BibPublisher=publisher
 +
| ?BibSchool=school
 +
| ?BibSeries=series
 +
| ?BibAbstract=abstract
 +
| ?BibTag=keywords
 +
| ?BibAddress=address
 +
| ?Key=key
 +
| format=bibtex
 
}}
 
}}
 
 
  
 
'''Abstract'''
 
'''Abstract'''
Line 151: Line 164:
  
 
[[Category:BibEntry]]
 
[[Category:BibEntry]]
 +
  
 
</includeonly>
 
</includeonly>

Latest revision as of 16:00, 21 January 2023

This is the "BibEntry" template. It should be called in the following format:

{{BibEntry
|BibType=
|Author(s)=
|Title=
|Editor(s)=
|Tag(s)=
|Year=
|Language=
|Howpublished=
|Chapter=
|Address=
|Edition=
|Publisher=
|Month=
|Journal=
|Booktitle=
|Volume=
|Number=
|Pages=
|URL=
|DOI=
|ISBN=
|Organization=
|Institution=
|Type=
|Series=
|Note=
|Abstract=
|Key=
}}

Edit the page to see the template text.