Widget:costumeSwitcher: Difference between revisions
Jump to navigation
Jump to search
Corrected img selector |
Pianoforte (talk | contribs) No edit summary |
||
Line 54: | Line 54: | ||
} | } | ||
</script><select | </script> | ||
<div style="display:flex"> | |||
<!--{if $moddable neq ''}--><select class="gf-droplist" autocomplete="off" onchange="swap_mod(this)" > | |||
<option value="<!--{$defaultstats|escape:'html'}-->">BASE</option> | |||
<option value="<!--{$mod1stats|escape:'html'}-->">MOD1</option> | |||
<option value="<!--{$mod2stats|escape:'html'}-->">MOD2</option> | |||
<option value="<!--{$mod3stats|escape:'html'}-->" selected="selected">MOD3</option> | |||
</select><!--{/if}--> | |||
<select class="gf-droplist" style="flex-grow: 1;" autocomplete="off" onchange="swap_costume(this)" > | |||
<option value="<!--{$defaultpaths|escape:'html'}-->" selected="selected">Default</option> | <option value="<!--{$defaultpaths|escape:'html'}-->" selected="selected">Default</option> | ||
<!--{if $costume1name neq ''}--><option value="<!--{$costume1paths|escape:'html'}-->"><!--{$costume1name|escape:'html'}--></option><!--{/if}--> | <!--{if $costume1name neq ''}--><option value="<!--{$costume1paths|escape:'html'}-->"><!--{$costume1name|escape:'html'}--></option><!--{/if}--> | ||
Line 61: | Line 69: | ||
<!--{if $costume4name neq ''}--><option value="<!--{$costume4paths|escape:'html'}-->"><!--{$costume4name|escape:'html'}--></option><!--{/if}--> | <!--{if $costume4name neq ''}--><option value="<!--{$costume4paths|escape:'html'}-->"><!--{$costume4name|escape:'html'}--></option><!--{/if}--> | ||
<!--{if $costume5name neq ''}--><option value="<!--{$costume5paths|escape:'html'}-->"><!--{$costume5name|escape:'html'}--></option><!--{/if}--> | <!--{if $costume5name neq ''}--><option value="<!--{$costume5paths|escape:'html'}-->"><!--{$costume5name|escape:'html'}--></option><!--{/if}--> | ||
</select></includeonly> | </select></div></includeonly> | ||
<noinclude> | <noinclude> |