更多語言
更多操作
imported>Wr 無編輯摘要 |
imported>Wr 無編輯摘要 |
||
(未顯示同一使用者於中間所作的 1 次修訂) | |||
第1行:
{{Tab|English}}
<html>
<br>
<div class="alert alert-primary alert-dismissible fade show" role="alert">
<h4 class="alert-heading">Welcome to Infobox Utility</h4>
|
於 2022年3月23日 (三) 14:19 的最新修訂
<html>
Welcome to Infobox Utility
You can create an infobox easily with this utility for Sonicpedia and other MediaWiki sites!
Notice: Other MediaWiki Sites should download <a href="https://sonicpedia.org/images/6/60/No_Image_Available.png?download" target="_blank">No Image Available.png</a> or replace it with other default pictures.
<button type="button" class="close" data-dismiss="alert" aria-label="Close">
</button>
<form class="form-inline">
<label for="alertText" class="sr-only">Infobox Title</label> <input type="text" readonly class="form-control-plaintext" id="alertText" value="Infobox Title:">
<label for="inputName" class="sr-only">Title</label> <input type="text" class="form-control" id="franame" placeholder="Title">
<button type="button" class="btn btn-primary mb-2" onclick="getfraname()">OK</button>
</form>
<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>