https://www.waze.com/wiki/France/index.php?title=Mod%C3%A8le:Collapsible_section_top/doc&feed=atom&action=historyModèle:Collapsible section top/doc - Historique des versions2024-03-28T16:03:06ZHistorique des versions pour cette page sur le wikiMediaWiki 1.40.2https://www.waze.com/wiki/France/index.php?title=Mod%C3%A8le:Collapsible_section_top/doc&diff=13940&oldid=prevWottem : 3 révisions importées2016-05-09T21:30:34Z<p>3 révisions importées</p>
<p><b>Nouvelle page</b></p><div>{{doc subpage}}<br />
<br />
This template is part of template collection managing the "''Collapsible section''" style feature. This collection contains 3 templates :<br />
* {{tl|Collapsible section top}}<br />
* {{tl|Collapsible section content}}<br />
* {{tl|Collapsible section bottom}}<br />
<br />
==Purpose==<br />
<br />
The purpose of this template collection is to collapse certain text sections in order to reduce the apparent length of the page and to provide a more digest look & feel of the article.<br />
<br />
The reader can decide to "expand" the section (by clicking on the <code>[Expand]</code> link), and can afterwards decide to collapse back the section (by clicking on the <code>[Collapse]</code> link)<br />
<br />
==Usage==<br />
<br />
The following code :<br />
<br />
{{pre2|<br />
'''<nowiki>{{</nowiki>Collapsible section top<nowiki>}}</nowiki>'''<br />
Top of the collapsible section.<br />
(Determine the position of the [Expand] link)<br />
<br />
''This is the part of the text that is displayed in any case. It can be, for instance, an abstract of the whole section or some kind of wrap-up or a teasing inviting the reader to expand the section to learn more.''<br />
<br />
'''<nowiki>{{</nowiki>Collapsible section content<nowiki>}}</nowiki>'''<br />
Collapsible content.<br />
<br />
''This is the part of the text that is collapsible. It is usually the long portion of text that is detailing the concepts mentioned above, in the always displayed section.''<br />
<br />
(This part stretch as far as it reach the last template below:)<br />
'''<nowiki>{{</nowiki>Collapsible section bottom<nowiki>}}</nowiki>'''<br />
}}<br />
<br />
produces the following result<br />
<br />
{{Collapsible section top}}<br />
Top of the collapsible section.<br /><br />
(Determine the position of the [Expand] link)<br /><br />
<br />
This is the part of the text that is displayed in any case. It can be, for instance, an abstract of the whole section or some kind of wrap-up or a teasing inviting the reader to expand the section to learn more.<br /><br />
<br />
{{Collapsible section content}}<br />
Collapsible content.<br /><br />
<br />
This is the part of the text that is collapsible. It is usually the long portion of text that is detailing the concepts mentioned above, in the always displayed section.<br /><br />
<br />
(This part stretch as far as it reach the last template below:)<br /><br />
{{Collapsible section bottom}}<br />
<br />
<br />
==Parameters==<br />
<br />
The only parameters are in the {{tl|Collapsible section top}} template, they are both optional:<br />
<br />
{{tlx|Collapsible section top|{{Blue|<nowiki>expand=yes |style= CSS style codes</nowiki>}} }}<br />
<br />
If the {{Para|expand|yes}} parameter is specified, the Collapsible Section is displayed expanded instead of collapsed.<br />
<br />
If the {{para|style}} parameter is specified, it can be used to enter any CSS style codes and override the default style.<br />
<includeonly></includeonly></div>Wottemhttps://www.waze.com/wiki/France/index.php?title=Mod%C3%A8le:Collapsible_section_top/doc&diff=13938&oldid=prevDeeploz le 22 juin 2015 à 13:142015-06-22T13:14:25Z<p></p>
<table style="background-color: #fff; color: #202122;" data-mw="interface">
<col class="diff-marker" />
<col class="diff-content" />
<col class="diff-marker" />
<col class="diff-content" />
<tr class="diff-title" lang="fr">
<td colspan="2" style="background-color: #fff; color: #202122; text-align: center;">← Version précédente</td>
<td colspan="2" style="background-color: #fff; color: #202122; text-align: center;">Version du 22 juin 2015 à 13:14</td>
</tr><tr><td colspan="2" class="diff-lineno" id="mw-diff-left-l10">Ligne 10 :</td>
<td colspan="2" class="diff-lineno">Ligne 10 :</td></tr>
<tr><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>The purpose of this template collection is to collapse certain text sections in order to reduce the apparent length of the page and to provide a more digest look & feel of the article.</div></td><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>The purpose of this template collection is to collapse certain text sections in order to reduce the apparent length of the page and to provide a more digest look & feel of the article.</div></td></tr>
<tr><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><br/></td><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><br/></td></tr>
<tr><td class="diff-marker" data-marker="−"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div>The reader can decide to "expand" the section (by clicking on the <code>[Expand]</code>) <del style="font-weight: bold; text-decoration: none;">link</del>, and can afterwards decide to collapse back the section (by clicking on the <code>[Collapse]</code> link)</div></td><td class="diff-marker" data-marker="+"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div>The reader can decide to "expand" the section (by clicking on the <code>[Expand]</code> <ins style="font-weight: bold; text-decoration: none;">link</ins>), and can afterwards decide to collapse back the section (by clicking on the <code>[Collapse]</code> link)</div></td></tr>
<tr><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><br/></td><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><br/></td></tr>
<tr><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>==Usage==</div></td><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>==Usage==</div></td></tr>
</table>Deeplozhttps://www.waze.com/wiki/France/index.php?title=Mod%C3%A8le:Collapsible_section_top/doc&diff=13937&oldid=prevDeeploz : Created page with "{{doc subpage}} This template is part of template collection managing the "''Collapsible section''" style feature. This collection contains 3 templates : * {{tl|Collapsible s..."2015-06-22T12:57:00Z<p>Created page with "{{doc subpage}} This template is part of template collection managing the "''Collapsible section''" style feature. This collection contains 3 templates : * {{tl|Collapsible s..."</p>
<p><b>Nouvelle page</b></p><div>{{doc subpage}}<br />
<br />
This template is part of template collection managing the "''Collapsible section''" style feature. This collection contains 3 templates :<br />
* {{tl|Collapsible section top}}<br />
* {{tl|Collapsible section content}}<br />
* {{tl|Collapsible section bottom}}<br />
<br />
==Purpose==<br />
<br />
The purpose of this template collection is to collapse certain text sections in order to reduce the apparent length of the page and to provide a more digest look & feel of the article.<br />
<br />
The reader can decide to "expand" the section (by clicking on the <code>[Expand]</code>) link, and can afterwards decide to collapse back the section (by clicking on the <code>[Collapse]</code> link)<br />
<br />
==Usage==<br />
<br />
The following code :<br />
<br />
{{pre2|<br />
'''<nowiki>{{</nowiki>Collapsible section top<nowiki>}}</nowiki>'''<br />
Top of the collapsible section.<br />
(Determine the position of the [Expand] link)<br />
<br />
''This is the part of the text that is displayed in any case. It can be, for instance, an abstract of the whole section or some kind of wrap-up or a teasing inviting the reader to expand the section to learn more.''<br />
<br />
'''<nowiki>{{</nowiki>Collapsible section content<nowiki>}}</nowiki>'''<br />
Collapsible content.<br />
<br />
''This is the part of the text that is collapsible. It is usually the long portion of text that is detailing the concepts mentioned above, in the always displayed section.''<br />
<br />
(This part stretch as far as it reach the last template below:)<br />
'''<nowiki>{{</nowiki>Collapsible section bottom<nowiki>}}</nowiki>'''<br />
}}<br />
<br />
produces the following result<br />
<br />
{{Collapsible section top}}<br />
Top of the collapsible section.<br /><br />
(Determine the position of the [Expand] link)<br /><br />
<br />
This is the part of the text that is displayed in any case. It can be, for instance, an abstract of the whole section or some kind of wrap-up or a teasing inviting the reader to expand the section to learn more.<br /><br />
<br />
{{Collapsible section content}}<br />
Collapsible content.<br /><br />
<br />
This is the part of the text that is collapsible. It is usually the long portion of text that is detailing the concepts mentioned above, in the always displayed section.<br /><br />
<br />
(This part stretch as far as it reach the last template below:)<br /><br />
{{Collapsible section bottom}}<br />
<br />
<br />
==Parameters==<br />
<br />
The only one parameter is in the {{tl|Collapsible section top}} template:<br />
<br />
{{pre2|'''<nowiki>{{</nowiki>Collapsible section top''' {{Blue|<nowiki>|expand=yes</nowiki>}} '''<nowiki>}}</nowiki>'''}}<br />
<br />
If the <code>|expand=yes</code> parameter is specified, the Collapsible Section is displayed expanded instead of collapsed.<br />
<includeonly></includeonly></div>Deeploz