模板:Xpsoc
外觀
此模板使用Lua語言: |
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