Widget:MoonStack: Difference between revisions

From WyrdeWiki
No edit summary
No edit summary
Line 17: Line 17:
</noinclude><includeonly>
</noinclude><includeonly>
<div class="wh-moonstack" style="max-width:<!--{$size|default:512|escape:'html'}-->px;margin:1rem 0;">
<div class="wh-moonstack" style="max-width:<!--{$size|default:512|escape:'html'}-->px;margin:1rem 0;">
   <label for="<!--{$id|default:'wh'|escape:'html'}-->-x"><strong>Alignment step:</strong>
   <label for="<!--{$id|default:'wh'|escape:'html'}-->-x"><strong>Days since alignment:</strong>
   <span id="<!--{$id|default:'wh'|escape:'html'}-->-xval">1</span> / 6433
   <span id="<!--{$id|default:'wh'|escape:'html'}-->-xval">1</span> / 6433
   </label>
   </label>

Revision as of 15:39, 10 November 2025

This widget allows you to embed the lunar orbits of WyrdeHaven in your mediaWiki page

Usage

{{#widget:MoonStack | basePath=/images/moons/ | size=512 | id=ms1}}

basePath   Location of image files for the orbits   /images/moons/
size   maximum image size in pixels   512
id   unique id prefix if you embed multiple widgets on one page   wh
fps   Desired fps for the animation   5