Template:Collapse top: Difference between revisions

From Test Wiki
Jump to navigation Jump to search
Content deleted Content added
m 1 revision imported: useful template from wmf commons
 
Infinity (talk | contribs)
+
Line 1: Line 1:
{{{!}} class="mw-collapsible {{#if: {{{expand|}}} || mw-collapsed }}" style="border:{{{border|1px}}} solid silver; margin-top:.2em; width:{{{width|auto}}}"
<div style="margin-left:{{{indent|0}}}"><!-- NOTE: width renders incorrectly if added to main STYLE section -->
{{!-}}
{| <!-- Template:Collapse top --> class="mw-collapsible {{{{{|safesubst:}}}#if:{{{expand|{{{collapse|}}}}}}||mw-collapsed}}" style="background: {{{bg1|transparent}}}; text-align: left; border: {{{border|1px}}} solid {{{b-color|Silver}}}; margin: 0.2em auto auto; width:{{{{{|safesubst:}}}#if:{{{width|}}}|{{{width}}}|100%}}; clear: {{{clear|both}}}; padding: 1px;"
! style="background-color:{{{bg|#ccfffb}}}; font-size:85%; padding-left:.4em; padding-right:.4em" {{!}} <span style="font-size:117.65%; margin-right:1em">{{{1|{{{title|Extended content}}}}}}</span>
|-
{{!-}}
! style="background: {{{bg|#{{main other|EEF|CFC}}}}}; font-size:87%; padding:0.2em 0.3em; text-align:{{{{{|safesubst:}}}#if:{{{left|}}}|left|center}}; {{{{{|safesubst:}}}#if:{{{fc|}}}|color: {{{fc}}};|}}" | <span style="font-size:115%">{{{1|{{{title|{{{reason|{{{header|{{{heading|Extended content}}} }}} }}} }}} }}}</span>
{{!}} style="background-color:white; border:{{{outline|1px}}} solid silver; padding:{{{padding|8px}}}" {{!}}<noinclude>
{{{{{|safesubst:}}}#if:{{{warning|{{{2|}}}}}}
|{{{{{|safesubst:}}}!}}-
{{{{{|safesubst:}}}!}} style="text-align:center; font-style:italic;" {{{{{|safesubst:}}}!}} {{{2|The following is a closed debate. '''Please do not modify it.''' }}} }}
|-
| style="border: solid {{{border2|1px Silver}}}; padding: {{{padding|0.6em}}}; background: {{{bg2|White}}};" {{{{{|safesubst:}}}!}}<noinclude>
{{lorem ipsum|3}}
{{Collapse bottom}}
{{Collapse bottom}}
{{Documentation}}
{{documentation}}
{{Collapse top/TemplateData}}
</noinclude>

Revision as of 14:05, 19 May 2024

Extended content
Extended content
The template description below will not be displayed when the template is placed.
Template: v · d · eTemplate/doc: v · d · e