Difference between revisions of "Template:Distinct/doc"

From blackwiki
Jump to navigation Jump to search
imported>Netoholic
imported>Netoholic
Line 2: Line 2:
 
<!-- EDIT TEMPLATE DOCUMENTATION BELOW THIS LINE -->
 
<!-- EDIT TEMPLATE DOCUMENTATION BELOW THIS LINE -->
 
== Usage ==
 
== Usage ==
This templates flexibly accepts just about any wikitext in up to 4 parameters.
 
  
;Use either wikied or unwikied page names
+
;Use either wikied or unwikied page names (up to 4)
 
<nowiki>{{Distinct|foo}} or {{Distinct|[[foo]]}}</nowiki> → {{Distinct|foo}}
 
<nowiki>{{Distinct|foo}} or {{Distinct|[[foo]]}}</nowiki> → {{Distinct|foo}}
 
<nowiki>{{Distinct|foo|bar|something|baz}} or {{Distinct|[[foo]]|[[bar]]|[[something]]|[[baz]]}}</nowiki> → {{Distinct|foo|bar|something|baz}}
 
<nowiki>{{Distinct|foo|bar|something|baz}} or {{Distinct|[[foo]]|[[bar]]|[[something]]|[[baz]]}}</nowiki> → {{Distinct|foo|bar|something|baz}}
  
;Use additional text to explain further
+
;Use along with additional text for explanation
<nowiki>{{Distinct|the made-up words|foo|bar}}</nowiki> → {{Distinct|the made-up words|foo|bar}}
+
<nowiki>{{Distinct|the made-up words [[foo]] and [[bar]]}}</nowiki> → {{Distinct|the made-up words [[foo]] and [[bar]]}}
  
 
This hatnote is generally used when there is an ambiguity that is not necessarily literal, but one that can be reasonably assumed to exist for a portion of the readership substantial enough to warrant a hatnote. When applying it, care should be taken to [[WP:TRHAT|avoid trivial uses]].
 
This hatnote is generally used when there is an ambiguity that is not necessarily literal, but one that can be reasonably assumed to exist for a portion of the readership substantial enough to warrant a hatnote. When applying it, care should be taken to [[WP:TRHAT|avoid trivial uses]].

Revision as of 08:17, 27 July 2014

Usage

Use either wikied or unwikied page names (up to 4)

{{Distinct|foo}} or {{Distinct|[[foo]]}} →

{{Distinct|foo|bar|something|baz}} or {{Distinct|[[foo]]|[[bar]]|[[something]]|[[baz]]}} →

Use along with additional text for explanation

{{Distinct|the made-up words [[foo]] and [[bar]]}} →

This hatnote is generally used when there is an ambiguity that is not necessarily literal, but one that can be reasonably assumed to exist for a portion of the readership substantial enough to warrant a hatnote. When applying it, care should be taken to avoid trivial uses.

See also

  • {{Distinguish}}, for multiple disambiguation targets or prepending "the".
  • {{Distinguish2}}, for multiple disambiguation targets or prepending "the".
  • {{About}}, if the page title does (without misspelling) describe the other target (since the user is then aided by a clear statement of how the page's topic differs from the other target's topic).

Template:Otheruses templates