Template:ReferenceTemplate: Difference between revisions
Jump to navigation
Jump to search
Oostenrijr (talk | contribs) No edit summary |
Oostenrijr (talk | contribs) No edit summary |
||
Line 23: | Line 23: | ||
<tr> | <tr> | ||
<td class="PageWidthTableFirstCell">'''Publication type:'''</td> | <td class="PageWidthTableFirstCell">'''Publication type:'''</td> | ||
<td | <td class="PageWidthTableRemainderCell">{{#ifeq:{{{PublicationType|}}}||''unknown''| | ||
[[HasPublicationType::{{{PublicationType|}}}]]}}</td></tr> | [[HasPublicationType::{{{PublicationType|}}}]]}}</td></tr> | ||
{{#ifeq:{{{Title|}}}||| | {{#ifeq:{{{Title|}}}||| | ||
<tr><td | <tr><td class="PageWidthTableFirstCell">'''Title:'''</td> | ||
<td | <td class="PageWidthTableRemainderCell"> | ||
[[HasTitle::{{{Title|}}}]]</td></tr> | [[HasTitle::{{{Title|}}}]]</td></tr> | ||
}}{{#ifeq:{{{Author|}}}||| | }}{{#ifeq:{{{Author|}}}||| | ||
<tr><td | <tr><td class="PageWidthTableFirstCell">'''Authors:'''</td> | ||
<td | <td class="PageWidthTableRemainderCell">{{#arraymap:{{{Author|}}}|;|x| | ||
[[HasAuthor::x]]}}</td></tr> | [[HasAuthor::x]]}}</td></tr> | ||
}}{{#ifeq:{{{SecondaryTitle|}}}||| | }}{{#ifeq:{{{SecondaryTitle|}}}||| | ||
<tr><td | <tr><td class="PageWidthTableFirstCell">'''Secondary title:'''</td> | ||
<td | <td class="PageWidthTableRemainderCell"> | ||
[[HasSecondaryTitle::{{{SecondaryTitle|}}}]]</td></tr> | [[HasSecondaryTitle::{{{SecondaryTitle|}}}]]</td></tr> | ||
}}{{#ifeq:{{{SecondaryAuthor|}}}||| | }}{{#ifeq:{{{SecondaryAuthor|}}}||| | ||
<tr><td | <tr><td class="PageWidthTableFirstCell">'''Secondary authors:'''</td> | ||
<td | <td class="PageWidthTableRemainderCell">{{#arraymap:{{{SecondaryAuthor|}}}|;|x| | ||
[[HasSecondaryAuthor::x]]}}</td></tr> | [[HasSecondaryAuthor::x]]}}</td></tr> | ||
}}{{#ifeq:{{{Year|}}}||| | }}{{#ifeq:{{{Year|}}}||| | ||
<tr><td | <tr><td class="PageWidthTableFirstCell">'''Year:'''</td><td class="PageWidthTableRemainderCell"> | ||
[[HasPublicationYear::{{{Year|}}}]]</td></tr> | [[HasPublicationYear::{{{Year|}}}]]</td></tr> | ||
}}{{#ifeq:{{{Date|}}}||| | }}{{#ifeq:{{{Date|}}}||| | ||
<tr><td | <tr><td class="PageWidthTableFirstCell">'''Date:'''</td><td class="PageWidthTableRemainderCell"> | ||
[[HasPublicationDate::{{{Date|}}}]]</td></tr> | [[HasPublicationDate::{{{Date|}}}]]</td></tr> | ||
}}{{#ifeq:{{{BookTitle|}}}||| | }}{{#ifeq:{{{BookTitle|}}}||| | ||
<tr><td | <tr><td class="PageWidthTableFirstCell">'''Book title:'''</td><td class="PageWidthTableRemainderCell"> | ||
[[HasBookTitle::{{{BookTitle|}}}]]</td></tr> | [[HasBookTitle::{{{BookTitle|}}}]]</td></tr> | ||
}}{{#ifeq:{{{SeriesTitle|}}}||| | }}{{#ifeq:{{{SeriesTitle|}}}||| | ||
<tr><td | <tr><td class="PageWidthTableFirstCell">'''Series title:'''</td><td class="PageWidthTableRemainderCell"> | ||
[[HasSeriesTitle::{{{SeriesTitle|}}}]]</td></tr> | [[HasSeriesTitle::{{{SeriesTitle|}}}]]</td></tr> | ||
}}{{#ifeq:{{{SeriesTitle2|}}}||| | }}{{#ifeq:{{{SeriesTitle2|}}}||| | ||
<tr><td | <tr><td class="PageWidthTableFirstCell">'''Series title:'''</td><td class="PageWidthTableRemainderCell"> | ||
[[HasSeriesTitle::{{{SeriesTitle2|}}}]]</td></tr> | [[HasSeriesTitle::{{{SeriesTitle2|}}}]]</td></tr> | ||
}}{{#ifeq:{{{Editor|}}}||| | }}{{#ifeq:{{{Editor|}}}||| | ||
<tr><td | <tr><td class="PageWidthTableFirstCell">'''Editors:'''</td> | ||
<td | <td class="PageWidthTableFirstCell">{{#arraymap:{{{Editor|}}}|;|x| | ||
[[HasEditor::x]]}}</td></tr> | [[HasEditor::x]]}}</td></tr> | ||
}}{{#ifeq:{{{Editor2|}}}||| | }}{{#ifeq:{{{Editor2|}}}||| | ||
<tr><td | <tr><td class="PageWidthTableFirstCell">'''Editors:'''</td> | ||
<td | <td class="PageWidthTableRemainderCell">{{#arraymap:{{{Editor2|}}}|;|x| | ||
[[HasEditor::x]]}}</td></tr> | [[HasEditor::x]]}}</td></tr> | ||
}}{{#ifeq:{{{Editor3|}}}||| | }}{{#ifeq:{{{Editor3|}}}||| | ||
<tr><td | <tr><td class="PageWidthTableFirstCell">'''Editors:'''</td> | ||
<td | <td class="PageWidthTableRemainderCell">{{#arraymap:{{{Editor3|}}}|;|x| | ||
[[HasEditor::x]]}}</td></tr> | [[HasEditor::x]]}}</td></tr> | ||
}}{{#ifeq:{{{Journal|}}}||| | }}{{#ifeq:{{{Journal|}}}||| | ||
<tr><td | <tr><td class="PageWidthTableFirstCell">'''Journal:'''</td><td class="PageWidthTableRemainderCell"> | ||
[[HasJournal::{{{Journal|}}}]]</td></tr> | [[HasJournal::{{{Journal|}}}]]</td></tr> | ||
}}{{#ifeq:{{{Volume|}}}||| | }}{{#ifeq:{{{Volume|}}}||| | ||
<tr><td | <tr><td class="PageWidthTableFirstCell">'''Volume:'''</td><td class="PageWidthTableRemainderCell"> | ||
[[HasVolume::{{{Volume|}}}]]</td></tr> | [[HasVolume::{{{Volume|}}}]]</td></tr> | ||
}}{{#ifeq:{{{Volume2|}}}||| | }}{{#ifeq:{{{Volume2|}}}||| | ||
<tr><td | <tr><td class="PageWidthTableFirstCell">'''Volume:'''</td><td class="PageWidthTableRemainderCell"> | ||
[[HasVolume::{{{Volume2|}}}]]</td></tr> | [[HasVolume::{{{Volume2|}}}]]</td></tr> | ||
}}{{#ifeq:{{{Volume3|}}}||| | }}{{#ifeq:{{{Volume3|}}}||| | ||
<tr><td | <tr><td class="PageWidthTableFirstCell">'''Volume:'''</td><td class="PageWidthTableRemainderCell"> | ||
[[HasVolume::{{{Volume3|}}}]]</td></tr> | [[HasVolume::{{{Volume3|}}}]]</td></tr> | ||
}}{{#ifeq:{{{Volume4|}}}||| | }}{{#ifeq:{{{Volume4|}}}||| | ||
<tr><td | <tr><td class="PageWidthTableFirstCell">'''Volume:'''</td><td class="PageWidthTableRemainderCell"> | ||
[[HasVolume::{{{Volume4|}}}]]</td></tr> | [[HasVolume::{{{Volume4|}}}]]</td></tr> | ||
}}{{#ifeq:{{{Volume5|}}}||| | }}{{#ifeq:{{{Volume5|}}}||| | ||
<tr><td | <tr><td class="PageWidthTableFirstCell">'''Volume:'''</td><td class="PageWidthTableRemainderCell"> | ||
[[HasVolume::{{{Volume5|}}}]]</td></tr> | [[HasVolume::{{{Volume5|}}}]]</td></tr> | ||
}}{{#ifeq:{{{Issue|}}}||| | }}{{#ifeq:{{{Issue|}}}||| | ||
<tr><td | <tr><td class="PageWidthTableFirstCell">'''Issue:'''</td><td class="PageWidthTableRemainderCell"> | ||
[[HasIssue::{{{Issue|}}}]]</td></tr> | [[HasIssue::{{{Issue|}}}]]</td></tr> | ||
}}{{#ifeq:{{{Pages|}}}||| | }}{{#ifeq:{{{Pages|}}}||| | ||
<tr><td | <tr><td class="PageWidthTableFirstCell">'''Pages:'''</td><td class="PageWidthTableRemainderCell"> | ||
[[HasPages::{{{Pages|}}}]]</td></tr> | [[HasPages::{{{Pages|}}}]]</td></tr> | ||
}}{{#ifeq:{{{Pages2|}}}||| | }}{{#ifeq:{{{Pages2|}}}||| | ||
<tr><td | <tr><td class="PageWidthTableFirstCell">'''Pages:'''</td><td class="PageWidthTableRemainderCell"> | ||
[[HasPages::{{{Pages2|}}}]]</td></tr> | [[HasPages::{{{Pages2|}}}]]</td></tr> | ||
}}{{#ifeq:{{{Pages3|}}}||| | }}{{#ifeq:{{{Pages3|}}}||| | ||
<tr><td | <tr><td class="PageWidthTableFirstCell">'''Pages:'''</td><td class="PageWidthTableRemainderCell"> | ||
[[HasPages::{{{Pages3|}}}]]</td></tr> | [[HasPages::{{{Pages3|}}}]]</td></tr> | ||
}}{{#ifeq:{{{Publisher|}}}||| | }}{{#ifeq:{{{Publisher|}}}||| | ||
<tr><td | <tr><td class="PageWidthTableFirstCell">'''Publisher:'''</td><td class="PageWidthTableRemainderCell"> | ||
[[HasPublisher::{{{Publisher|}}}]]</td></tr> | [[HasPublisher::{{{Publisher|}}}]]</td></tr> | ||
}}{{#ifeq:{{{Publisher2|}}}||| | }}{{#ifeq:{{{Publisher2|}}}||| | ||
<tr><td | <tr><td class="PageWidthTableFirstCell">'''Publisher:'''</td><td class="PageWidthTableRemainderCell"> | ||
[[HasPublisher::{{{Publisher2|}}}]]</td></tr> | [[HasPublisher::{{{Publisher2|}}}]]</td></tr> | ||
}}{{#ifeq:{{{Publisher3|}}}||| | }}{{#ifeq:{{{Publisher3|}}}||| | ||
<tr><td | <tr><td class="PageWidthTableFirstCell">'''Publisher:'''</td><td class="PageWidthTableRemainderCell"> | ||
[[HasPublisher::{{{Publisher3|}}}]]</td></tr> | [[HasPublisher::{{{Publisher3|}}}]]</td></tr> | ||
}}{{#ifeq:{{{Publisher4|}}}||| | }}{{#ifeq:{{{Publisher4|}}}||| | ||
<tr><td | <tr><td class="PageWidthTableFirstCell">'''Publisher:'''</td><td class="PageWidthTableRemainderCell"> | ||
[[HasPublisher::{{{Publisher4|}}}]]</td></tr> | [[HasPublisher::{{{Publisher4|}}}]]</td></tr> | ||
}}{{#ifeq:{{{Publisher5|}}}||| | }}{{#ifeq:{{{Publisher5|}}}||| | ||
<tr><td | <tr><td class="PageWidthTableFirstCell">'''Publisher:'''</td><td class="PageWidthTableRemainderCell"> | ||
[[HasPublisher::{{{Publisher5|}}}]]</td></tr> | [[HasPublisher::{{{Publisher5|}}}]]</td></tr> | ||
}}{{#ifeq:{{{City|}}}||| | }}{{#ifeq:{{{City|}}}||| | ||
<tr><td | <tr><td class="PageWidthTableFirstCell">'''City:'''</td><td class="PageWidthTableRemainderCell"> | ||
[[HasCity::{{{City|}}}]]</td></tr> | [[HasCity::{{{City|}}}]]</td></tr> | ||
}}{{#ifeq:{{{City2|}}}||| | }}{{#ifeq:{{{City2|}}}||| | ||
<tr><td | <tr><td class="PageWidthTableFirstCell">'''City:'''</td><td class="PageWidthTableRemainderCell"> | ||
[[HasCity::{{{City2|}}}]]</td></tr> | [[HasCity::{{{City2|}}}]]</td></tr> | ||
}}{{#ifeq:{{{City3|}}}||| | }}{{#ifeq:{{{City3|}}}||| | ||
<tr><td | <tr><td class="PageWidthTableFirstCell">'''City:'''</td><td class="PageWidthTableRemainderCell"> | ||
[[HasCity::{{{City3|}}}]]</td></tr> | [[HasCity::{{{City3|}}}]]</td></tr> | ||
}}{{#ifeq:{{{City4|}}}||| | }}{{#ifeq:{{{City4|}}}||| | ||
<tr><td | <tr><td class="PageWidthTableFirstCell">'''City:'''</td><td class="PageWidthTableRemainderCell"> | ||
[[HasCity::{{{City4|}}}]]</td></tr> | [[HasCity::{{{City4|}}}]]</td></tr> | ||
}}{{#ifeq:{{{City5|}}}||| | }}{{#ifeq:{{{City5|}}}||| | ||
<tr><td | <tr><td class="PageWidthTableFirstCell">'''City:'''</td><td class="PageWidthTableRemainderCell"> | ||
[[HasCity::{{{City5|}}}]]</td></tr> | [[HasCity::{{{City5|}}}]]</td></tr> | ||
}}{{#ifeq:{{{Institution|}}}||| | }}{{#ifeq:{{{Institution|}}}||| | ||
<tr><td | <tr><td class="PageWidthTableFirstCell">'''Institution:'''</td><td class="PageWidthTableRemainderCell"> | ||
[[HasInstitution::{{{Institution|}}}]]</td></tr> | [[HasInstitution::{{{Institution|}}}]]</td></tr> | ||
}}{{#ifeq:{{{ReportNumber|}}}||| | }}{{#ifeq:{{{ReportNumber|}}}||| | ||
<tr><td | <tr><td class="PageWidthTableFirstCell">'''Report number:'''</td><td class="PageWidthTableRemainderCell"> | ||
[[HasReportNumber::{{{ReportNumber|}}}]]</td></tr> | [[HasReportNumber::{{{ReportNumber|}}}]]</td></tr> | ||
}}{{#ifeq:{{{PBL-link|}}}||| | }}{{#ifeq:{{{PBL-link|}}}||| | ||
<tr><td | <tr><td class="PageWidthTableFirstCell">'''Link to the PBL-website:'''</td><td class="PageWidthTableRemainderCell"> | ||
[[HasPBLlink::{{{PBL-link|}}}]]</td></tr> | [[HasPBLlink::{{{PBL-link|}}}]]</td></tr> | ||
}}{{#ifeq:{{{DOI|}}}||| | }}{{#ifeq:{{{DOI|}}}||| | ||
<tr><td | <tr><td class="PageWidthTableFirstCell">'''DOI or URL:'''</td><td class="PageWidthTableRemainderCell"> | ||
[[HasDOI::{{{DOI|}}}]]</td></tr> | [[HasDOI::{{{DOI|}}}]]</td></tr> | ||
}}{{#ifeq:{{{ISBN|}}}||| | }}{{#ifeq:{{{ISBN|}}}||| | ||
<tr><td | <tr><td class="PageWidthTableFirstCell">'''ISBN:'''</td><td class="PageWidthTableRemainderCell"> | ||
[[HasISBN::{{{ISBN|}}}]]</td></tr> | [[HasISBN::{{{ISBN|}}}]]</td></tr> | ||
}}{{#ifeq:{{{ISBN2|}}}|||<tr><td | }}{{#ifeq:{{{ISBN2|}}}|||<tr><td class="PageWidthTableFirstCell">'''ISBN:'''</td><td class="PageWidthTableRemainderCell"> | ||
[[HasISBN::{{{ISBN2|}}}]]</td></tr> | [[HasISBN::{{{ISBN2|}}}]]</td></tr> | ||
}}{{#ifeq:{{{ISBN3|}}}||| | }}{{#ifeq:{{{ISBN3|}}}||| | ||
<tr><td | <tr><td class="PageWidthTableFirstCell">'''ISBN:'''</td><td class="PageWidthTableRemainderCell"> | ||
[[HasISBN::{{{ISBN3|}}}]]</td></tr>}} | [[HasISBN::{{{ISBN3|}}}]]</td></tr>}} | ||
<tr><td | <tr><td class="PageWidthTableFirstCell">'''Citation:'''</td><td class="PageWidthTableRemainderCell">{{#show:{{PAGENAME}}|?HasFormattedReference}}</td></tr> | ||
</table> | </table> | ||
<!-- Arraymap function is used to call the FormattedReferenceTemplate with the | <!-- Arraymap function is used to call the FormattedReferenceTemplate with the appropriate parameters and then display and assign the result to the property "HasFormattedReference". This property can be used whenever you need a reference in citation format. --> | ||
{{#arraymap: | {{#arraymap: | ||
{{FormattedReferenceTemplate | {{FormattedReferenceTemplate |
Revision as of 19:03, 9 June 2017
This is the "ReferenceTemplate" template. It should be called in the following format:
{{ReferenceTemplate |Author= |Year= |Title= |DOI= |PublicationType= |Editor= |Journal= |Volume= |Issue= |Pages= |Conference= |HasFormattedReference= }}
Edit the page to see the template text.