Template:Hatnote templates documentation: Difference between revisions
>PJosepherum m 1 revision |
iw>Redrose64 →"Not to be confused with …": rm blank line: WP:LISTGAP |
||
Line 29: | Line 29: | ||
* {{tlx|Details3|<nowiki>[[article 1|Article 1]], [[article 2|Article 2]], and [[article 3|Article 3]]</nowiki>|TOPIC}} → {{Details3|[[Article 1]], [[Article 2]], and [[Article 3]]|TOPIC}} | * {{tlx|Details3|<nowiki>[[article 1|Article 1]], [[article 2|Article 2]], and [[article 3|Article 3]]</nowiki>|TOPIC}} → {{Details3|[[Article 1]], [[Article 2]], and [[Article 3]]|TOPIC}} | ||
Alternatively, the {{ | Alternatively, the {{tnull|!}} magic word can be used to change the displayed name for links: | ||
* {{tlx|Details|NTSC#Color_encoding<nowiki>{{!}}</nowiki>NTSC Color encoding}} → {{Details|NTSC#Color_encoding{{!}}NTSC Color encoding}} | * {{tlx|Details|NTSC#Color_encoding<nowiki>{{!}}</nowiki>NTSC Color encoding}} → {{Details|NTSC#Color_encoding{{!}}NTSC Color encoding}} | ||
Line 54: | Line 54: | ||
* {{tlx|About|USE1|USE2|PAGE2}} (When there is only one other use) → {{About|USE1|USE2|PAGE2}} | * {{tlx|About|USE1|USE2|PAGE2}} (When there is only one other use) → {{About|USE1|USE2|PAGE2}} | ||
* {{tlx|About|USE1|USE2|PAGE2|and|PAGE3}} (Two pages for USE2) → {{About|USE1|USE2|PAGE2|and|PAGE3}} | * {{tlx|About|USE1|USE2|PAGE2|and|PAGE3}} (Two pages for USE2) → {{About|USE1|USE2|PAGE2|and|PAGE3}} | ||
* {{tlx|About|USE1|USE2|PAGE2#SUBSECTION{{tlf|!}}PAGE2TITLE}} (Using the {{ | * {{tlx|About|USE1|USE2|PAGE2#SUBSECTION{{tlf|!}}PAGE2TITLE}} (Using the {{tlf|!}} magic word to give the link a different title) → {{About|USE1|USE2|PAGE2#SUBSECTION{{!}}PAGE2TITLE}} | ||
* {{tlx|About|USE1|USE2|PAGE2|USE3|PAGE3|USE4|PAGE4|USE5|PAGE5}} (When there are up to four other uses – You should generally create a [[Wikipedia:Disambiguation|disambiguation page]] at this point) → {{About|USE1|USE2|PAGE2|USE3|PAGE3|USE4|PAGE4|USE5|PAGE5}} | * {{tlx|About|USE1|USE2|PAGE2|USE3|PAGE3|USE4|PAGE4|USE5|PAGE5}} (When there are up to four other uses – You should generally create a [[Wikipedia:Disambiguation|disambiguation page]] at this point) → {{About|USE1|USE2|PAGE2|USE3|PAGE3|USE4|PAGE4|USE5|PAGE5}} | ||
* {{tlx|About|USE1|USE2|PAGE2|USE3|PAGE3|other uses}} (When there are several standard other uses and also a disambiguation page with default name – Note that the last page name is not specified) → {{About|USE1|USE2|PAGE2|USE3|PAGE3|other uses}} | * {{tlx|About|USE1|USE2|PAGE2|USE3|PAGE3|other uses}} (When there are several standard other uses and also a disambiguation page with default name – Note that the last page name is not specified) → {{About|USE1|USE2|PAGE2|USE3|PAGE3|other uses}} | ||
Line 104: | Line 104: | ||
:Note: same as {{tl|about}}, except it forces a second use to be noted if unspecified by parameters. | :Note: same as {{tl|about}}, except it forces a second use to be noted if unspecified by parameters. | ||
* {{tlx|Two other uses|USE1|USE2|PAGE2|USE3|PAGE3}} → {{Two other uses|USE1|USE2|PAGE2|USE3|PAGE3}} | * {{tlx|Two other uses|USE1|USE2|PAGE2|USE3|PAGE3}} → {{Two other uses|USE1|USE2|PAGE2|USE3|PAGE3}} | ||
* {{tlx|Two other uses||USE2|PAGE2|USE3|PAGE3}} → {{Two other uses||USE2|PAGE2|USE3|PAGE3}} | |||
* {{tlx|Three other uses|USE1|USE2|PAGE2|USE3|PAGE3}} {{Three other uses|USE1|USE2|PAGE2|USE3|PAGE3}} | * {{tlx|Three other uses|USE1|USE2|PAGE2|USE3|PAGE3}} {{Three other uses|USE1|USE2|PAGE2|USE3|PAGE3}} | ||
* {{tlx|Three other uses|<nowiki>|</nowiki>USE2|PAGE2|USE3|PAGE3}} → {{Three other uses||USE2|PAGE2|USE3|PAGE3}} | * {{tlx|Three other uses|<nowiki>|</nowiki>USE2|PAGE2|USE3|PAGE3}} → {{Three other uses||USE2|PAGE2|USE3|PAGE3}} | ||
Line 189: | Line 190: | ||
* {{tlx|Distinguish|PAGE1|PAGE2|PAGE3|PAGE4}} → {{Distinguish|PAGE1|PAGE2|PAGE3|PAGE4}} | * {{tlx|Distinguish|PAGE1|PAGE2|PAGE3|PAGE4}} → {{Distinguish|PAGE1|PAGE2|PAGE3|PAGE4}} | ||
* {{tlx|Distinguish2|TEXT}} → {{Distinguish2|TEXT}} | * {{tlx|Distinguish2|TEXT}} → {{Distinguish2|TEXT}} | ||
* {{tlx|Distinct|PAGE1|PAGE2|PAGE3|PAGE4}} or {{tlx|Distinct|<nowiki>[[PAGE1]]|[[PAGE2]]|[[PAGE3]]|[[PAGE4]]</nowiki>}} → {{Distinct|[[PAGE1]]|[[PAGE2]]|[[PAGE3]]|[[PAGE4]]}} | |||
* {{tlx|Distinct|TEXT <nowiki>[[PAGE1]]</nowiki>}} → {{Distinct|TEXT [[PAGE1]]}} | |||
===="''… redirects here. It is not to be confused with …''"==== | ===="''… redirects here. It is not to be confused with …''"==== | ||
Line 194: | Line 197: | ||
* {{tlx|Redirect-distinguish|REDIRECT|PAGE1|PAGE2|PAGE3|PAGE4}} → {{Redirect-distinguish|REDIRECT|PAGE1|PAGE2|PAGE3|PAGE4}} | * {{tlx|Redirect-distinguish|REDIRECT|PAGE1|PAGE2|PAGE3|PAGE4}} → {{Redirect-distinguish|REDIRECT|PAGE1|PAGE2|PAGE3|PAGE4}} | ||
* {{tlx|Redirect-distinguish2|REDIRECT|TEXT}} → {{Redirect-distinguish2|REDIRECT|TEXT}} | * {{tlx|Redirect-distinguish2|REDIRECT|TEXT}} → {{Redirect-distinguish2|REDIRECT|TEXT}} | ||
** ''Also may be used as'' {{tlx|Redirect-distinguish2|REDIRECT}} → {{Redirect-distinguish2|REDIRECT}} | |||
===="''For technical reasons, … redirects here. For … , see … .''"==== | ===="''For technical reasons, … redirects here. For … , see … .''"==== | ||
Line 241: | Line 245: | ||
==See also== | ==See also== | ||
*[[Wikipedia:Disambiguation]] | |||
*[[Wikipedia:Hatnote]] | *[[Wikipedia:Hatnote]] | ||
*{{cl|Hatnote templates}} | *{{cl|Hatnote templates}} | ||
Line 249: | Line 254: | ||
{{Documentation}} <!-- so this is for the /doc page of this documentation-template --> | {{Documentation}} <!-- so this is for the /doc page of this documentation-template --> | ||
</noinclude> | </noinclude> |