Widget:Caveripper: Difference between revisions
Jump to navigation
Jump to search
mNo edit summary |
mNo edit summary |
||
Line 3: | Line 3: | ||
<input id="sublevel-input" type="text" placeholder="sublevel..."/> | <input id="sublevel-input" type="text" placeholder="sublevel..."/> | ||
<input id="seed-input" type="text" size="27" placeholder="seed... (leave empty for random)"/> | <input id="seed-input" type="text" size="27" placeholder="seed... (leave empty for random)"/> | ||
<div id="caveripper-wrapper" style="width:<!--{$height|escape:'html'|default:'100%'}-->;height:<!--{$height|escape:'html'|default:'82vh'}-->;display:flex;align-items:center;justify-content:center;background:#0f0f0f;border:1px solid #999;margin-top:4px"><canvas id="canvas" style="max-width:100%;max-height:100%;box-sizing:border-box"></div></div></includeonly> | <div id="caveripper-wrapper" style="width:<!--{$height|escape:'html'|default:'100%'}-->;height:<!--{$height|escape:'html'|default:'82vh'}-->;display:flex;align-items:center;justify-content:center;background:#0f0f0f;border:1px solid #999;margin-top:4px"><canvas id="canvas" style="max-width:100%;max-height:100%;border:1px solid transparent;box-sizing:border-box"></div></div></includeonly> |
Revision as of 19:59, April 4, 2024
This widget allows you to embed the Caveripper tool. Accepted parameters: width, height.