Difference between revisions of "Template:Collapse top"

From RobotX
Jump to navigation Jump to search
m (1 revision imported)
m (Text replacement - "<languages/>" to "")
 
(4 intermediate revisions by the same user not shown)
Line 1: Line 1:
 
<noinclude>
 
<noinclude>
<languages/>
+
 
</noinclude>{{#switch:<translate></translate>
+
</noinclude>{{#switch:
 
| =
 
| =
 
<div style="display:{{{display|block}}}; margin-{{dir|{{pagelang}}|right|left}}:{{{indent|0px}}}; {{{extrastyle|}}}"><!-- NOTE: width renders incorrectly if added to main STYLE section-->
 
<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}}};}}">
 
<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>
 
<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>}}} }}} }}} }}} }}}
+
<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| Extended content}}} }}} }}} }}} }}}
 
{{#if:{{{warning|{{{2|}}}}}}
 
{{#if:{{{warning|{{{2|}}}}}}
 
|</th>
 
|</th>
 
   </tr><tr>
 
   </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>
+
   <td style="text-align:center; font-style:italic">{{{2| The following is a closed debate. {{strongbad| Please do not modify it.}} }}}</td>
 
|</th>
 
|</th>
 
}}
 
}}
Line 18: Line 18:
 
   {{#invoke:Template translation|renderTranslatedTemplate|template=Template:Collapse top|noshift=1}}
 
   {{#invoke:Template translation|renderTranslatedTemplate|template=Template:Collapse top|noshift=1}}
 
}}<noinclude>
 
}}<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>
+
<div style="width:100%; text-align:center">'' The following content has been placed in a collapsed box for improved usability.''</div>
 
{{Collapse bottom}}
 
{{Collapse bottom}}
 
{{Documentation|content=
 
{{Documentation|content=

Latest revision as of 15:50, 21 December 2019


Template documentation

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.