Template:ButtonHeader: Difference between revisions
imported>Dawning remove links from img (by SublimeText.Mediawiker) |
imported>Dawning (by SublimeText.Mediawiker) |
||
| Line 1: | Line 1: | ||
<includeonly> | <includeonly> | ||
<h2 class="mw-customtoggle-{{{type|}}} button-expand-header">{{#if:{{{img|}}}|[[File:{{{img|}}}.png{{!}}text-top{{!}}class=button-image{{!}}64px{{!}}link=]]}} {{{text|}}} {{#if:{{{img|}}}|[[File:{{{img|}}}.png{{!}}middle{{!}}class=button-image{{!}}64px{{!}}link=]]}}</h2> | <h2 class="mw-customtoggle-{{{type|}}} button-expand-header">{{#if:{{{img|}}}|[[File:{{{img|}}}.png{{!}}text-top{{!}}class=button-image{{!}}64px{{!}}link=]]}}<nowiki> {{{text|}}} </nowiki>{{#if:{{{img|}}}|[[File:{{{img|}}}.png{{!}}middle{{!}}class=button-image{{!}}64px{{!}}link=]]}}</h2> | ||
<div class="mw-collapsible mw-collapsed" id="mw-customcollapsible-{{{type|}}}"> | <div class="mw-collapsible mw-collapsed" id="mw-customcollapsible-{{{type|}}}"> | ||
{{{content|}}} | {{{content|}}} | ||
</div> | </div> | ||
</includeonly><noinclude>{{Documentation}}</noinclude> | </includeonly><noinclude>{{Documentation}}</noinclude> | ||
Revision as of 19:10, 12 October 2025
This template is used to create a button of the header type on this wiki.
{{{text|}}}
Hello this is what appears when you open me, you can put anything here, like this infobox!
blahblahblah
Example Shown
{{ButtonHeader
|type=ButtonHeaderExample
|text=Im Buttoning It
|img=Site-logo
|content=Hello this is what appears when you open me, you can put anything here, like this infobox!
{{NPCInfobox
|title=blahblahblah
}}
}}Copy This
{{ButtonHeader
|type=
|text=
|img=
|content=
}}