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}}}]</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}}} }}}]</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>}}</nowiki></pre> | <pre><nowiki>{{pub|<key>|<description>}}</nowiki></pre> | ||
* <tt><key></tt> is the three-part key that we use in VRL to refer to just about everything: <tt><Author>-<Year>-<TLA></tt>, for example <tt>Laidlaw-2004-VMS</tt>. | * <tt><key></tt> is the three-part key that we use in VRL to refer to just about everything: <tt><Author>-<Year>-<TLA></tt>, for example <tt>Laidlaw-2004-VMS</tt>. | ||
* <tt><description></tt> is the text that you want for the link. | * <tt><description></tt> is the text that you want for the link; leave it blank to just use the key as the text. | ||
=== Examples === | |||
{| {{Prettytable|width=0}} | |||
|- | |||
! {{Hl2}} | Code | |||
! {{Hl2}} | Result | |||
|- | |||
| <pre><nowiki>{{pub|Laidlaw-2004-VMS|Laidlaw NSF Poster}}</nowiki></pre> || {{pub|Laidlaw-2004-VMS|Laidlaw NSF Poster}} | |||
|- | |||
| <pre><nowiki>{{pub|Laidlaw-2004-VMS}}</nowiki></pre> || {{pub|Laidlaw-2004-VMS}} | |||
|} | |||
</noinclude> | </noinclude> | ||
Revision as of 00:37, 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>}}
- <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.
Examples
| Code | Result |
|---|---|
{{pub|Laidlaw-2004-VMS|Laidlaw NSF Poster}} |
Laidlaw NSF Poster |
{{pub|Laidlaw-2004-VMS}} |
Laidlaw-2004-VMS |