Difference between revisions of "Template:External"

From Audacity Wiki
Jump to: navigation, search
(Testing formatting template intended for external links)
 
(Proposing template for active use)
Line 1: Line 1:
<noinclude>{{wip}}
+
<noinclude>
 +
==Purpose==
  
{{intro|Still testing|Testing ways of formatting external links to stand out, without using the "little arrow" template that is standard to wikis.}}
+
The '''''External''''' template is intended for '''links to external sites''' (i.e. sites not residing on this wiki). The link will be formatted in a way to visually separate it from internal links, and to remove the little "square arrow" that Wikis use by default for external links, but many people find more annoying than helpful.
 +
 +
'''''NOTE:''''' This template should be used '''for this purpose only''' and according to the examples below.
 +
 
 +
==Usage==
 +
 
 +
Syntax:
 +
'''Alternative 1:''' <nowiki>{{</nowiki>external|''URL_to_external_site''<nowiki>}}</nowiki>
 +
'''Alternative 2:''' <nowiki>{{</nowiki>external|[''URL_to_external_site Name Of Site'']<nowiki>}}</nowiki>
 +
 
 +
For example, typing this:
 +
'''1:''' <nowiki>{{external|http://link.to.site}}</nowiki>
 +
'''2:''' <nowiki>{{external|[http://link.to.site Dummy Site]}}</nowiki>
 +
 
 +
will cause the following to be displayed:
 +
 
 +
:'''1:''' <span style="font-family: serif; font-style: italic; font-weight: bold" class="plainlinks">http://link.to.site</span>
 +
:'''2:''' <span style="font-family: serif; font-style: italic; font-weight: bold" class="plainlinks">[http://link.to.site Dummy Site]</span>
 +
 
 +
 
 +
----
 +
''Ignore the following, it's only a representation of formatting and a parameter dummy.''
  
 
</noinclude><span style="font-family: serif; font-style: italic; font-weight: bold" class="plainlinks">{{{1}}}</span>
 
</noinclude><span style="font-family: serif; font-style: italic; font-weight: bold" class="plainlinks">{{{1}}}</span>

Revision as of 15:59, 24 August 2007

Purpose

The External template is intended for links to external sites (i.e. sites not residing on this wiki). The link will be formatted in a way to visually separate it from internal links, and to remove the little "square arrow" that Wikis use by default for external links, but many people find more annoying than helpful.

NOTE: This template should be used for this purpose only and according to the examples below.

Usage

Syntax:

Alternative 1: {{external|URL_to_external_site}}
Alternative 2: {{external|[URL_to_external_site Name Of Site]}}

For example, typing this:

1: {{external|http://link.to.site}}
2: {{external|[http://link.to.site Dummy Site]}}

will cause the following to be displayed:

1: http://link.to.site
2: Dummy Site



Ignore the following, it's only a representation of formatting and a parameter dummy.

{{{1}}}