"模板:Transclude/doc" 修訂間的差異

出自 陳富國維基館
前往: 導覽, 搜尋
小 (Reverted edits by 109.231.195.62 (talk) to last revision by Varnent)
 
小 (1個修訂)
 
(未顯示由 2 位使用者於中間所作的 2 次修訂)
(無差異)

於 2013年3月15日 (五) 12:53 的最新修訂

This template resolves page names as they would be handled by MediaWiki's template-transclusion process. It thereby removes ambiguity when doing other things with template pagenames, e.g. linking.

Key usage is in navboxes' view, discuss, edit (v,d,e) menu.

Usage

  • {{transclude| Template:Foo }} → 模板:Foo
  • {{transclude| Category:Foo }} → 分類:Foo
  • {{transclude| Foo }} → Template:Foo
  • {{transclude| :Foo }} → Foo
  • {{transclude| :File:Foo }} → 檔案:Foo