Re: 在?一起水Karma
[[module ManageSite]]
[[module ManageSite]]
啦啦啦啦啦啦啦啦啦啦啦啦
我什么时候才能突破两格啊
这帖就nm离谱(
各位试试呗
咦我三格了哗哗哗哈哈哈哈
创建云分迭代:
[[html]]
<style type="text/css">
body {
font-family: "Consolas",verdana, arial, helvetica, sans-serif;
font-size: 12.8px;
color: #333;
}
a {
color: #b01;
cursor: pointer;
text-decoration: none;
}
a:hover {
text-decoration: underline;
}
.offset-generator {
display: none;
}
.main-content {
display: none;
}
.main-button {
display: none;
}
.finish-button {
display: none;
}
.title-option {
display: none;
}
</style>
<script language="javascript">
var main;
var offsetcount = 0;
var offsets = "";
function CreateMain() {
main = document.getElementById("MainURL").value;
if (main != "") {
var result = 'http://scp-wiki-cloud.wikidot.com/' + main;
window.open(result);
document.getElementById("Save").innerHTML = '';
document.querySelector(".main-button").style.display = "inline";
} else {
document.getElementById("Save").innerHTML = '未输入内容。';
}
}
function MainFinished() {
document.getElementById("main-generator").innerHTML = '页面名称:' + main + '<a href="http://scp-wiki-cloud.wikidot.com/'
+ main + '" target="_blank">[前往]</a>';
document.querySelector(".offset-generator").style.display = "inline";
}
function CreateOffset() {
document.querySelector(".finish-button").style.display = "inline";
offsets = offsets + '<div style="border:1px grey;background:#f0f0f0"><p><strong>第' + (offsetcount + 1) + '迭代</strong> ---- <a href="http://scp-wiki-cloud.wikidot.com/fragment:'
+ main;
if (offsetcount < 10) {
offsets = offsets + '-0';
} else {
offsets = offsets + '-';
}
offsets = offsets + offsetcount + '/edit/true/tags/段落/parentPage/' + main + '" target="_blank">开始编辑</a><br>链接代码:[http://scp-wiki-cloud.wikidot.com/'
+ main + '/offset/' + offsetcount + ' 第' + (offsetcount + 1) + '迭代]</p></div>'
document.getElementById("offset-display").innerHTML = offsets;
offsetcount++;
document.getElementById("offset_count").innerHTML = '共' + offsetcount + '个迭代。';
}
function OffsetFinished() {
var offsetlinks = "";
for (var i = 0; i < offsetcount; i++) {
if (i < 10) {
offsetlinks = offsetlinks + '<br>http://scp-wiki-cloud.wikidot.com/fragment:' + main + '-0' + i;
} else {
offsetlinks = offsetlinks + '<br>http://scp-wiki-cloud.wikidot.com/fragment:' + main + '-' + i;
}
}
document.getElementById("offset-finish").innerHTML = '刷新代码';
document.querySelector(".main-content").style.display = "inline";
document.getElementById("description").innerHTML = '<br>请将下列代码复制到<a href="http://scp-wiki-cloud.wikidot.com/'
+ main + '/edit/true" target="_blank">主页面</a>中,并保存。';
document.getElementById("codes").innerHTML = '[[>]]<br>[[module rate]]<br>[[/>]]'
+ '<p>[[module ListPages category="fragment" parent="." limit="1" order="name" offset="@URL|0"]]'
+ '<p>%%content%%</p>' + '<p>[[/module]]</p>'
+ '[!-- <br>编辑本页面的内容可能会导致错误。若要编辑文本,请至以下链接。'
+ offsetlinks + '<br> --] </div>';
}
</script>
<body>
<div style="text-align:center" id="main-generator">
<p>请确认此为空页面,再开始创建页面。直接保存即可,稍后会进一步编辑。</p>
http://scp-wiki-cloud.wikidot.com/
<input type="text" id="MainURL" name="textinput" placeholder="页面名称" size="15">
<button onclick="CreateMain()">生成</button>
<p id="Save"></p>
<div style="text-align:center" class="main-button">
<button onclick="MainFinished()">我已完成。</button>
</div>
</div>
<div class="offset-generator">
<p id="offset_count">当前没有迭代页面。</p>
<p>注意:这里的链接地址是贴在正文里、用来跳转到其他迭代的链接地址。点开它们并不能直接编辑你的文章。</p>
<div style="text-align:center">
<button id="OffsetButton" onclick="CreateOffset()">添加一个迭代页</button>
</div>
<div id="offset-display">
<p> </p>
</div>
<div style="text-align:center" class="finish-button">
<button id="offset-finish" onclick="OffsetFinished()">我已完成。</button>
</div>
</div>
<div id="maincontent" class="main-content">
<input type="radio" name="title-change" value="no" onclick="document.querySelector('.title-option').style.display = 'none';" checked>标题始终不变
<input type="radio" name="title-change" value="yes" onclick="document.querySelector('.title-option').style.display = 'block';">标题随迭代改变
<p id="description"></p>
<div class="title-option" style="background-color:#f0f0f0;font-size:0.9em;line-height:90%;padding: 4% 4% 0.5em 4%;margin: 5% 5% 0 5%;">
<p>[[module CSS]]</p>
<p>#page-title { <br>display: none; <br> }</p>
<p>.meta-title {<br> border-bottom: solid 1px #bbbbbb;<br> color: #990011;<br> font-weight: normal;<br> margin: 0 0 0.6em;<br> padding: 0 0 0.25em;<br> font-size: 200%;<br>}</p>
<p>.meta-title p {<br> margin: 0;<br>}<br>[[/module]]</p>
<p>[[module ListPages category="fragment" parent="." limit="1" order="name" offset="@URL|0"]]</p>
<p>[[div class="meta-title"]]</p>
<p>%%title%%</p>
<p>[[/div]]</p>
<p>[[/module]]</p>
</div>
<div id="codes" style="background-color:#f0f0f0;font-size:0.9em;line-height:90%;padding: 0.5em 4% 4% 4%;margin: 0% 5% 5% 5%;">
<p></p>
</div>
</div>
</body>
[[/html]] | a1 a2 a3 |
D= | b1 b2 b3 |
| c1 c2 c3 |
[[$ |D|= a1·b2·c3+b1·c2·a3+c1·a2·b3-a3·b2·c1-b3·c2·a1-c3·a2·b1 $]]
大家好
很好