Difference between revisions of "Template:BibEntry"

From emcawiki
Jump to: navigation, search
 
(52 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
{{#ifexpr: 1 > 0 | yes }}
 
 
 
{{#switch: {{{BibType|}}}
 
| INCOLLECTION =  
 
{{#arraymap:{{{Author(s)|}}}|;|x|[[BibAuthor::x]]}}. ({{{Year|}}}). {{{Title|}}}  In {{#ifexpr: {{#arraymap:{{{Editor(s)|}}}|;|x|[[BibEditor::x]]}} > 1 | multieds}} (Ed.), {{{Booktitle|}}}.  {{{Address|}}}: {{{Publisher|}}}: {{{Pages|}}}
 
| BOOK =  
 
{{#arraymap:{{{Author(s)|}}}|;|x|[[BibAuthor::x]]}} {{#ifexpr:{{#arraysize:{{{{#arraymap:{{{Editor(s)|}}}|;|x|[[BibEditor::x]]}}}}}} > 1 | multieds}} ({{{Year|}}}) {{{Title|}}}.  {{{Address|}}}: {{{Publisher|}}}
 
|  ARTICLE =  
 
{{#arraymap:{{{Author(s)|}}}|;|x|[[BibAuthor::x]]}} ({{{Year|}}}) '{{{Title|}}}',  {{{Journal|}}} {{{Volume|}}} {{{Number|}}}:  {{{Pages|}}}
 
| INPROCEEDINGS =
 
{{#arraymap:{{{Author(s)|}}}|;|x|[[BibAuthor::x]]}} ({{{Year|}}}) '{{{Title|}}}'.  In: {{{Booktitle|}}}. {{{Publisher|}}}: {{{Pages|}}}
 
| PHDTHESIS =  
 
{{#arraymap:{{{Author(s)|}}}|;|x|[[BibAuthor::x]]}} ({{{Year|}}}), ''{{{Title|}}}''., {{{School|}}}, {{{Address|}}} 
 
| TECHREPORT =
 
{{{Institution|}}}.  {{{Title|}}}.  {{{Address|}}}: {{{Publisher|}}}, {{{Year|}}}.
 
| {{#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}}]] | searchlabel=Download BibTex
+
| ?BibYear=year
| ?BibAuthor=author
+
| ?BibLanguage=language
| ?BibVolume=volume
+
| ?BibTitle=title
| ?BibYear=year
+
| ?BibType=type
| ?BibTitle=title
+
| ?BibKey=crossref
| ?BibType=type
+
| ?BibJournal=journal
| ?BibJournal=journal
+
| ?BibURL=url
| ?BibURL=url
+
| ?BibDOI=doi
| ?BibDOI=doi
+
| ?BibBooktitle=booktitle
| ?BibBooktitle=booktitle
+
| ?BibChapter=chapter
| ?BibChapter=chapter
+
| ?BibEdition=edition
| ?BibEdition=edition
+
| ?BibEditor=editor
| ?BibEditor=editor
+
| ?BibHowpublished=howpublished
| ?BibHowpublished=howpublished
+
| ?BibInstitution=institution
| ?BibInstitution=institution
+
| ?BibMonth=month
| ?BibKey=key
+
| ?BibNote=note
| ?BibMonth=month
+
| ?BibNumber=number
| ?BibNote=note
+
| ?BibOrganization=organization
| ?BibNumber=number
+
| ?BibPages=pages
| ?BibOrganization=organization
+
| ?BibPublisher=publisher
| ?BibPages=pages
+
| ?BibSchool=school
| ?BibPublisher=publisher
+
| ?BibSeries=series
| ?BibSchool=school
+
| ?BibAbstract=abstract
| ?BibSeries=series
+
| ?BibTag=keywords
| ?BibAbstract=abstract
+
| ?BibAddress=address
| ?BibTag=keywords
+
| ?Key=key
| ?BibType=type
+
| format=bibtex
| format=bibtex
 
 
}}
 
}}
 
  
 
'''Abstract'''
 
'''Abstract'''
Line 178: 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.