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; float: left; width:100%; margin-bottom:1em;">[[File:{{{world}}} header.png|class=headerimg]]</div><div class="mw-collapsible-content" style="clear:both;"></includeonly><noinclude>
<div class="mw-collapsible-toggle">[[File:{{{world}}} header.png|class=headerimg]]</div><div class="mw-collapsible-content"></includeonly><noinclude>
<pre>
<pre>
How to use
How to use

Revision as of 04:55, 2 October 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.