Template:Clear: Difference between revisions
(Created page with "<div style="clear:{{{1|both}}};"></div> <noinclude> ==Usage== ''This template is derived from [https://zh.moegirl.org.cn/ Moegirl Encyclopedia], and I only translated the description document.'' This template will add source code“<nowiki><div style="clear:both;"></div></nowiki>” This will make the content behind the template unaffected by the previous layout. This template has an anonymous parameter, using <code><nowiki>{{tlx|clear|left}}</nowiki></code> or <code>...") |
(No difference)
|
Latest revision as of 16:35, 28 December 2022
Usage
This template is derived from Moegirl Encyclopedia, and I only translated the description document.
This template will add source code“<div style="clear:both;"></div>”
This will make the content behind the template unaffected by the previous layout.
This template has an anonymous parameter, using {{tlx|clear|left}} or {{tlx|clear|right}}}.
Entering left will only take effect on the left content, and entering right will only take effect on the right content.
Example:
The example of {{clear}} is not used
Text Text Text Text Text Text Text Text Text Text
Text Text Text Text Text Text Text
New chapter
Text Text Text Text Text Text Text Text
The example of {{clear}} is used
Text Text Text Text Text Text Text Text Text Text
Text Text Text Text Text Text Text
{{clear}}This line is only for demonstration and will not appear in actual use
New chapter
Text Text Text Text Text Text Text Text