Tower of Saviors 維基
Tower of Saviors 維基
无编辑摘要
标签sourceedit
无编辑摘要
标签sourceedit
第55行: 第55行:
 
);
 
);
 
}
 
}
  +
$('#stage_name').val((wgTitle.split('/'))[0]);
 
 
 
 
})();
 
})();

2015年7月11日 (六) 05:46的版本

<form> 隊伍名:<input type="text" id="team_name" /> 關卡名:<input type="text" id="stage_name" disabled="disabled" />

編號等級技能回合數昇華等級
隊長<input type="number" min="1" max="9999" /><input type="number" min="1" max="9999" /><input type="number" min="1" max="9999" /><input type="number" min="1" max="9999" />
隊員1<input type="number" min="1" max="9999" /><input type="number" min="1" max="9999" /><input type="number" min="1" max="9999" /><input type="number" min="1" max="9999" />
隊員2<input type="number" min="1" max="9999" /><input type="number" min="1" max="9999" /><input type="number" min="1" max="9999" /><input type="number" min="1" max="9999" />
隊員3<input type="number" min="1" max="9999" /><input type="number" min="1" max="9999" /><input type="number" min="1" max="9999" /><input type="number" min="1" max="9999" />
隊員4<input type="number" min="1" max="9999" /><input type="number" min="1" max="9999" /><input type="number" min="1" max="9999" /><input type="number" min="1" max="9999" />
隊友<input type="number" min="1" max="9999" /><input type="number" min="1" max="9999" /><input type="number" min="1" max="9999" /><input type="number" min="1" max="9999" />

完整通關攻略 <textarea id="attack_method" style="resize:none;width:300px;height:200px;"></textarea> <input type="submit" value="提交" /> </form> <script> (function NewTeam(){ if(typeof jQuery == "undefined") { setTimeout(NewTeam, 100); return; }

if(typeof mw == "undefined") { setTimeout(NewTeam, 100); return; }

function submit() { var token = mw.user.tokens.get('editToken'); $.post( "http://zh.tos.wikia.com/api.php", { action: 'edit', appendtext: text, title: title + '/通關技巧及參考隊伍', token: token, format: json }, function() {}, 'json' ); } $('#stage_name').val((wgTitle.split('/'))[0]);

})(); </script>