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