Template:Collapsible: Difference between revisions

From SoftDiamond Wiki
Jump to navigationJump to search
(Created page with "<div style="width:auto"> {| class="collapsible {{#ifeq:{{{hidden|no}}}|no||collapsed}}" style="width: {{{width|100%}}}; margin:{{#switch:{{{boxalign|center}}}|center=0px auto|left=0px 0px 0px auto|right=0px auto 0px 0px}};" ! style="{{#if:{{{lcolor|}}}|color:{{{lcolor|}}}}}; background-color:{{{hbgcolor|transparent}}}; border-color:{{{hbordercolor|#fff}}}; border-width:{{{hborderwidth|2px}}} text-align: {{{halign|center}}};" |<span style="text-align: {{{halign|{{{talign|...")
 
No edit summary
Tag: Manual revert
 
(3 intermediate revisions by the same user not shown)
Line 5: Line 5:
| style="text-align: {{{align|left}}}; color: {{{color|black}}}; background-color:{{{bgcolor|transparent}}}; border-color:{{{bordercolor|#fff}}}; border-width:{{{borderwidth|2px}}}"| {{#if:{{{2|}}}|{{{2}}}|{{{1|No text supplied! (Use <code><nowiki>{{collapsible|text}}</nowiki></code>)}}}}}
| style="text-align: {{{align|left}}}; color: {{{color|black}}}; background-color:{{{bgcolor|transparent}}}; border-color:{{{bordercolor|#fff}}}; border-width:{{{borderwidth|2px}}}"| {{#if:{{{2|}}}|{{{2}}}|{{{1|No text supplied! (Use <code><nowiki>{{collapsible|text}}</nowiki></code>)}}}}}
|}</div><noinclude>
|}</div><noinclude>
{{doc}}
{{Collapsible/doc}}
</noinclude>
</noinclude>

Latest revision as of 21:50, 17 March 2023

No text supplied! (Use {{collapsible|text}})

Examples

{{collapsible|Title|This text is visible by default}}
Title
This text is visible by default

{{collapsible|Title|This text is hidden by default|hidden=yes}}