Difference between revisions of "Template:Refp"

From ISFDB
Jump to navigation Jump to search
m (+cat)
(Add includeonly)
 
(One intermediate revision by one other user not shown)
Line 1: Line 1:
<sup><nowiki>[</nowiki>[[Publication:{{{1}}}|{{{4}}}]]<nowiki>]</nowiki></sup><noinclude>
+
<includeonly><sup><nowiki>[</nowiki>[[Publication:{{{1}}}|{{{4}}}]]<nowiki>]</nowiki></sup></includeonly><noinclude>
 
{{{{PAGENAME}}/Doc}}
 
{{{{PAGENAME}}/Doc}}
[[tegory:Reference templates|Refp]]
+
[[Category:Reference templates|Refp]]
 
</noinclude>
 
</noinclude>

Latest revision as of 15:14, 16 October 2008

Usage is {{refp|PubKey|Title|Author|PubDate}} at those points in the article where you want to cite a publication reference. The citation will show the publication's date and it will link to the publication's wiki article.
PubKey is the publication key.
Title is the publication's title.
Author is the publication's author or editor. If there is more than one then just use the first.
PubDate is the publication date.

At present only the the PubKey and PubDate parameters are used but we may start filing publications under the title and/or author at some point and so all four parameters should be included.