Template:Collapse top: Difference between revisions
From The Pokemon Insurgence Wiki
Creating template that acts as collapsible text box |
Changing default text, also note that this is copied from Wikipedia |
||
| Line 2: | Line 2: | ||
{| <!-- Template:Collapse top --> class="mw-collapsible {{<includeonly>safesubst:</includeonly>#if:{{{expand|{{{collapse|}}}}}}||mw-collapsed}} {{{class|}}}" style="background: {{{bg2|#F8F9FA}}}; text-align: left; border: {{{border|1px}}} solid {{{b-color|Silver}}}; margin: 0.2em auto auto; width:{{<includeonly>safesubst:</includeonly>#if:{{{width|}}}|{{{width}}}|100%}}; clear: {{{clear|both}}};" | {| <!-- Template:Collapse top --> class="mw-collapsible {{<includeonly>safesubst:</includeonly>#if:{{{expand|{{{collapse|}}}}}}||mw-collapsed}} {{{class|}}}" style="background: {{{bg2|#F8F9FA}}}; text-align: left; border: {{{border|1px}}} solid {{{b-color|Silver}}}; margin: 0.2em auto auto; width:{{<includeonly>safesubst:</includeonly>#if:{{{width|}}}|{{{width}}}|100%}}; clear: {{{clear|both}}};" | ||
|- | |- | ||
! style="background: {{{bg|#EDEEEF}}}; font-size:87%; padding:0.2em 0.3em; text-align:{{<includeonly>safesubst:</includeonly>#if:{{{left|}}}|left|{{<includeonly>safesubst:</includeonly>#if:{{{align|}}}|left|center}}}}; {{<includeonly>safesubst:</includeonly>#if:{{{fc|}}}|color: {{{fc}}};|}}" | <div style="display:inline;font-size:115%">{{{1|{{{title|{{{reason|{{{header|{{{heading|{{{result| | ! style="background: {{{bg|#EDEEEF}}}; font-size:87%; padding:0.2em 0.3em; text-align:{{<includeonly>safesubst:</includeonly>#if:{{{left|}}}|left|{{<includeonly>safesubst:</includeonly>#if:{{{align|}}}|left|center}}}}; {{<includeonly>safesubst:</includeonly>#if:{{{fc|}}}|color: {{{fc}}};|}}" | <div style="display:inline;font-size:115%">{{{1|{{{title|{{{reason|{{{header|{{{heading|{{{result|Collapsible box title}}}}}}}}}}}}}}}}}}</div> | ||
{{<includeonly>safesubst:</includeonly>#if:{{{warning|{{{2|}}}}}} | {{<includeonly>safesubst:</includeonly>#if:{{{warning|{{{2|}}}}}} | ||
|{{<includeonly>safesubst:</includeonly>!}}- | |{{<includeonly>safesubst:</includeonly>!}}- | ||
Revision as of 06:07, 11 July 2021
Collapsible box title
|
|---|
|
Sample text |
