模板:Transclude/doc
出自 陳富國維基館
40px | This is a documentation subpage for 模板:Transclude. It contains usage information, categories and other content that is not part of the original 模板 page. |
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