Difference between revisions of "Widget:StatTable"
Jump to navigation
Jump to search
Pianoforte (talk | contribs) |
Pianoforte (talk | contribs) |
||
Line 14: | Line 14: | ||
function swap_costume() { | function swap_costume() { | ||
costumeSelection = document.getElementById("costumeSelection").value; | costumeSelection = document.getElementById("costumeSelection").value; | ||
− | |||
$("#fullart a ").attr("href", "/wiki/File:Springfield" + costumeSelection + ".png"); | $("#fullart a ").attr("href", "/wiki/File:Springfield" + costumeSelection + ".png"); | ||
$("#fullart a img").attr("src", "http://en.gfwiki.com/wiki/Special:Filepath/Springfield" + costumeSelection + ".png?width=420"); | $("#fullart a img").attr("src", "http://en.gfwiki.com/wiki/Special:Filepath/Springfield" + costumeSelection + ".png?width=420"); | ||
− | |||
} | } | ||
− | |||
Line 30: | Line 27: | ||
<option value="_costume3"><!--{$costume3|escape:'html'}--></option> | <option value="_costume3"><!--{$costume3|escape:'html'}--></option> | ||
</select> | </select> | ||
− | |||
<div id="stat_table">test</div> | <div id="stat_table">test</div> | ||
</includeonly> | </includeonly> | ||
Line 36: | Line 32: | ||
<noinclude> | <noinclude> | ||
{{#widget:StatTable|dmg_max=999|costume1=test1|costume2=test2|costume3=test3}} | {{#widget:StatTable|dmg_max=999|costume1=test1|costume2=test2|costume3=test3}} | ||
− | <div id="fullart">[[File:Springfield.png | + | <div id="fullart">[[File:Springfield.png]]</div> |
</noinclude> | </noinclude> |