Template:FormattedReferenceTemplate: Difference between revisions
Jump to navigation
Jump to search
Oostenrijr (talk | contribs) No edit summary |
Oostenrijr (talk | contribs) No edit summary |
||
(4 intermediate revisions by the same user not shown) | |||
Line 13: | Line 13: | ||
* Other: Fields , separated with commas: Editor, SeriesTitle, Publisher, City, Volume, Pages, DOI, Date | * Other: Fields , separated with commas: Editor, SeriesTitle, Publisher, City, Volume, Pages, DOI, Date | ||
</noinclude><includeonly> | </noinclude><includeonly> | ||
{{#set:HasFormattedReference={{#arraymap:{{{Author|}}}|;|xx|xx|, }} ({{{PublicationYear|}}}). | {{#set:HasFormattedReference={{#arraymap:{{{Author|}}}|;|xx|xx|, }} ({{{PublicationYear|}}}). | ||
{{#ifeq:{{{PublicationType|}}}|Report | {{#ifeq:{{{PublicationType|}}}|Report | ||
|{{#ifeq:{{{Title|}}}||| ''{{{Title|}}}'' | |{{#ifeq:{{{Title|}}}||| ''{{{Title|}}}'' | ||
Line 39: | Line 39: | ||
}}{{#ifeq:{{{City|}}}|||, {{{City|}}} | }}{{#ifeq:{{{City|}}}|||, {{{City|}}} | ||
}}{{#ifeq:{{{Volume|}}}|||, {{{Volume|}}} | }}{{#ifeq:{{{Volume|}}}|||, {{{Volume|}}} | ||
}}{{#ifeq:{{{Pages|}}}|||, pp.{{{Pages|}}} | }}{{#ifeq:{{{Pages|}}}|||, pp. {{{Pages|}}} | ||
}}{{#ifeq:{{{DOI|}}}|||, URL: {{{DOI|}}} | }}{{#ifeq:{{{DOI|}}}|||, URL: {{{DOI|}}} | ||
}}{{#ifeq:{{{PBLlink|}}}|||.<br/>Link to PBL-website: {{{PBLlink|}}} | }}{{#ifeq:{{{PBLlink|}}}|||.<br/>Link to PBL-website: {{{PBLlink|}}} | ||
Line 57: | Line 57: | ||
}}{{#ifeq:{{{Volume|}}}|||, ''{{{Volume|}}}'' | }}{{#ifeq:{{{Volume|}}}|||, ''{{{Volume|}}}'' | ||
}}{{#ifeq:{{{Issue|}}}|||({{{Issue|}}}) | }}{{#ifeq:{{{Issue|}}}|||({{{Issue|}}}) | ||
}}{{#ifeq:{{{Pages|}}}|||, pp.{{{Pages|}}} | }}{{#ifeq:{{{Pages|}}}|||, pp. {{{Pages|}}} | ||
}}{{#ifeq:{{{DOI|}}}|||, doi: http://dx.doi.org/{{{DOI|}}} | }}{{#ifeq:{{{DOI|}}}|||, doi: http://dx.doi.org/{{{DOI|}}} | ||
}}{{#ifeq:{{{PBLlink|}}}|||.<br/> Link to PBL-website: {{{PBLlink|}}} | }}{{#ifeq:{{{PBLlink|}}}|||.<br/> Link to PBL-website: {{{PBLlink|}}} | ||
Line 65: | Line 65: | ||
}}{{#ifeq:{{{ConferenceName|}}}|||. Paper presented at the {{{ConferenceName|}}} | }}{{#ifeq:{{{ConferenceName|}}}|||. Paper presented at the {{{ConferenceName|}}} | ||
}}{{#ifeq:{{{Volume|}}}|||, {{{Volume|}}} | }}{{#ifeq:{{{Volume|}}}|||, {{{Volume|}}} | ||
}}{{#ifeq:{{{Pages|}}}|||, pp.{{{Pages|}}} | }}{{#ifeq:{{{Pages|}}}|||, pp. {{{Pages|}}} | ||
}}{{#ifeq:{{{DOI|}}}|||, doi: http://dx.doi.org/{{{DOI|}}} | }}{{#ifeq:{{{DOI|}}}|||, doi: http://dx.doi.org/{{{DOI|}}} | ||
}}{{#ifeq:{{{PBLlink|}}}|||.<br/> Link to PBL-website: {{{PBLlink|}}} | }}{{#ifeq:{{{PBLlink|}}}|||.<br/> Link to PBL-website: {{{PBLlink|}}} | ||
Line 87: | Line 87: | ||
|HasTitle={{{Title|}}} | |HasTitle={{{Title|}}} | ||
|HasAuthor={{{Author|}}}|+sep=; | |HasAuthor={{{Author|}}}|+sep=; | ||
|HasAuthorList={{#arraymap:{{{Author|}}}|;|xx|xx|, }} | |||
|HasSecondaryTitle={{{SecondaryTitle|}}} | |HasSecondaryTitle={{{SecondaryTitle|}}} | ||
|HasSecondaryAuthor={{{SecondaryAuthor|}}}|+sep=; | |HasSecondaryAuthor={{{SecondaryAuthor|}}}|+sep=; | ||
Line 107: | Line 108: | ||
|HasConferenceName={{{ConferenceName|}}} | |HasConferenceName={{{ConferenceName|}}} | ||
}}<!-- | }}<!-- | ||
-->{{#ifexpr:{{{PublicationYear|}}}< 2001 | -->{{#iferror: {{#expr:{{{PublicationYear|}}} < 2001 }}|{{#set:HasPeriod= 2016 up to today}} | ||
|{{#ifexpr:{{{PublicationYear|}}}< 2001 | |||
|{{#set:HasPeriod=2000 and before}} | |{{#set:HasPeriod=2000 and before}} | ||
|{{#ifexpr:{{{PublicationYear|}}} < 2006 | |{{#ifexpr:{{{PublicationYear|}}} < 2006 | ||
Line 119: | Line 121: | ||
}} | }} | ||
}} | }} | ||
}} | |||
}}</includeonly> | }}</includeonly> |
Latest revision as of 12:35, 13 June 2018
params: all reference parameters to set the reference related properties and create the formatted reference string
Assumption : There is always an Author, PublicationYear and Title
Below the templates as used in the IMAGEbook endnote library, (needs update)
- report: Author (Year). Title, Series Editor` (ed.)^(eds.),` Series Title|, Institution, Publisher, Place Published| `( ``URL:` URL) `(DOI`: DOI`)` |.
- Book: Author (Year). Title| Series Title|. Publisher, Place Published, URL|.
- Book section: Author (Year). Title|. `In`: Editor` (ed.)^(eds.)`, Book Title|. Publisher, Place Published, `pp.` Pages, URL|.
- Edited book: Editor` (ed.)^(eds.) ` (Year). Title|. Series Title, Series Editor, Publisher, Place Published, URL|.
- Journal article: Author (Year). Title. Journal| Volume|( Issue )|,` pp.` Pages `(DOI`: DOI)|.
- Conference proceedings: Author (Year). Title. `Paper presented at the`ConferenceName| Volume|,` pp.` Pages `(DOI`: DOI)
- Other: Fields , separated with commas: Editor, SeriesTitle, Publisher, City, Volume, Pages, DOI, Date