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

用户:卡介菌:修订间差异

585次编辑加入
 
(未显示同一用户的54个中间版本)
第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>
        body {
            margin: 0;
            display: flex;
            justify-content: center;
            align-items: center;
            min-height: 100vh;
        }


        table {
/* ===== 2025.7.11 ===== */
            border-radius: 12px;
可视化编辑堂堂复活!!!
            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.7.13 ===== */
            transition: background-color 0.4s ease;
写了个人介绍
            padding: 0;
        }


        #difficulty {
/* ===== 2025.8.20 ===== */
            font-size: 1.5em;
wiki遭到渗透
            font-weight: bold;
            padding: 15px 0;
            letter-spacing: 2px;
            user-select: none;
            transition: background-color 0.4s ease, transform 0.1s ease;
            color: #111;
        }
        #difficulty:hover {
            opacity: 0.9;
        }
        #difficulty:active {
            transform: scale(0.98);
        }


        #ratio {
/* ===== 2025.8.21 ===== */
            font-size: 1.2em;
在群友的帮助下更新了wiki,误打误撞wiki被修好了,加了谷歌人机验证,好卡。。。
            font-weight: 600;
另:貌似有人能绕过问题直接注册???这怎么办到的?
            display: flex;
            justify-content: center;
            align-items: center;
            user-select: none;
            transition: background-color 0.3s ease, transform 0.1s ease;
            color: #111;
        }
        #ratio:hover {
            background-color: #556677 !important;
        }
        #ratio:active {
            transform: scale(0.95);
        }


        #output {
/* ===== 2025.9.16 ===== */
            background-color: #000;
wiki更新了新的社交系统,应该会慢慢完善等级和ui啥的ↀωↀ(群友说要逐步社区化wiki,哇酷哇酷)
            line-height: 0;
        }


        video.html5media-video {
==个人介绍==
            width: 100%;
很菜很菜的一只鸽子,现担任rizwiki的网站管理员一职。
            height: 100%;
            object-fit: contain;
            display: block;
        }
    </style>
</head>
<body>


<table width="100%" style="border:none; border-collapse:collapse;">
不是很会取名字,常用的昵称有:卡介菌 咕咕〇号机 kajiekazz moeku moekuX 幽灵部员
  <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>
未知年龄
  const songName = "Pastel Lines"


  const difficultyColors = {
主玩音游有phigros 旋转音律 arcaea ryceam ichni 喵斯快跑 中二节奏,但貌似并不擅长玩音游,最大成就是malody 2dan acc96%
    "EZ": "#57E4C4",
    "HD": "#FDBA61",
    "IN": "#FE8661",
    "AT": "#4C364B"
  };


  function cycleDifficulty(element) {
貌似喜欢捣鼓玩机 nas之类的(但是资金限制兴趣的进一步发展...)
    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]
这么说,还是一只穷鸽子awa
    element.setAttribute('data-current', next.toString())


    const difficultyType = states[next].split(' ')[0]
一直很想给wiki弄一个看板娘,也一直没敢开口.. 想着等着愚人节制作一个webgal让其亮相
    const color = difficultyColors[difficultyType] || '#FFFFFF'
    element.style.backgroundColor = color
    element.parentElement.style.backgroundColor = color


    updateOutput()
好像笨笨的,身边人都是这么说的
  }


  function cycleRatio(element) {
你可以在各大平台找到鸽子的身影,一般id都是带的kajiekazz或卡介菌
    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]
不太会组织语言,一般与其对话其经常回复👀,这是鸽子用来表达已读或者不知道咋回复时惯用语言
    element.setAttribute('data-current', next.toString())


    updateOutput()
喜欢看番,最喜欢的两个是少女终末旅行和来自深渊
  }


  function updateOutput() {
==模板测试==
    const difficultyDiv = document.getElementById('difficulty')
{{黑幕|真的有人会来看吗awa}}
    const ratioDiv = document.getElementById('ratio')


    const difficulty = difficultyDiv.textContent.split(' ')[0]
{{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}}
    const ratio = ratioDiv.textContent.replace(':', '-')


    const videoUrl = `https://raw.githubusercontent.com/Rizline-Chinese-Wiki/rizline-song-preview/main/${ratio}_${songName}_${difficulty}.mp4`
{{BMV
| songName = Pastel Lines
| difficulties = EZ1, HD6, IN11, AT114514
}}


    document.getElementById('output').innerHTML = `
==PWA 安装测试==
      <video class="html5media-video" src="${videoUrl}" controls preload="metadata" loading="lazy" style="height:100%; object-fit:contain;"></video>
    `
  }


  document.addEventListener('DOMContentLoaded', function () {
<html>
      const diffDiv = document.getElementById('difficulty')
<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;">
      const firstDiff = JSON.parse(diffDiv.getAttribute('data-states'))[0];
    点击安装 App (测试)
      const diffType = firstDiff.split(' ')[0]
</button>
     
      diffDiv.textContent = firstDiff
      diffDiv.style.backgroundColor = difficultyColors[diffType]
      diffDiv.parentElement.style.backgroundColor = difficultyColors[diffType]
     
      updateOutput();
  });
</script>
 
</body>
</html>
</html>


{{BMV
==调用示例==
| songName = Pastel Lines
===Pastel Lines页面内获取songinfo值(wiki内部调用)===
| difficulties = EZ1, HD6, IN11
{{#dpl:
|title=Pastel Lines
|include={songinfo}:image
}}
}}


保存测试
===外部链接获取页面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|缩略图]]

2025年12月6日 (六) 19:32的最新版本

日志(?)

艾拉单推鸽(*¯ㅿ¯*;)

/* ===== 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


您可以点击下方的难度与比例以改变预览视频对应的谱面难度与视频比例。

16:9

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