Toggle menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

Template:EmulatorJS Main: Difference between revisions

Template page
No edit summary
Tag: Reverted
No edit summary
 
(32 intermediate revisions by 2 users not shown)
Line 1: Line 1:
<!--button-->
{{#tag:html|
<a href="javascript:void(0);" onclick="document.getElementById('emulator-container').style.display='block'; document.getElementById('emulator-container').scrollIntoView({behavior: 'smooth'}); this.style.display='none';" title="test" style="display:inline-block;margin-top:10px;text-decoration:none;">
    <button style="padding:10px 20px;background-color:var(--color-primary);color:white;border:none;border-radius:5px;cursor:pointer;">
        test
    </button>
</a>
}}
<br>
<div id="emulator-container" style="display:none;">
<!--BEGIN Online Emulator Section-->
<!--BEGIN Online Emulator Section-->
{{#tag:html|
{{#tag:html|
<div style='width:{{{width|}}};height:{{{height|}}};max-width:100%'><div id='game'></div></div>
<div style='width:{{{width|}}};height:{{{height|}}};max-width:100%;margin-top:var(--space-md);display:flex;'><div id='game'></div></div>
<script type='text/javascript'>
<script type='text/javascript'>
 
EJS_player = '{{{EJS_player|#game}}}';
<!--DS setting-->
EJS_backgroundBlur = {{{EJS_backgroundBlur|true}}};
EJS_player = '#game';
EJS_backgroundBlur = true;
EJS_backgroundImage = '{{{EJS_backgroundImage|loadScreen.png}}}';
EJS_backgroundImage = '{{{EJS_backgroundImage|loadScreen.png}}}';
EJS_alignStartButton = '{{{EJS_alignStartButton|top}}}';
EJS_alignStartButton = '{{{EJS_alignStartButton|center}}}';
EJS_pathtodata = '{{{EJS_pathtodata|https://onlineemulators.gamebrew.org/data/}}}';
EJS_pathtodata = '{{{EJS_pathtodata|https://dlhb.gamebrew.org/onlineemulators/EmulatorJS/data/}}}';


EJS_core = '{{{EJS_core|}}}';
EJS_core = '{{{EJS_core|}}}';
EJS_gameName = "{{{EJS_gameName|}}}";
EJS_gameName = "{{{EJS_gameName|}}}";
EJS_gameUrl = '{{{EJS_gameUrl|}}}';
EJS_gameUrl = '{{{EJS_gameUrl|}}}';
EJS_startButtonName = '{{{EJS_startButtonName|Start Game}}}';
</script>
</script>
{{EmulatorJS Loader}}
{{EmulatorJS Loader}}
}}
}}
{{DS Control Settings}}
<!--END Online Emulator Section-->
<!--END Online Emulator Section-->
</div>

Latest revision as of 01:53, 19 August 2024

Advertising: