Template:Collapse top: Difference between revisions

From Guild of Archivists
(add {{{fc}}} parameter per protected edit request by User:Cky2250)
 
m (1 revision imported)
 
(2 intermediate revisions by the same user not shown)
Line 1: Line 1:
<div style="margin-left:{{{indent|0px}}}"><!-- NOTE: width renders incorrectly if added to main STYLE section-->
<div style="margin-left:{{{indent|0px}}}"><!-- NOTE: width renders incorrectly if added to main STYLE section-->
{| <!-- Template:Collapse top --> class="navbox collapsible {{{{{|safesubst:}}}#if:{{{expand|}}}||collapsed}}" style="background: {{{bg1|transparent}}}; text-align: left; border: {{{border|1px}}} solid {{{b-color|silver}}}; margin-top: 0.2em; {{{{{|safesubst:}}}#if:{{{width|}}}|width:{{{width}}};}}"
{| <!-- Template:Collapse top --> class="collapsible {{{{{|safesubst:}}}#if:{{{expand|}}}||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: both; padding: 1px;"
|-
|-
! style="background-color: {{{bg|#CFC}}}; text-align:{{{{{|safesubst:}}}#if:{{{left|}}}|left|center}}; font-size:112%; color: {{{fc|black}}};" | {{{1|{{{title|{{{reason|{{{header|{{{heading|Extended content}}} }}} }}} }}} }}}   
! style="background: {{{bg|#{{main other|F0F2F5|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>    
{{{{{|safesubst:}}}#if:{{{warning|{{{2|}}}}}}
{{{{{|safesubst:}}}#if:{{{warning|{{{2|}}}}}}
|{{{{{|safesubst:}}}!}}-
|{{{{{|safesubst:}}}!}}-
{{{{{|safesubst:}}}!}} style="text-align:center; font-style:italic;" {{{{{|safesubst:}}}!}} {{{2|The following is a closed debate. {{strongbad|Please do not modify it.}} }}} }}
{{{{{|safesubst:}}}!}} style="text-align:center; font-style:italic;" {{{{{|safesubst:}}}!}} {{{2|The following is a closed debate. {{strongbad|Please do not modify it.}} }}} }}
|-
|-
| style="border: solid {{{border2|1px silver}}}; padding: {{{padding|8px}}}; background-color: {{{bg2|white}}}; font-size:112%;" {{{{{|safesubst:}}}!}}<noinclude>
| style="border: solid {{{border2|1px silver}}}; padding: {{{padding|8px}}}; background: {{{bg2|white}}};" {{{{{|safesubst:}}}!}}<noinclude>
{{lorem ipsum|3}}
{{lorem ipsum|3}}
{{Collapse bottom}}
{{Collapse bottom}}
{{Documentation}}
{{Documentation}}
<!-- PLEASE ADD THIS TEMPLATE'S CATEGORIES AND INTERWIKIS TO THE /doc SUBPAGE, THANKS -->
</noinclude>
</noinclude>

Latest revision as of 21:34, 30 October 2015

Template documentation[view] [edit] [history] [purge]

Use with {{Collapse bottom}}, putting the content to be collapsed between the two templates.

This template has many parameters that should be documented here. For now, see the documentation for the equivalent template on enwiki.