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}}} }}}]{{#ifeq:{{{pdf|no}}}|yes|([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: | <includeonly>[http://www.cs.brown.edu/research/vis/results/pubs.html#{{{1}}} {{{2|{{{1}}} }}}] {{#ifeq:{{{pdf|no}}}|yes|([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> | ||
Revision as of 06:10, 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 (PDF) |