Template:ReferenceTemplate: Difference between revisions

From IMAGE
Jump to navigation Jump to search
No edit summary
No edit summary
 
(One intermediate revision by the same user not shown)
Line 23: Line 23:
{{TableRowTemplate|header=Publication type:|prop=HasPublicationType}}
{{TableRowTemplate|header=Publication type:|prop=HasPublicationType}}
{{TableRowTemplate|header=Title:|prop=HasTitle}}
{{TableRowTemplate|header=Title:|prop=HasTitle}}
{{TableRowTemplate|header=Authors:|prop=HasAuthor}}
{{TableRowTemplate|header=Authors:|prop=HasAuthorList}}
{{TableRowTemplate|header=Secondary title:|prop=HasSecondaryTitle}}
{{TableRowTemplate|header=Secondary title:|prop=HasSecondaryTitle}}
{{TableRowTemplate|header=Secondary authors:|prop=HasSecondaryAuthor}}
{{TableRowTemplate|header=Secondary authors:|prop=HasSecondaryAuthor}}
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 09: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.