helialprofile.png
Welcome to IOPWiki, Commander.
We are lacking editors focused on Girls' Frontline and Girls' Frontline 2. You can contribute without an account. Learn how to contribute and join our Discord server.

Difference between revisions of "Widget:StatTable"

Welcome to IOP Wiki. This website is maintained by the Girls' Frontline community and is free to edit by anyone.
Jump to navigation Jump to search
(Added document-ready wait functionality as the MediaWiki does not wait for DOM)
 
(2 intermediate revisions by 2 users not shown)
Line 21: Line 21:
 
}
 
}
  
RLQ.push(function () {
+
RLQ.push(['jquery', function () {
  $(document).ready(function() {
+
  $(document).ready(function() {
 
if (document.getElementById("stat_table")) {
 
if (document.getElementById("stat_table")) {
 
         st_element = document.getElementById("stat_table");
 
         st_element = document.getElementById("stat_table");
Line 28: Line 28:
 
}
 
}
 
swap_costume();
 
swap_costume();
  });
+
  });
});
+
}]);
  
 
</script>
 
</script>
 
<select id="costumeSelection" onchange="swap_costume()">
 
<select id="costumeSelection" onchange="swap_costume()">
 
<option value="<!--{$defaultpath|escape:'html'}-->" selected="selected">Default</option>
 
<option value="<!--{$defaultpath|escape:'html'}-->" selected="selected">Default</option>
<option value="_mod">Mod</option>
+
<option value="_Mod">Mod</option>
 
<option value="<!--{$costume1path|escape:'html'}-->"><!--{$costume1|escape:'html'}--></option>
 
<option value="<!--{$costume1path|escape:'html'}-->"><!--{$costume1|escape:'html'}--></option>
 
<option value="<!--{$costume2path|escape:'html'}-->"><!--{$costume2|escape:'html'}--></option>
 
<option value="<!--{$costume2path|escape:'html'}-->"><!--{$costume2|escape:'html'}--></option>
 
<option value="<!--{$costume3path|escape:'html'}-->"><!--{$costume3|escape:'html'}--></option>
 
<option value="<!--{$costume3path|escape:'html'}-->"><!--{$costume3|escape:'html'}--></option>
<option value="<!--{$costume4path|escape:'html'}-->"><!--{$costume4|escape:'html'}--></option>
 
<option value="<!--{$costume5path|escape:'html'}-->"><!--{$costume5|escape:'html'}--></option>
 
 
</select>
 
</select>
  
 
+
<div id="stat_table">test</div>
 
</includeonly>
 
</includeonly>
  
Line 49: Line 47:
 
|dmg_max=999
 
|dmg_max=999
 
|defaultpath={{filepath:Springfield.png|420}}
 
|defaultpath={{filepath:Springfield.png|420}}
|costume1name=test1
+
|costume1=test1
 
|costume1path={{filepath:Springfield_costume1.png|420}}
 
|costume1path={{filepath:Springfield_costume1.png|420}}
|costume2name=test2
+
|costume2=test2
 
|costume2path={{filepath:Springfield_costume2.png|420}}
 
|costume2path={{filepath:Springfield_costume2.png|420}}
|costume3name=test3
+
|costume3=test3
 
|costume3path={{filepath:Springfield_costume3.png|420}}
 
|costume3path={{filepath:Springfield_costume3.png|420}}
|costume4name=test4
 
|costume4path={{filepath:Springfield_costume4.png|420}}
 
|costume5name=test5
 
|costume5path={{filepath:Springfield_costume5.png|420}}
 
 
}}
 
}}
<div id="stat_table">test</div>
+
 
 
<div id="fullart" style="float:left; padding: 10px;">[[file:Springfield.png|420px]]</div>
 
<div id="fullart" style="float:left; padding: 10px;">[[file:Springfield.png|420px]]</div>
 
<div id="dummydiv" style="float:left; padding: 10px; border: thin solid white;" onclick="alert('hi');">[[File:Springfield_chibi.png|link=|center|class=tdoll_chibi]]</div>
 
<div id="dummydiv" style="float:left; padding: 10px; border: thin solid white;" onclick="alert('hi');">[[File:Springfield_chibi.png|link=|center|class=tdoll_chibi]]</div>
  
 
</noinclude>
 
</noinclude>

Latest revision as of 15:10, 14 October 2019


test

Springfield.png
Springfield chibi.png