模板:Dablink/doc
外观
此页面是Template:Dablink的模板文档。 此页面可能包含了模板的使用说明、分类和其他内容。 |
此模板文档被引用于2,500+个页面。 为了避免造成大规模的影响,所有对此模板文档的编辑应先于沙盒、测试样例或您的沙盒上测试。 测试后无误的版本可以一次性地加入此模板文档中,但是修改前请务必于讨论页发起讨论。 模板引用数量会自动更新。 |
此模板使用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:消歧义模板