跳转到内容

Template:Param

维基百科,自由的百科全书

{{{foo}}}

文档图示 模板文档[查看] [编辑] [历史] [清除缓存]

This template is for giving examples of template parameter source code which is useful in template documentation and talk page discussions of template code.

使用方法[编辑]

{{param|foo}}{{{foo}}}
{{param|foo|bar}}{{{foo|bar}}}
{{para|foo|{{param|bar}}}}|foo={{{bar}}}
{{para|foo}}{{param|bar}}|foo={{{bar}}}
{{para|foo|<var>bar</var>}}|foo=bar

参见[编辑]

  • {{參數}}:同樣生成參數字串,但主要是為了再次被解析(如{{虛擬模板}}),而非示範原始碼
  • {{para}}