Template:ReferenceTemplate: Difference between revisions

From IMAGE
Jump to navigation Jump to search
No edit summary
No edit summary
 
Line 93: Line 93:
}}
}}


<!-- [[:+]] restricts the query to the Main namespace -->
{{#ask:[[HasReference::{{PAGENAME}}]] OR [[HasKeyReference::{{PAGENAME}}]]
{{#ask:[[HasReference::{{PAGENAME}}]][[:+]] OR [[HasKeyReference::{{PAGENAME}}]][[:+]]
|mainlabel=
|mainlabel=
|?Category#-=  
|?Category#-=  
Line 104: Line 103:
The category Reference is a subset of IMAGE publication-->
The category Reference is a subset of IMAGE publication-->
{{#ifeq:
{{#ifeq:
{{#ask:[[HasReference::{{PAGENAME}}]][[:+]] OR [[HasKeyReference::{{PAGENAME}}]][[:+]]
{{#ask:[[HasReference::{{PAGENAME}}]] OR [[HasKeyReference::{{PAGENAME}}]]
   |format=count
   |format=count
}}|0|[[Category:IMAGE publication]]|[[Category:Reference]]}}
}}|0|[[Category:IMAGE publication]]|[[Category:Reference]]}}
</includeonly>
</includeonly>

Latest revision as of 08:58, 11 March 2020

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.