Template:Worldheader: Difference between revisions

From IdleOn MMO Wiki
imported>Blackwolfe
No edit summary
imported>Blackwolfe
No 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; border-radius: 0.4em; max-width: 100%; overflow: hidden; float: left;  
<div class="mw-collapsible-toggle" style="position: relative; border-radius: 0.4em; max-width: 100%; overflow: hidden; float: left;  
margin: 0 0 3px 0">[[File:{{{world}}} header.png]]</div>
margin: 0 0 3px 0">[[File:{{{world}}} header.png]]</div>

Revision as of 08:27, 27 March 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.