Template: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
上述文档嵌入自Template:Xpsoc/doc。 (编辑 | 历史) 编者可以在本模板的沙盒 (创建 | 镜像)和测试样例 (创建)页面进行实验。 请在/doc子页面中添加分类。本模板的子页面。 |