帮助:沙盒:修订间差异

删除3,141字节 、​ 2020年9月6日 (星期日)
// Edit via Wikiplus
无编辑摘要
标签移动版编辑 移动版网页编辑
(// Edit via Wikiplus)
标签替换
 
== 请在这行文字下测试您的编辑 ==
=== 1 ===
比较测试
 
num1:{{#vardefineecho:num1|2.5}}
 
num2:{{#vardefineecho:num2|9.4}}
 
{{#ifeq:{{#expr:({{#expr:{{#var:num1}}-{{#var:num2}}}}-abs({{#expr:{{#var:num1}}-{{#var:num2}}}}))/{{#expr:{{#var:num1}}-{{#var:num2}}}}}}|0|1|}}
 
{{cmp|1.000001|1.000002}}
 
{{cmp|Na|Nf}}
 
{{max2|1.000001|1.000002}}
 
{{cmp|1|1}}
 
{{maxn|1|2|3|4|5}}
{{max32|1|2|3|4|5|6|46647649|-4916}}
 
=== 2 ===
谨慎进入
 
{{#vardefine:userlist1|QWERTY 52 38}}
{{#vardefine:userlist2|MashKJo}}
{{#vardefine:userlist3|自由李代数}}
{{#vardefine:userlist4|Sheep-realms}}
{{#vardefine:userlist5|Salt lovely}}
 
{{#vardefine:midslot1|0}}
{{#vardefine:midslot2|0}}
{{#vardefine:midslot3|0}}
{{#vardefine:midslot4|0}}
{{#vardefine:midslot5|0}}
 
{{#vardefine:tmpslot1|0}}
{{#vardefine:tmpslot2|0}}
{{#vardefine:tmpslot3|0}}
{{#vardefine:tmpslot4|0}}
{{#vardefine:tmpslot5|0}}
 
{{#vardefine:useredit1|{{Special:Editcount/{{#var:userlist1}}}}}}
{{#vardefine:useredit2|{{Special:Editcount/{{#var:userlist2}}}}}}
{{#vardefine:useredit3|{{Special:Editcount/{{#var:userlist3}}}}}}
{{#vardefine:useredit4|{{Special:Editcount/{{#var:userlist4}}}}}}
{{#vardefine:useredit5|{{Special:Editcount/{{#var:userlist5}}}}}}
 
Round1
{{#vardefine:midslot1|{{#var:useredit1}}}}
 
Round2
2.1
{{#if:{{cmp|{{#var:midslot1}}|{{#var:useredit2}}}}||{{#vardefine:tmpslot1|{{#var:midslot1}}}}{{#vardefine:midslot1|-2}}}}
 
2.2
{{#vardefine:alreadyset|0}}
{{#ifeq:{{#var:alreadyset}}|0|{{#ifeq:{{#var:midslot1}}|-2|{{#vardefine:midslot1|{{#var:useredit2}}}}{{#vardefine:alreadyset|1}}}}}}
 
2.3
{{#ifeq:{{#var:tmpslot1}}|0||{{#vardefine:midslot2|{{#var:tmpslot1}}}}{{#vardefine:tmpslot1|0}}}}
 
{{#var:midslot1}}
{{#var:midslot2}}
{{#var:midslot3}}
{{#var:midslot4}}
{{#var:midslot5}}
 
Round3
3.1
{{cmp|{{#var:midslot1}}|{{#var:useredit3}}}}
{{#if:{{cmp|{{#var:midslot1}}|{{#var:useredit3}}}}||{{#vardefine:tmpslot1|{{#var:midslot1}}}}{{#vardefine:midslot1|-2}}}}
 
{{#var:midslot1}}
{{#var:midslot2}}
{{#var:midslot3}}
{{#var:midslot4}}
{{#var:midslot5}}
 
{{#if:{{cmp|{{#var:midslot1}}|{{#var:useredit3}}}}||{{#vardefine:tmpslot2|{{#var:midslot2}}}}{{#vardefine:midslot2|-2}}}}
 
{{#var:midslot1}}
{{#var:midslot2}}
{{#var:midslot3}}
{{#var:midslot4}}
{{#var:midslot5}}
3.2
{{#vardefine:alreadyset|0}}
 
{{#ifeq:{{#var:alreadyset}}|0|{{#ifeq:{{#var:midslot1}}|-2|{{#vardefine:midslot1|{{#var:useredit3}}}}{{#vardefine:alreadyset|1}}}}}}
{{#ifeq:alreadyset|0|{{#ifeq:{{#var:midslot2}}|-2|{{#vardefine:midslot2|{{#var:useredit3}}}}{{#vardefine:alreadyset|1}}}}}}
 
 
{{#var:midslot1}}
{{#var:midslot2}}
{{#var:midslot3}}
{{#var:midslot4}}
{{#var:midslot5}}
 
3.3
{{#ifeq:{{#var:tmpslot1}}|0||{{#vardefine:midslot2|{{#var:tmpslot1}}}}{{#vardefine:tmpslot1|0}}}}
{{#ifeq:{{#var:tmpslot2}}|0||{{#vardefine:midslot3|{{#var:tmpslot2}}}}{{#vardefine:tmpslot2|0}}}}
 
 
{{#var:midslot1}}
{{#var:midslot2}}
{{#var:midslot3}}
{{#var:midslot4}}
{{#var:midslot5}}
 
== 3 ==
testtest{{Special:Editcount/我是人1012}}testtest
 
{{#vardefine:v|{{Special:Editcount/我是人1012}}}}
 
{{#ifeq:{{Special:Editcount/我是人1012}}|182|eq|noteq}}
 
{{#ifeq:{{Special:Editcount/我是人1012}}|{{#var:v}}|eq|noteq}}
 
{{#var:v}}
3,031

个编辑