Template:plainlinks

From Homestar Runner Wiki

(Difference between revisions)
Jump to: navigation, search
(adding doc and cat)
(add example since I clearly forgot how to use this)
Line 10: Line 10:
With the template code:<br/>
With the template code:<br/>
<code>    <nowiki>{{</nowiki>p|l=''external link code''}} </code>
<code>    <nowiki>{{</nowiki>p|l=''external link code''}} </code>
 +
 +
'''Examples:'''
 +
 +
<code>    <nowiki>{{p|l=http://hrwiki.org/w/index.php?title=Template:plainlinks&action=history}}</nowiki> </code><br/>
 +
Becomes: {{p|l=http://hrwiki.org/w/index.php?title=Template:plainlinks&action=history}}<br/>
 +
 +
<code>    <nowiki>{{p|l=http://hrwiki.org/w/index.php?title=Template:plainlinks&action=history See this template's history page.}}</nowiki> </code><br/>
 +
Becomes: {{p|l=http://hrwiki.org/w/index.php?title=Template:plainlinks&action=history See this template's history page.}}<br/>
[[Category:Formatting Templates|{{PAGENAME}}]]
[[Category:Formatting Templates|{{PAGENAME}}]]
</noinclude>
</noinclude>

Revision as of 08:05, 15 April 2015

[{{{l}}}]

Formats a link by removing the external link image (external.png).

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.

Personal tools