Template:plainlinks
From Homestar Runner Wiki
(Difference between revisions)
(It didn't break anything; I simply edited it to that the "l=" wasn't necessary. For example, you can now write {{p|http://homestarrunner.com}} instead of {{p|l=http://homestarrunner.com}}.) |
It's dot com (Talk | contribs) (rv; this would work in some cases, but it has the potential to be confusing if someone doens't know an equal sign (=) will break it; for consistency, we should use the letter parameter all the time) |
||
| Line 1: | Line 1: | ||
| - | <span class="plainlinks">[ | + | <span class="plainlinks">[{{{l}}}]</span><noinclude> |
Formats a link by removing the external link image (http://www.hrwiki.org/skins/monobook/external.png). | Formats a link by removing the external link image (http://www.hrwiki.org/skins/monobook/external.png). | ||
Revision as of 20:53, 7 May 2017
[{{{l}}}]
Formats a link by removing the external link image (
).
Usage:
Replace the regular link code:
[external link code]
With the template code:
{{p|l=external link code}}
Examples:
{{p|l=http://hrwiki.org/w/index.php?title=Template:plainlinks&action=history}}
Becomes: [1]
{{p|l=http://hrwiki.org/w/index.php?title=Template:plainlinks&action=history See this template's history page.}}
Becomes: See this template's history page.
