Template:Collapse top: Difference between revisions

From P2P Foundation
Jump to navigation Jump to search
unknown (talk)
(copy of en.Wikipedia's Template:Collapse_top)
 
unknown (talk)
(Aspiring to tweak it for here on the P2PF Wiki but it seems to rely on other templates as dependencies; clearing out the pasted wikicode for now; will add it instead to the discussion page for future examination..)
 
Line 1: Line 1:
<div style="margin-left:{{{indent|0}}}"><!-- NOTE: width renders incorrectly if added to main STYLE section -->
{| <!-- Template:Collapse top --> class="mw-collapsible {{<includeonly>safesubst:</includeonly>#if:{{{expand|{{{collapse|}}}}}}||mw-collapsed}} {{{class|}}}" style="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;"
|-
! style="background: {{{bg|#{{main other|F0F2F5|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}}};|}}" | <div style="display:inline;font-size:115%">{{{1|{{{title|{{{reason|{{{header|{{{heading|{{{result|Extended content}}}}}}}}}}}}}}}}}}</div> 
{{<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="border: solid {{{border2|1px Silver}}}; padding: {{{padding|0.6em}}}; background: {{{bg2|White}}};" {{<includeonly>safesubst:</includeonly>!}}<noinclude>
{{lorem ipsum|3}}
{{Collapse bottom}}
{{Documentation}}
{{Collapse top/TemplateData}}


This template and template page has been adapted from: https://en.wikipedia.org/wiki/Template:Collapse_top (2021-06-11)
<noinclude>
<br>


''This template and template page aspires to be an adaptation of:'' https://en.wikipedia.org/wiki/Template:Collapse_top ''(2021-06-11, see [[Template_talk:Collapse top|discussion page]]).''
</noinclude>
</noinclude>
<br>
[[Category:Templates]]
[[Category:Templates]]


[[Category:Templates]]
[[Category:Templates]]

Latest revision as of 13:23, 11 June 2021



This template and template page aspires to be an adaptation of: https://en.wikipedia.org/wiki/Template:Collapse_top (2021-06-11, see discussion page).