更多语言
更多操作
imported>Wr 无编辑摘要 |
imported>Wr 无编辑摘要 |
||
第1行: | 第1行: | ||
<html> |
<html> |
||
<div class="alert alert- |
<div class="alert alert-primary alert-dismissible fade show" role="alert"> |
||
<h4 class="alert-heading">欢迎来到信息栏创建工具!</h4> |
<h4 class="alert-heading">欢迎来到信息栏创建工具!</h4> |
||
<p>您可通过本工具快速创建适用于<strong>索尼克百科</strong>及其他 MediaWiki 站点的信息栏~ 欢迎分享!</p> |
<p>您可通过本工具快速创建适用于<strong>索尼克百科</strong>及其他 MediaWiki 站点的信息栏~ 欢迎分享!</p> |
||
<hr> |
<hr> |
||
<p class="mb-0">注意: 其他 MediaWiki 站点请自行下载 <a href="https://sonicpedia.org/images/6/60/No_Image_Available.png?download" target="_blank">No Image Available.png</a> 图片文件或将其替换为其他默认图片。</p> |
<p class="mb-0">注意: 其他 MediaWiki 站点请自行下载 <a href="https://sonicpedia.org/images/6/60/No_Image_Available.png?download" target="_blank">No Image Available.png</a> 图片文件或将其替换为其他默认图片。</p> |
||
<button type="button" class="close" data-dismiss="alert" aria-label="关闭"> |
|||
<span aria-hidden="true">×</span> |
|||
⚫ | |||
</div> |
</div> |
||
<div class="media"> |
|||
<img src="https://sonicpedia.org/headlogo.png" class="mr-3" alt="索尼克百科 Logo" width="60px" height="60px"> |
|||
<div class="media-body"> |
|||
<h5 class="mt-0">欢迎来到信息栏创建工具!</h5> |
|||
<p>您可通过本工具快速创建适用于<strong>索尼克百科</strong>及其他 MediaWiki 站点的信息栏~ 欢迎分享!</p> |
|||
⚫ | |||
</div> |
|||
<div id="houhide">可以告诉我们信息栏的名字吗? |
<div id="houhide">可以告诉我们信息栏的名字吗? |
2022年3月23日 (三) 13:50的版本
<html>
欢迎来到信息栏创建工具!
您可通过本工具快速创建适用于索尼克百科及其他 MediaWiki 站点的信息栏~ 欢迎分享!
注意: 其他 MediaWiki 站点请自行下载 <a href="https://sonicpedia.org/images/6/60/No_Image_Available.png?download" target="_blank">No Image Available.png</a> 图片文件或将其替换为其他默认图片。
<button type="button" class="close" data-dismiss="alert" aria-label="关闭">
</button>
<input type="text" id="franame" onkeydown="if(event.keyCode==13){getfraname()}"/> <button type="button" class="btn btn-primary" onclick="getfraname()">确定</button>
<script>
/*确认名字*/
function getfraname() {
var franame=document.getElementById("franame").value
var xianhide=document.getElementById("xianhide");
document.getElementById("houhide").style.display = "none"
xianhide.style.display = "block"
var mwmark = document.getElementById("mwmark")
mwmark.insertAdjacentHTML("beforeend",franame)
}
/*添加信息*/
function getfracontent() {
var fraco=document.getElementById("fracontent").value
document.getElementById("writee").insertAdjacentHTML("beforeend","
|-
")
var mwmark = document.getElementById("mwmark")
mwmark.insertAdjacentHTML("beforeend","
|")
mwmark.insertAdjacentHTML("beforeend",fraco)
mwmark.insertAdjacentHTML("beforeend"," =")
document.getElementById("fracontent").value = ""
}
function stopmakefra() {
document.getElementById("writee").insertAdjacentHTML("beforeend","
|}")
document.getElementById("mwmark").insertAdjacentHTML("beforeend","
}}")
document.getElementById("mwmark").style.opacity = "100"
document.getElementById("buttoncr").style.display = "none";
document.getElementById("houhide").style.display = "none"
}
</script>
</html>