Template:FormattedReferenceTemplate: Difference between revisions
Jump to navigation
Jump to search
Oostenrijr (talk | contribs) No edit summary |
Oostenrijr (talk | contribs) No edit summary |
||
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|}}}). {{#ifeq:{{{Title|}}}|||{{{Title|}}} | {{#set:HasFormattedReference={{#arraymap:{{{Author|}}}|;|xx|xx|, }} ({{{PublicationYear|}}}). {{#ifeq:{{{Title|}}}|||''{{{Title|}}}'' | ||
}}{{#ifeq:{{{PublicationType|}}}|Report | }}{{#ifeq:{{{PublicationType|}}}|Report | ||
|{{#ifeq:{{{Editor|}}}||| | |{{#ifeq:{{{Editor|}}}|||, {{#arraymap:{{{Editor|}}}|;|zz|zz|, }} (eds.) | ||
}}{{#ifeq:{{{SeriesTitle|}}}||| | }}{{#ifeq:{{{SeriesTitle|}}}|||, {{{SeriesTitle|}}} | ||
}}{{#ifeq:{{{Institution|}}}||| | }}{{#ifeq:{{{Institution|}}}|||, {{{Institution|}}} | ||
}}{{#ifeq:{{{Publisher|}}}||| | }}{{#ifeq:{{{Publisher|}}}|||, {{{Publisher|}}} | ||
}}{{#ifeq:{{{City|}}}||| | }}{{#ifeq:{{{City|}}}|||, {{{City|}}} | ||
}}{{#ifeq:{{{DOI|}}}||| (URL: {{{DOI|}}}) | }}{{#ifeq:{{{DOI|}}}||| (URL: {{{DOI|}}}) | ||
}}{{#ifeq:{{{PBLlink|}}}|||. | }}{{#ifeq:{{{PBLlink|}}}|||. Link to PBL-website: {{{PBLlink|}}} | ||
}}. | }}. | ||
|}}{{#ifeq:{{{PublicationType|}}}|Book | |}}{{#ifeq:{{{PublicationType|}}}|Book | ||
|{{#ifeq:{{{Publisher|}}}||| | |{{#ifeq:{{{Publisher|}}}|||, {{{Publisher|}}} | ||
}}{{#ifeq:{{{City|}}}||| | }}{{#ifeq:{{{City|}}}|||, {{{City|}}} | ||
}}{{#ifeq:{{{Volume|}}}||| | }}{{#ifeq:{{{Volume|}}}|||, {{{Volume|}}} | ||
}}{{#ifeq:{{{DOI|}}}||| | }}{{#ifeq:{{{DOI|}}}|||, URL: {{{DOI|}}} | ||
}}{{#ifeq:{{{PBLlink|}}}|||.<br/>Link to PBL-website: {{{PBLlink|}}} | }}{{#ifeq:{{{PBLlink|}}}|||.<br/>Link to PBL-website: {{{PBLlink|}}} | ||
}}. | }}. | ||
|}}{{#ifeq:{{{PublicationType|}}}|Book section | |}}{{#ifeq:{{{PublicationType|}}}|Book section | ||
|{{#ifeq:{{{Editor|}}}|||. In: {{#arraymap:{{{Editor|}}}|;|yy|yy| | |{{#ifeq:{{{Editor|}}}|||. In: {{#arraymap:{{{Editor|}}}|;|yy|yy|, }} (eds.) | ||
}}{{#ifeq:{{{BookTitle|}}}||| | }}{{#ifeq:{{{BookTitle|}}}|||, ''{{{BookTitle|}}}'' | ||
}}{{#ifeq:{{{Publisher|}}}|||. {{{Publisher|}}} | }}{{#ifeq:{{{Publisher|}}}|||. {{{Publisher|}}} | ||
}}{{#ifeq:{{{City|}}}||| | }}{{#ifeq:{{{City|}}}|||, {{{City|}}} | ||
}}{{#ifeq:{{{Volume|}}}||| | }}{{#ifeq:{{{Volume|}}}|||, {{{Volume|}}} | ||
}}{{#ifeq:{{{Pages|}}}||| | }}{{#ifeq:{{{Pages|}}}|||, pp.{{{Pages|}}} | ||
}}{{#ifeq:{{{DOI|}}}||| | }}{{#ifeq:{{{DOI|}}}|||, URL: {{{DOI|}}} | ||
}}{{#ifeq:{{{PBLlink|}}}|||.<br/>Link to PBL-website: {{{PBLlink|}}} | }}{{#ifeq:{{{PBLlink|}}}|||.<br/>Link to PBL-website: {{{PBLlink|}}} | ||
}}. | }}. | ||
|}}{{#ifeq: {{{PublicationType|}}}|Edited book | |}}{{#ifeq: {{{PublicationType|}}}|Edited book | ||
|{{#ifeq:{{{Editor|}}}||| | |{{#ifeq:{{{Editor|}}}|||, {{#arraymap:{{{Editor|}}}|;|yy|yy|, }} (eds.) | ||
}}{{#ifeq:{{{SeriesTitle|}}}||| | }}{{#ifeq:{{{SeriesTitle|}}}|||, {{{SeriesTitle|}}} | ||
}}{{#ifeq:{{{Publisher|}}}||| | }}{{#ifeq:{{{Publisher|}}}|||, {{{Publisher|}}} | ||
}}{{#ifeq:{{{City|}}}||| | }}{{#ifeq:{{{City|}}}|||, {{{City|}}} | ||
}}{{#ifeq:{{{Volume|}}}||| | }}{{#ifeq:{{{Volume|}}}|||, {{{Volume|}}} | ||
}}{{#ifeq:{{{PBLlink|}}}|||.<br/>Link to PBL-website: {{{PBLlink|}}} | }}{{#ifeq:{{{PBLlink|}}}|||.<br/>Link to PBL-website: {{{PBLlink|}}} | ||
}}. | }}. | ||
Line 58: | Line 58: | ||
|}}{{#ifeq:{{{PublicationType|}}}|Conference proceedings | |}}{{#ifeq:{{{PublicationType|}}}|Conference proceedings | ||
|{{#ifeq:{{{ConferenceName|}}}|||. Paper presented at the {{{ConferenceName|}}} | |{{#ifeq:{{{ConferenceName|}}}|||. Paper presented at the {{{ConferenceName|}}} | ||
}}{{#ifeq:{{{Volume|}}}||| | }}{{#ifeq:{{{Volume|}}}|||, {{{Volume|}}} | ||
}}{{#ifeq:{{{Pages|}}}||| | }}{{#ifeq:{{{Pages|}}}|||, pp.{{{Pages|}}} | ||
}}{{#ifeq:{{{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|}}} | ||
}}. | }}. | ||
|}}{{#ifeq: {{{PublicationType|}}}|Other | |}}{{#ifeq: {{{PublicationType|}}}|Other | ||
|. {{#ifeq:{{{SecondaryAuthor|}}}|||{{#arraymap:{{{SecondaryAuthor|}}}|;|yy|yy| | |. {{#ifeq:{{{SecondaryAuthor|}}}|||{{#arraymap:{{{SecondaryAuthor|}}}|;|yy|yy|, }}. | ||
}}{{#ifeq:{{{SecondaryTitle|}}}||| {{{SecondaryTitle|}}}. | }}{{#ifeq:{{{SecondaryTitle|}}}||| {{{SecondaryTitle|}}}. | ||
}}{{#ifeq:{{{Volume|}}}||| {{{Volume|}}}. | }}{{#ifeq:{{{Volume|}}}||| {{{Volume|}}}. |
Revision as of 11:22, 14 June 2017
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