Template:Pub: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
| Line 1: | Line 1: | ||
<includeonly>[http://www.cs.brown.edu/research/vis/results/pubs.html#{{{1}}} {{{2|{{{1}}}‌}}}] {{# | <includeonly>[http://www.cs.brown.edu/research/vis/results/pubs.html#{{{1}}} {{{2|{{{1}}}‌}}}] {{#if:{{{pdf|notblank}}}| |([http://www.cs.brown.edu/research/vis/docs/pdf/{{{1}}}.pdf PDF])}}</includeonly><noinclude>'''Template:Pub''' is used to generate a link to a publication in the VRL citation database that is listed on the [http://www.cs.brown.edu/research/vis/results/pubs.html publications page]. Use it with the following code: | ||
<pre><nowiki>{{pub|<key>|<description>|pdf=<yes|no>}}</nowiki></pre> | <pre><nowiki>{{pub|<key>|<description>|pdf=<yes|no>}}</nowiki></pre> | ||
| Line 19: | Line 19: | ||
|- | |- | ||
| <pre><nowiki>{{pub|Laidlaw-2004-VMS|pdf=yes}}</nowiki></pre> || {{pub|Laidlaw-2004-VMS|pdf=yes}} | | <pre><nowiki>{{pub|Laidlaw-2004-VMS|pdf=yes}}</nowiki></pre> || {{pub|Laidlaw-2004-VMS|pdf=yes}} | ||
|- | |||
| <pre><nowiki>{{pub|Laidlaw-2004-VMS|pdf=}}</nowiki></pre> || {{pub|Laidlaw-2004-VMS|pdf=}} | |||
|- | |||
| <pre><nowiki>{{pub|Laidlaw-2004-VMS|pdf}}</nowiki></pre> || {{pub|Laidlaw-2004-VMS|pdf}} | |||
|- | |||
| <pre><nowiki>{{pub|Laidlaw-2004-VMS|Laidlaw NSF Poster|pdf}}</nowiki></pre> || {{pub|Laidlaw-2004-VMS|Laidlaw NSF Poster|pdf}} | |||
|} | |} | ||
</noinclude> | </noinclude> | ||
Revision as of 06:20, 11 February 2009
Template:Pub is used to generate a link to a publication in the VRL citation database that is listed on the publications page. Use it with the following code:
{{pub|<key>|<description>|pdf=<yes|no>}}
- <key> is the three-part key that we use in VRL to refer to just about everything: <Author>-<Year>-<TLA>, for example Laidlaw-2004-VMS.
- <description> is the text that you want for the link; leave it blank to just use the key as the text.
- pdf=yes will put an additional link directly to the PDF. Leave the argument out entirely or use pdf=no to not create a PDF link.
Examples
| Code | Result |
|---|---|
{{pub|Laidlaw-2004-VMS|Laidlaw NSF Poster}} |
Laidlaw NSF Poster |
{{pub|Laidlaw-2004-VMS}} |
Laidlaw-2004-VMS |
{{pub|Laidlaw-2004-VMS|pdf=yes}} |
Laidlaw-2004-VMS |
{{pub|Laidlaw-2004-VMS|pdf=}} |
Laidlaw-2004-VMS (PDF) |
{{pub|Laidlaw-2004-VMS|pdf}} |
|
{{pub|Laidlaw-2004-VMS|Laidlaw NSF Poster|pdf}} |
Laidlaw NSF Poster |