Difference between revisions of "Template:Stories"
Jump to navigation
Jump to search
>@DeletedUser41383047 |
>@DeletedUser41383047 |
||
| Line 33: | Line 33: | ||
} | } | ||
| − | function changeModel( | + | function changeModel() { |
| − | + | statCalculator = document.getElementById("statCalculator"); | |
| − | + | statCalculator.innerHTML = {'{#cargo_query:tables=Adventurers|fields=MinHp3,MinHp4,MinHp5,MinAtk3,MinAtk4,MinAtk5,MaxHp,MaxAtk,Rarity|where=_pageName="' + advSelect +'"|format=template|template=Test2|no html}}' | |
| − | |||
| − | |||
| − | |||
| − | |||
} | } | ||
} | } | ||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
</script> | </script> | ||
| − | <select id="advSelect" name="advSelect" onChange="changeModel( | + | <select id="advSelect" name="advSelect" onChange="changeModel()"></select> |
| − | <div id=" | + | <div id="statCalculator">{{#cargo_query:tables=Adventurers|fields=MinHp3,MinHp4,MinHp5,MinAtk3,MinAtk4,MinAtk5,MaxHp,MaxAtk,Rarity|where=_pageName="Aeleen"|format=template|template=Test2|no html}}</div> |
</includeonly> | </includeonly> | ||