跳转到内容

Template:ICounter/testcases

维基百科,自由的百科全书
{{iCounter|new|A}} $VAR_DEF counter.name=A ;
{{iCounter|new|B}} $VAR_DEF counter.name=B ;
{{iCounter|name|C}} → 0
{{iCounter|A|++}}
{{iCounter|get|A}} → 1
{{iCounter|get|B}} → 0
{{iCounter|name|C}} → 1
{{iCounter|A|++}}
{{iCounter|B|32}}
{{iCounter}}
{{iCounter|get|A}} → 2
{{iCounter|get|B}} → 32
{{iCounter|name|C|noecho=true}}
{{iCounter|name|C}} → 3