WikiBound logo.png There are 169 stubs for enemies. Help out by expanding these pages!
Item pages are now going to be split. See WikiBound:Projects for more information.

Difference between revisions of "Template:Clear"

From WikiBound, your community-driven EarthBound/Mother wiki
Jump to navigationJump to search
354 bytes removed ,  13:36, 6 October 2023
m
& no longer uses variables
m (lowercase)
m (& no longer uses variables)
 
Line 1: Line 1:
{{#vardefine:both|<div style="clear:both;"></div>}}{{#vardefine:left|<div style="clear:left;"></div>}}{{#vardefine:right|<div style="clear:right;"></div>}}{{#switch:{{lc:{{{1|}}}}} |both={{#var:both}} |b={{#var:both}} |right={{#var:right}} |r={{#var:right}} |left={{#var:left}} |l={{#var:left}} |#default={{#var:both}}}}<noinclude>
{{#switch:{{lc:{{{side|}}}}}|left|left=<div style="clear:left;">|right|right=<div style="clear:right;">|#default=<div style="clear:both;">}}<noinclude>
 
==Purpose==  
==Purpose==  
This template is used to add a clear space, and is useful for making sections in an article clear all images above them.   
This template is used to add a clear space, and is useful for making sections in an article clear all images above them.   
==Usage==  
==Usage==  
To use this template, type: {{NoWikiTemp|optional|Side}} Where ''Side'' is if you wish the template to only clear one side or the other. Options are not case sensitive and they are as follows:  
To use this template, type: {<nowiki/>{Clear|side=Side}}, where ''Side'' is if you wish the template to only clear one side or the other. Options are not case sensitive and they are as follows:  
* '''Both''' — Clears both sides. Template defaults to this if no side is defined.
* '''Right''' — Clears content to the right of the template.
** Can also be used by typing in '''B'''.
* '''Left''' — Clears content to the left of the template.
* '''Right''' — Clears content to the right of the template.
 
** Can also be used by typing in '''R'''.  
The default setting is to clear both sides.
* '''Left''' — Clears content to the left of the template.  
** Can also be used by typing in '''L'''.
[[Category: Formatting templates|{{PAGENAME}}]] </noinclude>
[[Category: Formatting templates|{{PAGENAME}}]] </noinclude>

Navigation menu