模板:Xpsoc

维基百科,自由的百科全书
文档图示 模板文档[查看] [编辑] [历史] [清除缓存]

This is a simplified expansion demo template.

The template name is specified with the first positional parameter. Subsequent positional parameters specify positional parameters to be displayed by the template demo. Keys and values for named parameters can be specified with |n1=, |v1=, |n2=, |v2=, etc.

Examples[编辑]

The following code:

  • {{xpsoc|3x|foo|bar|n1=baz|v1=bat|n2=bam|v2=qux}}

Produces:

{{3x|foo|bar|bam=qux|baz=bat}} → foofoofoo