打开/关闭菜单
打开/关闭个人菜单
未登录
未登录用户的IP地址会在进行任意编辑后公开展示。

Help:创建信息栏:修订间差异

帮助页面
删除的内容 添加的内容
imported>Wr
无编辑摘要
imported>Wr
无编辑摘要
第1行: 第1行:
<html>
<html>
<div class="alert alert-success" role="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">&times;</span>
</button>
</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>


<div id="houhide">可以告诉我们信息栏的名字吗?
<div id="houhide">可以告诉我们信息栏的名字吗?

2022年3月23日 (三) 13:50的版本

<html>


可以告诉我们信息栏的名字吗?

<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>

我们为您提供服务需要使用Cookie。使用我们的服务即表示您同意我们使用Cookie。