Template:Worldheader: Difference between revisions
From IdleOn MMO Wiki
imported>Wekhter mNo edit summary |
imported>Wekhter mNo edit summary |
||
Line 1: | Line 1: | ||
<includeonly> | <includeonly> | ||
<div class="mw-collapsible {{#if: {{{collapsed|}}}|mw-collapsed|}} worldheader"> | <div class="mw-collapsible {{#if: {{{collapsed|}}}|mw-collapsed|}} worldheader"> | ||
<div class="mw-collapsible-toggle" style="position: relative; margin-bottom:1em;">[[File:{{{world}}} header.png|class=headerimg]]</div> | <div class="mw-collapsible-toggle" style="position: relative; float:none; margin-bottom:1em;">[[File:{{{world}}} header.png|class=headerimg]]</div> | ||
<div class="mw-collapsible-content"> | <div class="mw-collapsible-content"> | ||
</includeonly> | </includeonly> |
Revision as of 21:23, 21 April 2021
How to use Example: {{Worldheader|world=BH}} <--- BH for Blunderhills, YYD for Yum Yum Desert, etc. ---> {{Worldheader|world=BH|collapsed=y}} <--- you can add 'collapsed=y' to make the header collapsed by default ---> Add </div> at the end of every collapsible section to close it.