模板:Transclude/doc

出自 陳富國維基館
< 模板:Transclude
於 2012年7月10日 (二) 00:45 由 Igna (對話) 所做的修訂 (Reverted edits by 109.231.195.62 (talk) to last revision by Varnent)
(差異) ←上個修訂 | 最新修訂 (差異) | 下個修訂→ (差異)
前往: 導覽搜尋

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