Beringer et al., 2011: Difference between revisions

From IMAGE
Jump to navigation Jump to search
No edit summary
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=T. Beringer;W. Lucht;S. Schaphoff
|Author=
|Year=2011
|Year=
|Title=Bioenergy production potential of global biomass plantations under environmental and agricultural constraints
|Title=
|PublicationType=Journal article
|DOI=
|Volume5=
|PublicationType=
|Publisher=
|City=
|ISBN=
|BookTitle=
|Editor=
|Editor=
|Publisher2=
|Journal=
|City2=
|Volume=
|Volume=
|Issue=
|Pages=
|Pages=
|ISBN2=
|Conference=
|Editor2=
|HasFormattedReference=
|SeriesTitle=
|Volume4=
|Publisher3=
|City3=
|ISBN3=
|Editor3=
|Institution=
|ReportNumber=
|SeriesTitle2=
|Publisher5=
|City5=
|Journal=Global Change Biology Bioenergy
|Volume2=3
|Issue=4
|Pages2=299-312
|SecondaryTitle=
|SecondaryAuthor=
|Publisher4=
|City4=
|Volume3=
|Pages3=
|Date=
}}
}}
</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.