Difference between revisions of "Template:Collapse top"

From WPRDC Wiki
Jump to navigation Jump to search
>Shirayuki
(translation tweaks)
>Shirayuki
(prepare for translation)
Line 1: Line 1:
<noinclude>
<noinclude>
{{languages}}
<languages/>
</noinclude><div style="display:{{{display|block}}};margin-{{dir|{{pagelang}}|right|left}}:{{{indent|0px}}};{{{extrastyle|}}}"><!-- NOTE: width renders incorrectly if added to main STYLE section-->
</noinclude>{{#switch:<translate></translate>
<table class="navbox mw-collapsible {{ {{{|safesubst:}}}#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; {{ {{{|safesubst:}}}#if:{{{width|}}}|width:{{{width}}};}}">
| =
<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 {{ {{{|safesubst:}}}#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; {{ {{{|safesubst:}}}#if:{{{width|}}}|width:{{{width}}};}}">
<tr>
<tr>
<th style="background-color: {{{bg|#F8FCFF}}}; text-align:{{ {{{|safesubst:}}}#if:{{{left|}}}|{{dir|{{pagelang}}|right|left}}|center}}; font-size:112%; color: {{{fc|black}}};">{{{1|{{{title|{{{reason|{{{header|{{{heading|Extended content}}} }}} }}} }}} }}}
<th style="background-color:{{{bg|#F8FCFF}}}; text-align:{{ {{{|safesubst:}}}#if:{{{left|}}}|{{dir|{{pagelang}}|right|left}}|center}}; font-size:112%; color:{{{fc|black}}}">{{{1|{{{title|{{{reason|{{{header|{{{heading|<translate>Extended content</translate>}}} }}} }}} }}} }}}
{{ {{{|safesubst:}}}#if:{{{warning|{{{2|}}}}}}</th>
{{ {{{|safesubst:}}}#if:{{{warning|{{{2|}}}}}}</th>
</tr><tr>
</tr><tr>
<td style="text-align:center; font-style:italic;">{{{2|The following is a closed debate. {{strongbad|Please do not modify it.}} }}} }}</td>
<td style="text-align:center; font-style:italic">{{{2|<translate>The following is a closed debate.</translate> {{strongbad|<translate>Please do not modify it.</translate>}} }}} }}</td>
</tr><tr>
</tr><tr>
<td style="border: solid {{{border2|1px silver}}}; padding: {{{padding|8px}}}; background-color: {{{bg2|white}}}; font-size:112%;"><noinclude>
<td style="border:solid {{{border2|1px silver}}}; padding:{{{padding|8px}}}; background-color:{{{bg2|white}}}; font-size:112%">
<center>''The following content has been placed in a collapsed box for improved usability.''</center>
| #default=
  {{#invoke:Template translation|renderTranslatedTemplate|template=Template:Collapse top|noshift=1}}
}}<noinclude>
<center>''<translate>The following content has been placed in a collapsed box for improved usability.</translate>''</center>
{{ {{TNTN|Collapse bottom}} }}
{{ {{TNTN|Collapse bottom}} }}
{{ {{TNTN|Documentation}} }}
{{ {{TNTN|Documentation}} }}
[[Category:Formatting templates{{translation}}]]
[[Category:Formatting templates{{translation}}]]
</noinclude>
</noinclude>

Revision as of 08:36, 29 January 2017

<languages/>

Extended content
<translate>The following content has been placed in a collapsed box for improved usability.</translate>

Lua error in Module:TNT at line 158: Missing JsonConfig extension; Cannot load https://commons.wikimedia.org/wiki/Data:I18n/Documentation.tab. [[Category:Formatting templatesTemplate:Translation]]