Distinguish/doc: Difference between revisions
From Joomla! Documentation
m 1 revision(s) |
m →Usage |
||
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: | ||
{{ | {{xpd|distinguish|PAGE}} | ||
{{ | {{xpd|distinguish|PAGE|PAGE1}} | ||
{{ | {{xpd|distinguish|PAGE|PAGE1|PAGE2}} | ||
{{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. | ||
{{ | {{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.
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
Not to be confused with PAGE.
{{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
Not to be confused with PAGE.
{{distinguish2|[[PAGE]]}} gives:
Not to be confused with PAGE.
{{distinguish2|[[PAGE|other page]]}} gives:
Not to be confused with other page.
Parameters
Each parameter must be a valid pagename and must not contain links or wiki markup.
See also
- {{Distinguish2}}