Beringer et al., 2011: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
Oostenrijr (talk | contribs) No edit summary |
||
Line 1: | Line 1: | ||
<noinclude> | |||
This is the "ReferenceTemplate" template. | |||
It should be called in the following format: | |||
<pre> | |||
{{ReferenceTemplate | {{ReferenceTemplate | ||
|Author= | |Author= | ||
|Year= | |Year= | ||
|Title= | |Title= | ||
| | |DOI= | ||
| | |PublicationType= | ||
|Editor= | |Editor= | ||
| | |Journal= | ||
|Volume= | |Volume= | ||
|Issue= | |||
|Pages= | |Pages= | ||
| | |Conference= | ||
| | |HasFormattedReference= | ||
}} | }} | ||
</pre> | |||
Edit the page to see the template text. | |||
</noinclude><includeonly> | |||
<table class="PageWidthTableTemplate"> | |||
{{TableRowTemplate|header=Publication type:|prop=HasPublicationType}} | |||
<!--{{TableRowTemplate|header=Title:|prop=HasTitle}} | |||
{{TableRowTemplate|header=Authors:|prop=HasAuthor}} | |||
{{TableRowTemplate|header=Secondary title:|prop=HasSecondaryTitle}} | |||
{{TableRowTemplate|header=Secondary authors:|prop=HasSecondaryAuthor}} | |||
{{TableRowTemplate|header=Year:|prop=HasPublicationYear}} | |||
{{TableRowTemplate|header=Date:|prop=HasPublicationDate}} | |||
{{TableRowTemplate|header=Book title:|prop=HasBookTitle}} | |||
{{TableRowTemplate|header=Series title:|prop=HasSeriesTitle}} | |||
{{TableRowTemplate|header=Conference name:|prop=HasConferenceName}} | |||
{{TableRowTemplate|header=Volume:|prop=HasVolume}} | |||
{{TableRowTemplate|header=Issue:|prop=HasIssue}} | |||
{{TableRowTemplate|header=Pages:|prop=HasPages}} | |||
{{TableRowTemplate|header=Publisher:|prop=HasPublisher}} | |||
{{TableRowTemplate|header=City:|prop=HasCity}} | |||
{{TableRowTemplate|header=Institution:|prop=HasInstitution}} | |||
{{TableRowTemplate|header=Report number:|prop=HasReportNumber}} | |||
{{TableRowTemplate|header=Link to the PBL-website:|prop=HasPBLlink}} | |||
{{TableRowTemplate|header=DOI or URL:|prop=HasDOI}} | |||
{{TableRowTemplate|header=ISBN:|prop=HasISBN}} | |||
{{TableRowTemplate|header=Authors:|prop=HasAuthor}} | |||
{{TableRowTemplate|header=Authors:|prop=HasAuthor}} | |||
{{TableRowTemplate|header=Citation:|prop=HasFormattedReference}}--> | |||
</table> | |||
<!-- Arraymap function is used to call the FormattedReferenceTemplate with all reference 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: | |||
{{FormattedReferenceTemplate | |||
|PublicationType={{{PublicationType|}}} | |||
|Publisher={{#ifeq:{{{Publisher|}}}|| | |||
{{#ifeq:{{{Publisher2|}}}|| | |||
{{#ifeq:{{{Publisher3|}}}|| | |||
{{#ifeq:{{{Publisher4|}}}|| | |||
{{#ifeq:{{{Publisher5|}}}|| | |||
|{{{Publisher5|}}} | |||
}} | |||
|{{{Publisher4|}}} | |||
}} | |||
|{{{Publisher3|}}} | |||
}} | |||
|{{{Publisher2|}}} | |||
}} | |||
|{{{Publisher|}}} | |||
}} | |||
|ISBN={{#ifeq:{{{ISBN|}}}|| | |||
{{#ifeq:{{{ISBN2|}}}|| | |||
{{#ifeq:{{{ISBN3|}}}|| | |||
|{{{ISBN3|}}} | |||
}} | |||
|{{{ISBN2|}}} | |||
}} | |||
|{{{ISBN|}}} | |||
}} | |||
|Editor={{#ifeq:{{{Editor|}}}|| | |||
{{#ifeq:{{{Editor2|}}}|| | |||
{{#ifeq:{{{Editor3|}}}|| | |||
|{{{Editor3|}}} | |||
}} | |||
|{{{Editor2|}}} | |||
}} | |||
|{{{Editor|}}} | |||
}} | |||
|Pages={{#ifeq:{{{Pages|}}}|| | |||
{{#ifeq:{{{Pages2|}}}|| | |||
{{#ifeq:{{{Pages3|}}}|| | |||
{{#ifeq:{{{Pages4|}}}|| | |||
|{{{Pages4|}}} | |||
}} | |||
|{{{Pages3|}}} | |||
}} | |||
|{{{Pages2|}}} | |||
}} | |||
|{{{Pages|}}} | |||
}} | |||
|SeriesTitle={{#ifeq:{{{SeriesTitle|}}}|| | |||
{{#ifeq:{{{SeriesTitle2|}}}|| | |||
|{{{SeriesTitle2|}}} | |||
}} | |||
|{{{SeriesTitle|}}} | |||
}} | |||
|City={{#ifeq:{{{City|}}}|| | |||
{{#ifeq:{{{City2|}}}|| | |||
{{#ifeq:{{{City3|}}}|| | |||
{{#ifeq:{{{City4|}}}|| | |||
{{#ifeq:{{{City5|}}}|| | |||
|{{{City5|}}} | |||
}} | |||
|{{{City4|}}} | |||
}} | |||
|{{{City3|}}} | |||
}} | |||
|{{{City2|}}} | |||
}} | |||
|{{{City|}}} | |||
}} | |||
|Volume={{#ifeq:{{{Volume|}}}|| | |||
{{#ifeq:{{{Volume2|}}}|| | |||
{{#ifeq:{{{Volume3|}}}|| | |||
{{#ifeq:{{{Volume4|}}}|| | |||
{{#ifeq:{{{Volume5|}}}|| | |||
{{#ifeq:{{{Volume6|}}}|| | |||
|{{{Volume6|}}} | |||
}} | |||
|{{{Volume5|}}} | |||
}} | |||
|{{{Volume4|}}} | |||
}} | |||
|{{{Volume3|}}} | |||
}} | |||
|{{{Volume2|}}} | |||
}} | |||
|{{{Volume|}}} | |||
}} | |||
|Author={{{Author|}}} | |||
|SecondaryTitle={{{SecondaryTitle|}}} | |||
|SecondaryAuthor={{{SecondaryAuthor|}}} | |||
|PublicationYear={{{Year|}}} | |||
|Date={{{Date|}}} | |||
|BookTitle={{{BookTitle|}}} | |||
|Institution={{{Institution|}}} | |||
|ReportNumber={{{ReportNumber|}}} | |||
|PBLlink={{{PBL-link|}}} | |||
|DOI={{{DOI|}}} | |||
|Issue={{{Issue|}}} | |||
|Title={{{Title|}}} | |||
|Journal={{{Journal|}}} | |||
|ConferenceName={{{ConferenceName|}}} | |||
}} <!--end FormattedReferenceTemplate call--> | |||
|,,|xx|{{#set:HasFormattedReference=xx}} | |||
|}} | |||
<!-- [[:+]] restricts the query to the Main namespace --> | |||
{{#ask:[[HasReference::{{PAGENAME}}]][[:+]] OR [[HasKeyReference::{{PAGENAME}}]][[:+]] | |||
|mainlabel= | |||
|?Category#-= | |||
|format=ul | |||
|intro=This reference is used on the following pages: | |||
}}For an overview of all references see [[All references table overview]] or [[All references overview]] (citation format) | |||
[[Category:Reference]] | |||
</includeonly> |
Revision as of 13:09, 12 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.