Template:Worldheader: Difference between revisions
From IdleOn MMO Wiki
imported>Grzib (Created page with "<includeonly> <div class="mw-collapsible mw-collapsed"> <div class="mw-collapsible-toggle" style="position: relative; border-radius: 0.4em; max-width: 100%; overflow: hidden;...") |
imported>Wekhter mNo edit summary |
||
(14 intermediate revisions by 3 users not shown) | |||
Line 1: | Line 1: | ||
<includeonly> | <includeonly><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 mw-collapsed"> | |||
<div class="mw-collapsible-toggle | |||
<div class="mw-collapsible-content"> | |||
</includeonly> | |||
<noinclude> | |||
<pre> | <pre> | ||
How to use | How to use | ||
Example: | Example: | ||
{{Worldheader | {{Worldheader|world=BH}} <--- BH for Blunderhills, YYD for Yum Yum Desert, etc. ---> | ||
|world= | |||
}} | {{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. | |||
</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.