On November 27th, 2022, the 8,000th article was added to the SuccuWiki!

Template:Hatnote templates documentation: Difference between revisions

From SuccuWiki - The Wiki of the Succubi
Jump to navigation Jump to search
mNo edit summary
mNo edit summary
 
(One intermediate revision by the same user not shown)
Line 5: Line 5:
===Generic===
===Generic===
* {{tlx|Hatnote|CUSTOM TEXT}} → {{Hatnote|CUSTOM TEXT}}
* {{tlx|Hatnote|CUSTOM TEXT}} → {{Hatnote|CUSTOM TEXT}}
:{{tlx|Hatnote|For other senses of this term, see <nowiki>[[</nowiki>etc…<nowiki>]]</nowiki>}} &rarr; {{Hatnote|For other senses of this term, see [[etc…]]}}
:{{tlx|Hatnote|For other senses of this term, see etc…}} &rarr;  
* {{tlx|Rellink|CUSTOM TEXT}} → {{Rellink|CUSTOM TEXT}}
* {{tlx|Rellink|CUSTOM TEXT}} → {{Rellink|CUSTOM TEXT}}


Line 18: Line 18:
# If I change the parameters around on an existing template, do I know what the result will be? Will it break existing uses of the template and if so, can I fix all of the errors? Before making any changes, see [[Wikipedia:Template sandbox and test cases|Template sandbox and test cases]].
# If I change the parameters around on an existing template, do I know what the result will be? Will it break existing uses of the template and if so, can I fix all of the errors? Before making any changes, see [[Wikipedia:Template sandbox and test cases|Template sandbox and test cases]].


===See also===
*[[Wikipedia:Hatnote]]
*{{cl|Hatnote templates}}


{{Navbox hatnote templates|state=collapsed}}<noinclude>
{{Navbox hatnote templates|state=collapsed}}<noinclude>
{{Documentation}} <!-- so this is for the /doc page of this documentation-template -->


[[Category:Hatnote templates documentation|Documentation]]
[[Category:Hatnote templates documentation|Documentation]]


</noinclude>
</noinclude>

Latest revision as of 12:18, 11 October 2012

Hatnote templates

Generic

  • {{Hatnote|CUSTOM TEXT}}
{{Hatnote|For other senses of this term, see etc…}}
  • {{Rellink|CUSTOM TEXT}}

Notes

Do not use subst: with these templates, as that will prevent:

  1. propagating changes as the template is modified; and the
  2. What links here (WLH) listing.

These templates are used in thousands of articles; therefore, changing the syntax could break thousands of articles. If you wish to create or edit a disambiguation or redirection template, first ask yourself the following questions:

  1. Is there already a template that will do this job? Since many disambiguation and redirection templates have already been created, first check: Category:Disambiguation and redirection templates.
  2. Do I really need a new template for this? Will it likely be used on any other articles or should I just use {{Hatnote}} instead? Before creating a new template, see the template namespace guideline.
  3. If I change the parameters around on an existing template, do I know what the result will be? Will it break existing uses of the template and if so, can I fix all of the errors? Before making any changes, see Template sandbox and test cases.