Difference between revisions of "Template:CollapseTop"
Jump to navigation
Jump to search
(Created page with "{<noinclude></noinclude>{{!}} <!-- Template:Collapse top --> class="navbox collapsible {{#if:{{{expand|}}}||collapsed}}" style="text-align: left; border: {{{border|1px}}} soli...") |
|||
| Line 1: | Line 1: | ||
| + | <noinclude> | ||
| + | <languages/> | ||
| + | </noinclude>{{#switch:<translate></translate> | ||
| + | | = | ||
| + | <div style="display:{{{display|block}}}; margin-{{dir|{{pagelang}}|right|left}}:{{{indent|0px}}}; {{{extrastyle|}}}"><!-- NOTE: width renders incorrectly if added to main STYLE section--> | ||
| + | <table class="navbox mw-collapsible {{#if:{{{expand|}}}||mw-collapsed}}" style="background:{{{bg1|transparent}}}; text-align:{{dir|{{pagelang}}|right|left}}; border:{{{border|1px}}} solid {{{b-color|silver}}}; margin-top:0.2em; {{#if:{{{width|}}}|width:{{{width}}};}}"> | ||
| + | <tr> | ||
| + | <th style="background-color:{{{bg|#F8FCFF}}}; text-align:{{#if:{{{left|}}}|{{dir|{{pagelang}}|right|left}}|center}}; font-size:112%; color:{{{fc|black}}}">{{{1|{{{title|{{{reason|{{{header|{{{heading|<translate><!--T:1--> Extended content</translate>}}} }}} }}} }}} }}} | ||
| + | {{#if:{{{warning|{{{2|}}}}}} | ||
| + | |</th> | ||
| + | </tr><tr> | ||
| + | <td style="text-align:center; font-style:italic">{{{2|<translate><!--T:2--> The following is a closed debate.</translate> {{strongbad|<translate><!--T:3--> Please do not modify it.</translate>}} }}}</td> | ||
| + | |</th> | ||
| + | }} | ||
| + | </tr><tr> | ||
| + | <td style="border:solid {{{border2|1px silver}}}; padding:{{{padding|8px}}}; background-color:{{{bg2|white}}}; font-size:112%"> | ||
| + | | #default= | ||
| + | {{#invoke:Template translation|renderTranslatedTemplate|template=Template:Collapse top|noshift=1}} | ||
| + | }}<noinclude> | ||
| + | <div style="width:100%; text-align:center">''<translate><!--T:4--> The following content has been placed in a collapsed box for improved usability.</translate>''</div> | ||
| + | {{ {{TNTN|Collapse bottom}} }} | ||
| + | {{ {{TNTN|Documentation}} |content= | ||
| + | |||
| + | Use with {{tl|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 [[w:Template:Collapse top|the equivalent template on enwiki]]. | ||
| + | |||
| + | }} | ||
| + | [[Category:Formatting templates{{#translation:}}]] | ||
| + | </noinclude> | ||
| + | |||
| + | |||
| + | |||
| + | <!-- | ||
{<noinclude></noinclude>{{!}} <!-- Template:Collapse top --> class="navbox collapsible {{#if:{{{expand|}}}||collapsed}}" style="text-align: left; border: {{{border|1px}}} solid silver; margin-top: 0.2em;" | {<noinclude></noinclude>{{!}} <!-- Template:Collapse top --> class="navbox collapsible {{#if:{{{expand|}}}||collapsed}}" style="text-align: left; border: {{{border|1px}}} solid silver; margin-top: 0.2em;" | ||
{{!}}- | {{!}}- | ||
| Line 7: | Line 42: | ||
{{!}} style="border: solid 1px silver; padding: 8px; background-color: white; " {{!}}<noinclude> | {{!}} style="border: solid 1px silver; padding: 8px; background-color: white; " {{!}}<noinclude> | ||
</noinclude> | </noinclude> | ||
| + | --> | ||
Revision as of 16:10, 29 June 2018
<languages/> {{#switch:<translate></translate> | =
|
}}
| <translate> Extended content</translate>
{{#if: | |
|---|
| <translate> The following is a closed debate.</translate> Template:Strongbad |
|
| #default= {{#invoke:Template translation|renderTranslatedTemplate|template=Template:Collapse top|noshift=1}}
}} <translate> The following content has been placed in a collapsed box for improved usability.</translate>
{{
{{
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. }} [[Category:Formatting templates{{#translation:}}]]
class="navbox collapsible {{#if:||collapsed}}" style="text-align: left; border: 1px solid silver; margin-top: 0.2em;"
|- ! style="background-color: #fffff0;" | Extended content |- |- | style="border: solid 1px silver; padding: 8px; background-color: white; " | --> |