Template:Float begin/doc

From The Goon Show Depository

{{Float begin}} and {{Float end}} are used to put wikitext in an image frame.

This template may be a better choice than {{Float}} in some situations, because 1) it includes a frame and background color, 2) it lets you include a caption, and 3) you do not need to escape anything. For example, you can easily wrap a wikitable in {{Float begin}} and {{Float end}}, without escaping the pipe | characters.

Usage

{{float_begin|side=left|width=250px}}
|- align = "center"
| [[Image:BJT_symbol_PNP.svg|42px]] || PNP || [[Image:JFET P-Channel Labelled.svg|42px]] || P-channel
|- align = "center"
| [[Image:BJT_symbol_NPN.svg|42px]] || NPN || [[Image:JFET N-Channel Labelled.svg|42px]] || N-channel
|- align = "center"
| BJT || || JFET || 
{{float_end|Transistor symbols of different types}}

becomes

BJT symbol PNP.svg PNP JFET P-Channel Labelled.svg P-channel
BJT symbol NPN.svg NPN JFET N-Channel Labelled.svg N-channel
BJT JFET
Transistor symbols of different types