MCBBS Wiki欢迎您共同参与编辑!在参与编辑之前请先阅读Wiki方针

如果在编辑的过程中遇到了什么问题,可以去讨论板提问。

为了您能够无阻碍地参与编辑 未验证/绑定过邮箱的用户,请尽快绑定/验证

MCBBS Wiki GitHub群组已上线!

您可以在回声洞中发表吐槽!

服务器状态监控。点击进入

本站由MCBBS用户自行搭建,与MCBBS及东银河系漫游指南(北京)科技有限公司没有从属关系。点此了解 MCBBS Wiki 不是什么>>

帮助:沙盒:修订间差异

来自MCBBS Wiki
跳到导航 跳到搜索
→‎2
标签移动版编辑 移动版网页编辑
(文字替换 -“这是一段等待替换的测试文本”替换为“替换成功”)
 
(未显示42个用户的307个中间版本)
第1行: 第1行:
{{/handler}}
{{/handler}}

== 请在这行文字下测试您的编辑 ==
== 请在这行文字下测试您的编辑 ==
=== 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}}

2024年2月27日 (二) 13:57的最新版本

沙盒(Sandbox)是供Wiki内所有贡献者测试编辑效果用的,管理员有义务定期清理。

如果您在此保存的内容被清理了,可以通过右上角的历史找回。

如果您不希望自己的内容被他人覆盖,请在自己的用户页创建沙盒

请在这行文字下测试您的编辑

替换成功