跳至內容

模板:Link if not current/doc

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

Use this template to avoid producing a self link.

使用方法

{{Link if not current|Article}} produces

  • a list item linking to Article if the current page's title is not Article,
  • nothing if it is.

參數

  • Parameter 1 is necessary, as it is the link.
  • Parameter 2 is optional, and it is the text that is displayed over the link. If parameter 2 doesn't exist, it defaults to parameter 1.

另見