Vorlage:Hatnote/doc: Unterschied zwischen den Versionen
→Errors: copy edit
(don't use a separate heading for TemplateData) |
(→Errors: copy edit) |
||
| Zeile 37: | Zeile 37: | ||
If you see this error message, it is for one of three reasons: | If you see this error message, it is for one of three reasons: | ||
# No parameters | # No parameters were specified (the template code was <code><nowiki>{{hatnote}}</nowiki></code>). Please use <code><nowiki>{{hatnote|</nowiki>''text''<nowiki>}}</nowiki></code> instead. | ||
# | # Some parameters were specified, but the first positional parameter wasn't included. For example, the template text <code><nowiki>{{hatnote|extraclasses=seealso}}</nowiki></code> will produce this error. Please use (for example) <code><nowiki>{{hatnote|</nowiki>''text''<nowiki>|extraclasses=seealso}}</nowiki></code> instead. | ||
# | # The hatnote text was specified, but that text contains an equals sign ("="). The equals sign has a special meaning in template code, and because of this it cannot be used in template parameters that do not specify a parameter name. For example, the template code <code><nowiki>{{hatnote|2+2=4}}</nowiki></code> will produce this error. To work around this, you can specify the parameter name explictly by using <code>1=</code> before the hatnote text, like this: <code><nowiki>{{hatnote|1=2+2=4}}</nowiki></code>. | ||
If you see this error and are unsure of what to do, please post a message on [[Template talk:Hatnote]], and someone should be able to help you. | If you see this error and are unsure of what to do, please post a message on [[Template talk:Hatnote]], and someone should be able to help you. | ||
Pages that contain this error are tracked in [[:Category:Hatnote templates with errors]]. | |||
== Technical details == | == Technical details == | ||