Template:ReferenceTemplate: Difference between revisions

From IMAGE
Jump to navigation Jump to search
No edit summary
No edit summary
Line 107: Line 107:
   |format=count
   |format=count
}}|0|[[Category:IMAGE publication]]|[[Category:Reference]]}}
}}|0|[[Category:IMAGE publication]]|[[Category:Reference]]}}
<!-- determine the publicationperiod -->
{{#ifexpr:{{#show: {{PAGENAME}}|? HasPublicationYear}} < 2001
    |{{#set:HasPeriod=2000 and before}}
    |{{#ifexpr:{{#show: {{PAGENAME}}|? HasPublicationYear}} < 2006
        |{{#set:HasPeriod= 2001-2005}}
        |{{#ifexpr:{{#show: {{PAGENAME}}|? HasPublicationYear}} < 2011
            |{{#set:HasPeriod= 2006-2010}}
            |{{#ifexpr:{{#show: {{PAGENAME}}|? HasPublicationYear}} < 2016
                |{{#set:HasPeriod= 2011-2015}}
                |{{#set:HasPeriod= 2016 up to today}}
            }}
        }}
    }}
}}
</includeonly>
</includeonly>

Revision as of 11:11, 14 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.