跳至內容

模板:Dablink/doc

本頁使用了標題或全文手工轉換
維基百科,自由的百科全書

這是本頁的一個歷史版本,由Dabao qian對話 | 貢獻2018年10月14日 (日) 17:01 (Dabao qian移动页面Template:Hatnote/docTemplate:Dablink/doc覆盖重定向)編輯。這可能和目前版本存在着巨大的差異。

本模板用於顯示自訂的消歧義內容。

用法

{{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:

  1. No parameters were specified (the template code was {{hatnote}}). Please use {{hatnote|text}} instead.
  2. 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.
  3. 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 using 1= before the hatnote text, like this: {{hatnote|1=2+2=4}}.
  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.

重新導向

參見