Template:A: Difference between revisions

From Shareaza Wiki
Jump to navigation Jump to search
(Created new template...)
 
m (→‎See also: Made more space on the page bottom for the examples to be tested...)
Line 28: Line 28:
== See also ==
== See also ==
* [[Template:Anchor]]
* [[Template:Anchor]]
 

Revision as of 22:50, 2 August 2010

Template

{{{1}}}

Syntax

{{a|arg_1|arg_2}}
  • arg_1: this is a necessary parameter. It contains the text that used as the anchor text.
  • arg_2: this parameter is not necessary. It is not included in the anchor link, but it is added to the first parameter text. It works a bit like [[testlink]]s, which results in testlinks, where the 's' is not part of the linked to page name, but included in the link itself.

Examples

my anchor

Code:

{{a|my anchor}}

Link

my second anchor including more text

Code:

{{a|my second anchor| including more text}}

Link

Motivation

This template is thought to colour a piece of text in bold letters and at the same time make it function as an anchor.

See also