模板:Param/doc

来自Local Chinese Wikipedia
跳转到导航 跳转到搜索

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