微件:CharacterAttributes:修订间差异
无编辑摘要 标签:已被回退 |
无编辑摘要 标签:已被回退 |
||
第1行: | 第1行: | ||
<includeonly> | <includeonly> | ||
<div> | <div> | ||
<label for="levelSlider">{{{ | <label for="levelSlider">{{{1}}}角色等级: <span id="currentLevel">1</span></label> | ||
<input type="range" id="levelSlider" min="1" max="100" value="1"> | <input type="range" id="levelSlider" min="1" max="100" value="1"> | ||
</div> | </div> | ||
第12行: | 第12行: | ||
<script> | <script> | ||
document.addEventListener('DOMContentLoaded', function() { | document.addEventListener('DOMContentLoaded', function() { | ||
const characterName = '{{{ | const characterName = '{{{1}}}'; // 从模板参数中获取角色名 | ||
console.log('Character Name:', characterName); | console.log('Character Name:', characterName); | ||