Template:ReferenceTemplate: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
Line 149: | Line 149: | ||
[[HasISBN::{{{ISBN3|}}}]]</td></tr>}} | [[HasISBN::{{{ISBN3|}}}]]</td></tr>}} | ||
</table> | </table> | ||
<!-- Arraymap function is used to call the FormattedReferenceTemplate with the appropiate 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|PublicationType={{{PublicationType|}}}|Publisher={{#ifeq:{{{Publisher|}}}||{{#ifeq:{{{Publisher2|}}}||{{#ifeq:{{{Publisher3|}}}||{{#ifeq:{{{Publisher4|}}}||{{#ifeq:{{{Publisher5|}}}|||{{{Publisher5|}}}}}|{{{Publisher4|}}}}}|{{{Publisher3|}}}}}|{{{Publisher2|}}}}}|{{{Publisher|}}} | {{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|}}}|| | |||
|{{{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|}}}|| | |||
|{{{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|}}} | |||
}} <!--end FormattedReferenceTemplate call--> | |||
|,,|xx|[[HasFormattedReference::xx]] | |||
|}} | |||
{{#ask:[[HasReference::{{PAGENAME}}]] OR [[HasKeyReference::{{PAGENAME}}]] | {{#ask:[[HasReference::{{PAGENAME}}]] OR [[HasKeyReference::{{PAGENAME}}]] |
Revision as of 08:24, 5 May 2014
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.