跳转到内容

模板:Param/doc

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

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}}