模板: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:消歧義模板