Template

Distinguish/doc: Difference between revisions

From Joomla! Documentation

CirTap (talk | contribs)
m 1 revision(s)
CirTap (talk | contribs)
 
Line 3: Line 3:
== Usage ==
== Usage ==
<tt>distinguish</tt> will always link to the provided page names:
<tt>distinguish</tt> will always link to the provided page names:
{{evd|distinguish|PAGE}}
{{xpd|distinguish|PAGE}}


{{evd|distinguish|PAGE|PAGE1}}
{{xpd|distinguish|PAGE|PAGE1}}


{{evd|distinguish|PAGE|PAGE1|PAGE2}}
{{xpd|distinguish|PAGE|PAGE1|PAGE2}}
 
{{evd|distinguish|PAGE|PAGE1|PAGE2|PAGE3}}


{{tlx|distinguish|PAGE|PAGE1|PAGE2|PAGE3|PAGE4}} gives
{{distinguish|PAGE|PAGE1|PAGE2|PAGE3|PAGE4}}


<tt>distinguish2</tt> only accepts one parameter and does not create a link by default. To do so add the link yourself. It may contain an anchor and pipe.
<tt>distinguish2</tt> only accepts one parameter and does not create a link by default. To do so add the link yourself. It may contain an anchor and pipe.
{{evd|distinguish2|PAGE}}
{{xpd|distinguish2|PAGE}}


{{tlx|distinguish2|<nowiki>[[PAGE]]</nowiki>}} gives:
{{tlx|distinguish2|<nowiki>[[PAGE]]</nowiki>}} gives:
Line 20: Line 20:
{{tlx|distinguish2|<nowiki>[[PAGE|other page]]</nowiki>}} gives:
{{tlx|distinguish2|<nowiki>[[PAGE|other page]]</nowiki>}} gives:
{{distinguish2|[[PAGE|other page]]}}
{{distinguish2|[[PAGE|other page]]}}


== Parameters ==
== Parameters ==

Latest revision as of 11:35, 11 May 2008

This is a documentation subpage for Template:Distinguish.
It contains usage information, categories and other content that is not part of the original template page.
To view the template page itself, see Template:Distinguish.

Usage

distinguish will always link to the provided page names:

{{distinguish|PAGE}} gives

{{distinguish|PAGE|PAGE1}} gives

{{distinguish|PAGE|PAGE1|PAGE2}} gives

{{distinguish|PAGE|PAGE1|PAGE2|PAGE3|PAGE4}} gives

distinguish2 only accepts one parameter and does not create a link by default. To do so add the link yourself. It may contain an anchor and pipe.

{{distinguish2|PAGE}} gives

{{distinguish2|[[PAGE]]}} gives:

{{distinguish2|[[PAGE|other page]]}} gives:

Parameters

Each parameter must be a valid pagename and must not contain links or wiki markup.

See also