Template:Collapse top: Difference between revisions

From All Skies Encyclopaedia
imported>Sam
(repipe)
imported>Izno
(per tper)
 
(103 intermediate revisions by 39 users not shown)
Line 1: Line 1:
{{ safesubst:<noinclude/>ifsubst||<templatestyles src="Template:Collapse_top/styles.css"/>}}
{| <!-- Template:COI top --> class="navbox collapsible collapsed" style="text-align: left; border: {{{border|0px}}}; margin-top: 0.2em;"
<div style="margin-left:{{{indent|0}}}"><!-- NOTE: width renders incorrectly if added to main STYLE section -->
{| <!-- Template:Collapse top --> class="mw-collapsible mw-archivedtalk {{<includeonly>safesubst:</includeonly>#if:{{{expand|{{{collapse|}}}}}}||mw-collapsed}} {{{class|}}}" style="color:inherit; background: {{{bg1|transparent}}}; 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}}}; padding: 1px;"
|-
|-
! class="{{main other|cot-header-mainspace|cot-header-other}}" style="{{<includeonly>safesubst:</includeonly>#if:{{{bg|}}}|background:{{{bg}}}|{{ safesubst:<noinclude/>ifsubst|{{main other|background:#F0F2F5|background:#CCFFCC}}|}}}}; 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}}};|{{<includeonly>safesubst:</includeonly>#if:{{{bg|}}}|color:#202122|{{ safesubst:<noinclude/>ifsubst|color:black;|}}}}}}" | <div style="font-size:115%;{{<includeonly>safesubst:</includeonly>#if:{{{left|}}}||margin:0 4em}}">{{{1|{{{title|{{{reason|{{{header|{{{heading|{{{result|Extended content}}}}}}}}}}}}}}}}}}</div>
! style="background-color: {{{bg|#ffd8a0}}};" | {{{1 |Extended Discussion}}}
{{<includeonly>safesubst:</includeonly>#if:{{{warning|{{{2|}}}}}}
|{{<includeonly>safesubst:</includeonly>!}}-
{{<includeonly>safesubst:</includeonly>!}} style="text-align:center; font-style:italic;" {{<includeonly>safesubst:</includeonly>!}} {{{2|The following is a closed discussion. {{strongbad|Please do not modify it.}} }}} }}
|-
|-
| style="color:inherit; border: solid {{{border2|1px Silver}}}; padding: {{{padding|0.6em}}}; background: {{{bg2|var(--background-color-base, #fff)}}};" {{<includeonly>safesubst:</includeonly>!}}<noinclude>
| style="text-align:center;" | ''The following is a discussion that has been placed in a collapse box for improved usability.'''</span>''
{{lorem ipsum|3}}
|-
{{Collapse bottom}}
| style="border: solid 1px silver; padding: 8px; background-color: white;" |
{{Documentation}}

<noinclude>{{Collapse top}}
</noinclude>

<u>To be used for placing collapse boxes around discussions as follows:</u>
<span style="background:white;">'''====[[[[Header]]]]====''' </span> &rarr; Replace with <span style="background:lightyellow;">'''<nowiki>{{subst:dat|[[</nowiki>[[Header]]<nowiki>]]|</nowiki>'''</span>

<span style="background:white;">DISCUSSION </span> &larr; Body of the discussion stays unchanged
<span style="background:white;"> </span> &rarr; Close the box with <span style="background:lightyellow;">'''<nowiki>{{subst:Collapse bottom}}</nowiki>'''</span>
*This template and {{tl|dab}}) need to be substed for the time stamp to work properly.
*See also: [[Template:DAB]]

[[Category:Archival templates|Collapse top]]</noinclude>

Latest revision as of 18:07, 29 September 2024

Extended content

Template:Lorem ipsum