|
|
| (未显示同一用户的60个中间版本) |
| 第1行: |
第1行: |
| | ==日志(?)== |
| | |
| 艾拉单推鸽(*¯ㅿ¯*;) | | 艾拉单推鸽(*¯ㅿ¯*;) |
| [https://pan.guguwo.top/Rizline/ara 咕] | | [https://pan.guguwo.top/ara 咕] |
|
| |
|
| /* ===== 2025.4.13 ===== */ | | /* ===== 2025.4.13 ===== */ |
| 第10行: |
第12行: |
| 算了,晚安 | | 算了,晚安 |
| zzz | | zzz |
| --------以下是测试-------
| |
| {{黑幕|这是啥|test}}
| |
| {{Html5Media|url=https://gh-proxy.com/raw.githubusercontent.com/Rizline-Chinese-Wiki/rizline-song-preview/main/%E3%80%90Utau%E7%BF%BB%E5%94%B1%E2%A7%B8%E5%8E%9F%E5%88%9BPV%E3%80%91%E3%83%A1%E3%83%AB%E3%83%86%E3%82%A3%E3%83%A9%E3%83%B3%E3%83%89%E3%83%8A%E3%82%A4%E3%83%88%E3%83%A1%E3%82%A2%E3%80%901%C3%9740%E3%80%91%20[BV1uKTyzkEr4_p1].mp4}}
| |
| {{Html5Media|url=https://pan.rizwiki.cn/d/%E9%AB%98%E9%80%9F/%E6%B5%8B%E8%AF%95%E6%96%87%E4%BB%B6%E5%A4%B9/%E3%80%90Utau%E7%BF%BB%E5%94%B1%E2%A7%B8%E5%8E%9F%E5%88%9BPV%E3%80%91%E3%83%A1%E3%83%AB%E3%83%86%E3%82%A3%E3%83%A9%E3%83%B3%E3%83%89%E3%83%8A%E3%82%A4%E3%83%88%E3%83%A1%E3%82%A2%E3%80%901%C3%9740%E3%80%91%20%5BBV1uKTyzkEr4_p1%5D.mp4?sign=V90_EzJjzDo8mAUhOXsII4fJYyy-R1V2fpHdXK8nr2s=:0}}
| |
|
| |
|
| <html>
| | /* ===== 2025.7.7 ===== */ |
| <head>
| | 将wiki迁移至新的服务器内(在此之前wiki一直在与[https://wiki.xhsr.org.cn/ 吾萌百科]共用服务器) |
| <meta charset="UTF-8">
| | |
| <style>
| | /* ===== 2025.7.11 ===== */ |
| body {
| | 可视化编辑堂堂复活!!! |
| margin: 0;
| | |
| display: flex;
| | /* ===== 2025.7.13 ===== */ |
| justify-content: center;
| | 写了个人介绍 |
| align-items: center;
| | |
| min-height: 100vh;
| | /* ===== 2025.8.20 ===== */ |
| color: #f0f0f0;
| | wiki遭到渗透 |
| }
| |
|
| |
|
| table {
| | /* ===== 2025.8.21 ===== */ |
| border-radius: 12px;
| | 在群友的帮助下更新了wiki,误打误撞wiki被修好了,加了谷歌人机验证,好卡。。。 |
| overflow: hidden;
| | 另:貌似有人能绕过问题直接注册???这怎么办到的? |
| box-shadow: 0 8px 25px rgba(0, 0, 0, 0.5);
| |
| border: 1px solid #444;
| |
| max-width: 960px;
| |
| background-color: #2c2d30;
| |
| }
| |
|
| |
|
| td {
| | /* ===== 2025.9.16 ===== */ |
| transition: background-color 0.4s ease;
| | wiki更新了新的社交系统,应该会慢慢完善等级和ui啥的ↀωↀ(群友说要逐步社区化wiki,哇酷哇酷) |
| padding: 0;
| |
| }
| |
|
| |
|
| #difficulty {
| | ==个人介绍== |
| font-size: 1.5em;
| | 很菜很菜的一只鸽子,现担任rizwiki的网站管理员一职。 |
| font-weight: bold;
| |
| padding: 15px 0;
| |
| letter-spacing: 2px;
| |
| user-select: none;
| |
| transition: background-color 0.4s ease, transform 0.1s ease;
| |
| }
| |
| #difficulty:hover {
| |
| opacity: 0.9;
| |
| }
| |
| #difficulty:active {
| |
| transform: scale(0.98);
| |
| }
| |
|
| |
|
| #ratio {
| | 不是很会取名字,常用的昵称有:卡介菌 咕咕〇号机 kajiekazz moeku moekuX 幽灵部员 |
| font-size: 1.2em;
| |
| font-weight: 600;
| |
| display: flex;
| |
| justify-content: center;
| |
| align-items: center;
| |
| user-select: none;
| |
| transition: background-color 0.3s ease, transform 0.1s ease;
| |
| }
| |
| #ratio:hover {
| |
| background-color: #556677 !important;
| |
| }
| |
| #ratio:active {
| |
| transform: scale(0.95);
| |
| }
| |
|
| |
|
| #output {
| | 未知年龄 |
| background-color: #000;
| |
| line-height: 0;
| |
| }
| |
|
| |
|
| video.html5media-video {
| | 主玩音游有phigros 旋转音律 arcaea ryceam ichni 喵斯快跑 中二节奏,但貌似并不擅长玩音游,最大成就是malody 2dan acc96% |
| width: 100%;
| |
| height: 100%;
| |
| object-fit: contain;
| |
| display: block;
| |
| }
| |
| </style>
| |
| </head>
| |
| <body>
| |
|
| |
|
| <table width="100%" style="border:none; border-collapse:collapse;">
| | 貌似喜欢捣鼓玩机 nas之类的(但是资金限制兴趣的进一步发展...) |
| <tr>
| |
| <td colspan="2" style="text-align:center; background-color:#57E4C4;">
| |
| <div id="difficulty" onclick="cycleDifficulty(this)" data-states='["EZ 1", "HD 6", "IN 11"]' data-current="0" style="cursor:pointer;">EZ 2</div>
| |
| </td>
| |
| </tr>
| |
| <tr style="height:300px">
| |
| <td width="15%" onclick="cycleRatio(document.getElementById('ratio'))" style="text-align:center; background-color:#ABCDEF; cursor:pointer;">
| |
| <div id="ratio" data-states='["16:9", "4:3"]' data-current="0" style="height:100%; cursor:pointer;">16:9</div>
| |
| </td>
| |
| <td style="height:100%; position:relative">
| |
| <span id="output" style="display:block; height:300px; overflow:hidden;"></span>
| |
| </td>
| |
| </tr>
| |
| </table>
| |
|
| |
|
| <script>
| | 这么说,还是一只穷鸽子awa |
| const songName = "Pastel Lines"
| |
|
| |
|
| const difficultyColors = {
| | 一直很想给wiki弄一个看板娘,也一直没敢开口.. 想着等着愚人节制作一个webgal让其亮相 |
| "EZ": "#57E4C4",
| |
| "HD": "#FDBA61",
| |
| "IN": "#FE8661",
| |
| "AT": "#4C364B"
| |
| };
| |
|
| |
|
| function cycleDifficulty(element) {
| | 好像笨笨的,身边人都是这么说的 |
| const states = JSON.parse(element.getAttribute('data-states'))
| |
| const current = parseInt(element.getAttribute('data-current'))
| |
| const next = (current + 1) % states.length
| |
|
| |
|
| element.textContent = states[next]
| | 你可以在各大平台找到鸽子的身影,一般id都是带的kajiekazz或卡介菌 |
| element.setAttribute('data-current', next.toString())
| |
|
| |
|
| const difficultyType = states[next].split(' ')[0]
| | 不太会组织语言,一般与其对话其经常回复👀,这是鸽子用来表达已读或者不知道咋回复时惯用语言 |
| const color = difficultyColors[difficultyType] || '#FFFFFF'
| |
| element.style.backgroundColor = color
| |
| element.parentElement.style.backgroundColor = color
| |
|
| |
|
| updateOutput()
| | 喜欢看番,最喜欢的两个是少女终末旅行和来自深渊 |
| }
| |
|
| |
|
| function cycleRatio(element) {
| | ==模板测试== |
| const states = JSON.parse(element.getAttribute('data-states'))
| | {{黑幕|真的有人会来看吗awa}} |
| const current = parseInt(element.getAttribute('data-current'))
| |
| const next = (current + 1) % states.length
| |
|
| |
|
| element.textContent = states[next]
| | {{Html5Media|url=https://pan.guguwo.top/d/%E6%89%8B%E6%9C%BA%E5%A3%81%E7%BA%B8/%E6%98%8E%E6%97%A5%E6%96%B9%E8%88%9F%C2%B7%E6%B0%B4%E6%9C%882.mp4?sign=MEVAYKO-g-jk1E1OiVEDJJtlMRABWGhBLjozPAeWU-Q=:0}} |
| element.setAttribute('data-current', next.toString())
| |
|
| |
|
| updateOutput()
| | {{BMV |
| }
| | | songName = Pastel Lines |
| | | difficulties = EZ1, HD6, IN11, AT114514 |
| | }} |
|
| |
|
| function updateOutput() {
| | ==PWA 安装测试== |
| const difficultyDiv = document.getElementById('difficulty')
| |
| const ratioDiv = document.getElementById('ratio')
| |
|
| |
|
| const difficulty = difficultyDiv.textContent.split(' ')[0]
| | <html> |
| const ratio = ratioDiv.textContent.replace(':', '-')
| | <button id="pwa-test-btn" style="display:none; font-size: 20px; padding: 15px 30px; background: #007bff; color: white; border: none; border-radius: 8px; margin: 20px auto; cursor: pointer;"> |
| | 点击安装 App (测试) |
| | </button> |
| | </html> |
|
| |
|
| const videoUrl = `https://raw.githubusercontent.com/Rizline-Chinese-Wiki/rizline-song-preview/main/${ratio}_${songName}_${difficulty}.mp4`
| | ==调用示例== |
| | ===Pastel Lines页面内获取songinfo值(wiki内部调用)=== |
| | {{#dpl: |
| | |title=Pastel Lines |
| | |include={songinfo}:image |
| | }} |
|
| |
|
| document.getElementById('output').innerHTML = `
| | ===外部链接获取页面json源码=== |
| <video class="html5media-video" src="${videoUrl}" controls preload="metadata" loading="lazy" style="height:100%; object-fit:contain;"></video>
| | https://rizwiki.cn/api.php?action=query&titles=(替换页面名称)&prop=revisions&rvprop=content&format=json |
| `
| |
| }
| |
|
| |
|
| document.addEventListener('DOMContentLoaded', function () {
| | ===外部链接获取图片=== |
| const diffDiv = document.getElementById('difficulty')
| | https://rizwiki.cn/index.php/Special:Redirect/file/(图片名称) |
| const firstDiff = JSON.parse(diffDiv.getAttribute('data-states'))[0];
| | 示例:https://rizwiki.cn/index.php/Special:Redirect/file/Illustration.Idol.VizzenMonstDeath.0.png |
| const diffType = firstDiff.split(' ')[0]
| |
|
| |
| diffDiv.textContent = firstDiff
| |
| diffDiv.style.backgroundColor = difficultyColors[diffType]
| |
| diffDiv.parentElement.style.backgroundColor = difficultyColors[diffType]
| |
|
| |
| updateOutput();
| |
| });
| |
| </script>
| |
|
| |
|
| </body>
| | {{黑幕|https://rizlineasset.pigeongames.net/versions/这是什么呢/Android/catalog_catalog.json}} |
| </html>
| | {{黑幕|https://pan.guguwo.top/d/%E4%BB%A3%E7%A0%81/%E7%BB%BF%E8%B1%86%E8%AF%A1%E8%AE%A1.exe}} |
|
| |
|
| | 测试qwq awa QAQ TAT e_e |
|
| |
|
| 保存测试
| | [[文件:Logo-test.png|缩略图]] |
日志(?)
艾拉单推鸽(*¯ㅿ¯*;)
咕
/* ===== 2025.4.13 ===== */
某人因不会修bug而下架了ta心爱的可视化编辑
R.I.P
/* ===== 2025.4.13 过了几分钟... ===== */
草报错了..
算了,晚安
zzz
/* ===== 2025.7.7 ===== */
将wiki迁移至新的服务器内(在此之前wiki一直在与吾萌百科共用服务器)
/* ===== 2025.7.11 ===== */
可视化编辑堂堂复活!!!
/* ===== 2025.7.13 ===== */
写了个人介绍
/* ===== 2025.8.20 ===== */
wiki遭到渗透
/* ===== 2025.8.21 ===== */
在群友的帮助下更新了wiki,误打误撞wiki被修好了,加了谷歌人机验证,好卡。。。
另:貌似有人能绕过问题直接注册???这怎么办到的?
/* ===== 2025.9.16 ===== */
wiki更新了新的社交系统,应该会慢慢完善等级和ui啥的ↀωↀ(群友说要逐步社区化wiki,哇酷哇酷)
个人介绍
很菜很菜的一只鸽子,现担任rizwiki的网站管理员一职。
不是很会取名字,常用的昵称有:卡介菌 咕咕〇号机 kajiekazz moeku moekuX 幽灵部员
未知年龄
主玩音游有phigros 旋转音律 arcaea ryceam ichni 喵斯快跑 中二节奏,但貌似并不擅长玩音游,最大成就是malody 2dan acc96%
貌似喜欢捣鼓玩机 nas之类的(但是资金限制兴趣的进一步发展...)
这么说,还是一只穷鸽子awa
一直很想给wiki弄一个看板娘,也一直没敢开口.. 想着等着愚人节制作一个webgal让其亮相
好像笨笨的,身边人都是这么说的
你可以在各大平台找到鸽子的身影,一般id都是带的kajiekazz或卡介菌
不太会组织语言,一般与其对话其经常回复👀,这是鸽子用来表达已读或者不知道咋回复时惯用语言
喜欢看番,最喜欢的两个是少女终末旅行和来自深渊
模板测试
真的有人会来看吗awa
您可以点击下方的难度与比例以改变预览视频对应的谱面难度与视频比例。
PWA 安装测试
调用示例
Pastel Lines页面内获取songinfo值(wiki内部调用)
Illustration.PastelLines.RekuMochizuki.0.png
外部链接获取页面json源码
https://rizwiki.cn/api.php?action=query&titles=(替换页面名称)&prop=revisions&rvprop=content&format=json
外部链接获取图片
https://rizwiki.cn/index.php/Special:Redirect/file/(图片名称)
示例:https://rizwiki.cn/index.php/Special:Redirect/file/Illustration.Idol.VizzenMonstDeath.0.png
https://rizlineasset.pigeongames.net/versions/这是什么呢/Android/catalog_catalog.json
https://pan.guguwo.top/d/%E4%BB%A3%E7%A0%81/%E7%BB%BF%E8%B1%86%E8%AF%A1%E8%AE%A1.exe
测试qwq awa QAQ TAT e_e
文件:Logo-test.png