实用代码库

符号

无缝黑条:[█]
一字空格:[ ]


伪黑条

刮刮乐

[[span class="dblock"]]内容[[/span]]

示例:
内容

调整黑条颜色

[[module CSS]]
.dblock:hover {background: #f4f4f4}
[[/module]]


授权模块

[[include :rule-wiki:component:license-box
|author=作者信息]]
[!-- N/A (No Images) --]
[[include :rule-wiki:component:license-box-end]]


查看页面被观看次数

请把aaaaaaa改成一个你独有的字符

[[html]]
<img src="https://count.getloli.com/get/@aaaaaaa?theme=3d-num" alt="@aaaaaaa?theme=3d-num" class="image">
[[/html]]


只能down的评分模块

DOWN分必备

[[module css]]
.rateup.btn,
.cancel.btn {
display:none
}
[[/module]]

[[>]]
[[module Rate]]
[[/>]]


模仿匿名版

如下

[[module CSS]]
a.byakko {
text-decoration: none !important;
}
a.byakko:hover {
text-decoration: underline !important;
}
[[/module]]

[[include :scp-wiki-cn:a1 |title= ]]


[[include :1nu:a2
|no=
|ano=无标题 无名氏
|date=
|time=
|id=
|post=
]]


[[include :1nu:a5
|no=
|ano=无标题 无名氏
|date=
|time=
|id=
|post=
|no-res=
|time-res=
|id-res=
|post-res=
]]


[[include :scp-wiki-cn:a6]]


假链接

无法被打开,或可用来模拟别的
www.yibaidu.com


假评分模块

你随意,我干了哈

[[>]]
[[span style="border-bottom: solid .5px transparent; border-radius: 5px; box-shadow: 1px 1px 3px rgba(0,0,0,.5); font-size: 12.8px; padding: 0;"]][[span style="background-color: #633; border: solid 1px #633; border-right: 0; border-radius: 5px 0 0 5px; padding: 0 10px; line-height: 20px; font-weight: bold; color: #fff;"]]评分: 爱谁谁[[/span]][[span style="background-color: #fff6f0; border-top: solid 1px #633; border-bottom: solid 1px #633; font-weight: bold; margin: 0; padding: 0 5px; color: #633;"]]+ –[[/span]][[span style="background: #633; border: solid 1px #633; border-left: 0; border-radius: 0 5px 5px 0; padding: 0 5px; text-transform: uppercase; color: rgba(255,255,255,.3);"]]x [[/span]][[/span]]
[[/>]]

评分: 爱谁谁+ –x


假用户不存在

吓别人一跳

[[span style="color:red;border: solid 1px #FE0000"]]**//填入你的名字// does not match any existing user name**[[/span]]

[[span style="color:red;border: solid 1px #FE0000"]]**//填入你的名字// 不匹配任何一个现有的用户名**[[/span]]

Areyoucrazytom does not match any existing user name

Areyoucrazytom 不匹配任何一个现有的用户名


拯救卡崩的页面

在网址后加入

/norender/true
/noredirect/true


隐藏你不想让别人看到的内容

如下

[[module css]]
.hidden.n1476662 {display: none;}
[[/module]]

[[module Listusers users="."]]
[[div class="hidden n%%number%%"]]
填入你的文字
[[/div]]
[[/module]]


代码范例的用户为AreyoucrazytomAreyoucrazytom
此处1476662是wikdot用户码,可以用 https://scpper.mer.run 找到


使用Listusers兼容模块让非 Wikidot 用户看到内容

[[module css]]
.hidden.n1476662 {display: none;}
[[/module]]

[[include :scp-wiki:component:listusers-1 users="."]]
[[div class="hidden n%%number%%"]]
填入你的文字
[[/div]]
[[include :scp-wiki:component:listusers-2]]
填入你的文字
[[include :scp-wiki:component:listusers-3]]


测试

{$title}
显示全部帖文
显示第1~100条帖文
显示最新的50条帖文
★手机版★
■回到论坛■
★ULA版★
{$no} {$ano} {$date} {$time} ID:{$id}
{$post}
{$no} {$ano} {$date} {$time} ID:{$id}
{$post}
{$no} {$ano} {$date} {$time} ID:{$id}
{$post}
{$no} {$ano} {$date} {$time} ID:{$id}
{$post}
{$no} {$ano} {$date} {$time} ID:{$id}
{$post}
全部帖文
前100条
后100条
最新50条
★手机版★
■回到论坛■
★ULA版★
除非特别注明,本页内容采用以下授权方式: Creative Commons Attribution-ShareAlike 3.0 License