Difference between revisions of "Template:Collapse top"

Jump to navigation Jump to search
Marked this version for translation
>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}}
Anonymous user

Navigation menu