Template:Worldheader: Difference between revisions
From IdleOn MMO Wiki
imported>Wekhter mNo edit summary |
imported>Wekhter mNo edit summary |
||
(4 intermediate revisions by the same user not shown) | |||
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">[[File:{{{world}}} header.png|class=headerimg]]</div><div class="mw-collapsible-content"></includeonly><noinclude> | ||
<div class="mw-collapsible-toggle | |||
<noinclude> | |||
<pre> | <pre> | ||
How to use | How to use | ||
Line 12: | Line 9: | ||
{{Worldheader|world=BH|collapsed=y}} <--- you can add 'collapsed=y' to make the header collapsed by default ---> | {{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. | Add </div></div> at the end of every collapsible section to close it. | ||
</pre> | </pre> | ||
[[Category:Table templates]] | [[Category:Table templates]] | ||
</noinclude> | </noinclude> |
Latest revision as of 18:58, 27 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></div> at the end of every collapsible section to close it.