Widget:MoonStack: Difference between revisions

From WyrdeWiki
No edit summary
No edit summary
Line 33: Line 33:
         src="<!--{$basePath|default:'/images/moons/'|escape:'html'}-->WyrdeHaven_center.png" width="{size}" height="{size}"
         src="<!--{$basePath|default:'/images/moons/'|escape:'html'}-->WyrdeHaven_center.png" width="{size}" height="{size}"
         alt="WyrdeHaven base"
         alt="WyrdeHaven base"
         style="position:absolute;top:0;left:0;width:100%;height:100%;z-index:4;"
        decoding="async" fetchpriority="high" draggable="false"
         style="position:absolute;top:0;left:0;width:100%;height:100%;z-index:1;"/>
     <img id="<!--{$id|default:'wh'|escape:'html'}-->-tiriel" src="" alt="Tiriel" width="{size}" height="{size}"
     <img id="<!--{$id|default:'wh'|escape:'html'}-->-tiriel" src="" alt="Tiriel" width="{size}" height="{size}"
        style="position:absolute;top:0;left:0;width:100%;height:100%;z-index:2;"/>
    <img id="<!--{$id|default:'wh'|escape:'html'}-->-rhaen"  src="" alt="Rhaen" width="{size}" height="{size}"
         style="position:absolute;top:0;left:0;width:100%;height:100%;z-index:3;"/>
         style="position:absolute;top:0;left:0;width:100%;height:100%;z-index:3;"/>
    <img id="<!--{$id|default:'wh'|escape:'html'}-->-rhaen"  src="" alt="Rhaen" width="{size}" height="{size}"
        style="position:absolute;top:0;left:0;width:100%;height:100%;z-index:2;"/>
     <img id="<!--{$id|default:'wh'|escape:'html'}-->-veyra"  src="" alt="Veyra" width="{size}" height="{size}"
     <img id="<!--{$id|default:'wh'|escape:'html'}-->-veyra"  src="" alt="Veyra" width="{size}" height="{size}"
         style="position:absolute;top:0;left:0;width:100%;height:100%;z-index:1;"/>
         style="position:absolute;top:0;left:0;width:100%;height:100%;z-index:4;"/>
   </div>
   </div>
</div>
</div>

Revision as of 15:21, 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