Difference between revisions of "Template:Collapse top"

From WPRDC Wiki
Jump to navigation Jump to search
>Shirayuki
(prepare for translation)
>Shirayuki
(Marked this version for translation)
Line 25: Line 25:


<translate>
<translate>
== Usage ==
== Usage == <!--T:8-->
</translate>
</translate>
Place {{tlx|collapse top}} and {{tlx|collapse bottom}} around the text to be collapsed. For example:
Place {{tlx|collapse top}} and {{tlx|collapse bottom}} around the text to be collapsed. For example:
Line 40: Line 40:


<translate>
<translate>
== Parameters ==
== Parameters == <!--T:9-->
</translate>
</translate>
This template takes the following parameters, all of which are optional. They are case-sensitive. Those that take CSS measurements require them in CSS format (e.g. <code style="color: #006400;">1em</code> not <code  style="color: #8B0000;">1&nbsp;em</code>.
This template takes the following parameters, all of which are optional. They are case-sensitive. Those that take CSS measurements require them in CSS format (e.g. <code style="color: #006400;">1em</code> not <code  style="color: #8B0000;">1&nbsp;em</code>.
Line 60: Line 60:


<translate>
<translate>
== Examples ==
== Examples == <!--T:10-->
</translate>
</translate>
* Adding a box title (if omitted, default is 'Extended content') – <code><nowiki>{{collapse top|This is the title text}}</nowiki></code>
* Adding a box title (if omitted, default is 'Extended content') – <code><nowiki>{{collapse top|This is the title text}}</nowiki></code>
Line 104: Line 104:


<translate>
<translate>
== See also ==
== See also == <!--T:11-->
</translate>
</translate>
* {{tl|collapse bottom}}
* {{tl|collapse bottom}}

Revision as of 13:02, 2 May 2020

<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:Template documentation pages{{#translation:}}]]