Template:ButtonHeader: Difference between revisions
imported>Dawning doc (by SublimeText.Mediawiker) |
imported>Dawning (by SublimeText.Mediawiker) |
||
| Line 1: | Line 1: | ||
<div> | |||
<div> | <div> | ||
<h2 class="mw-customtoggle-{{{type|}}} button-expand-header">{{#if:{{{img|}}}|[[File:{{{img|}}}.png{{!}}32px]]}} {{{text|}}} {{#if:{{{img|}}}|[[File:{{{img|}}}.png{{!}}32px]]}}</h2> | <h2 class="mw-customtoggle-{{{type|}}} button-expand-header">{{#if:{{{img|}}}|[[File:{{{img|}}}.png{{!}}32px]]}} {{{text|}}} {{#if:{{{img|}}}|[[File:{{{img|}}}.png{{!}}32px]]}}</h2> | ||
| Line 4: | Line 5: | ||
<div class="mw-collapsible mw-collapsed" id="mw-customcollapsible-{{{type|}}}"> | <div class="mw-collapsible mw-collapsed" id="mw-customcollapsible-{{{type|}}}"> | ||
{{{content|}}} | {{{content|}}} | ||
</div> | |||
</div> | </div> | ||
<noinclude>{{Documentation}}</noinclude> | <noinclude>{{Documentation}}</noinclude> | ||
Revision as of 23:38, 11 October 2025
This template is used to create a button of the header type on this wiki.
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=
}}