On November 27th, 2022, the 8,000th article was added to the SuccuWiki!
Template:Hatnote templates documentation: Difference between revisions
Jump to navigation
Jump to search
mNo edit summary |
mNo edit summary |
||
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]]. | ||
{{Navbox hatnote templates|state=collapsed}}<noinclude> | {{Navbox hatnote templates|state=collapsed}}<noinclude> | ||
[[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}}
→CUSTOM TEXT
{{Hatnote|For other senses of this term, see etc…}}
→
{{Rellink|CUSTOM TEXT}}
→CUSTOM TEXT
Notes
Do not use subst: with these templates, as that will prevent:
- propagating changes as the template is modified; and the
- 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:
- 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.
- 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.
- 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.
|