Template:Dablink/doc
外观
此頁面是Template:Dablink的Template文档。 此頁面可能包含了模板的使用說明、分類和其他内容。 |
此Template文档被引用於2,500+個頁面。 為了避免造成大規模的影響,所有對此Template文档的編輯應先於沙盒、測試樣例或您的沙盒上測試。 測試後無誤的版本可以一次性地加入此Template文档中,但是修改前請務必於討論頁發起討論。 模板引用數量會自動更新。 |
此模板使用Lua语言: |
本模板用于显示自定义的消歧义内容。
用法
{{Hatnote|自定义文字}}
範例
{{Hatnote|關於在[[16世紀]]出版的[[法文]]百科全書,見《'''[[:fr:Encyclopédie|]]'''》。}}
错误
If no hatnote text is supplied, the template will output the following message:
- 错误:text参数缺失(帮助)。
If you see this error message, it is for one of four reasons:
- No parameters were specified (the template code was
{{hatnote}}
). Please use{{hatnote|text}}
instead. - Some parameters were specified, but the hatnote text wasn't included. For example, the template text
{{hatnote|extraclasses=seealso}}
will produce this error. Please use (for example){{hatnote|text|extraclasses=seealso}}
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
{{hatnote|2+2=4}}
will produce this error. To work around this, you can specify the parameter name explicitly by using1=
before the hatnote text, like this:{{hatnote|1=2+2=4}}
. - You tried to access Module:Hatnote directly by using
{{#invoke:hatnote|hatnote|text}}
. Use of #invoke in this way has been disabled for performance reasons. Please use{{hatnote|text}}
instead.
If you see this error message 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 message are tracked in Category:Hatnote templates with errors.
重定向
參見
- {{selfref}}
- {{noteref}}
- Wikipedia:消歧義
- 系列模板请参见Category:消歧义模板