Template:Clear

From EarthMC
Jump to navigation Jump to search

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

Komeiji Koishi test.jpg

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

Komeiji Koishi test.jpg

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