Template:linkbox

From Homestar Runner Wiki

(Difference between revisions)
Jump to: navigation, search
m (Protected "Template:hrlinkbox": on the main page [edit=autoconfirmed:move=autoconfirmed])
(added example and default parameter value)
Line 1: Line 1:
-
<span class="hovul" style="font-size:smaller;background:#EEE;border:1px #999 solid;padding:2px">[[HR:{{{1}}}|{{{2}}}]]</span><noinclude>
+
<span class="hovul" style="font-size:smaller;background:#EEE;border:1px #999 solid;padding:2px">[[HR:{{{1}}}|{{{2|watch}}}]]</span><noinclude>
 +
 
 +
Use this template to link directly to content in [[homestarrunner.com]].  Simply copy the path of the filename and the desired label for the link ("watch" is the default label).
 +
 
 +
For example:
 +
:<code><nowiki>{{hrlinkbox|sbemail.html|listen}}</nowiki></code>
 +
produces:
 +
:{{hrlinkbox|sbemail.html|listen}}
 +
and:
 +
:<code><nowiki>{{hrlinkbox|rapsong.html}}</nowiki></code>
 +
produces:
 +
:{{hrlinkbox|rapsong.html}}
----
----
*See also: {{tl|watch}}
*See also: {{tl|watch}}

Revision as of 08:11, 30 November 2007

[[HR:{{{1}}}|watch]]

Use this template to link directly to content in homestarrunner.com. Simply copy the path of the filename and the desired label for the link ("watch" is the default label).

For example:

{{hrlinkbox|sbemail.html|listen}}

produces:

listen

and:

{{hrlinkbox|rapsong.html}}

produces:

watch

Personal tools