Difference between revisions of "Template:Float begin/doc"

From blackwiki
Jump to navigation Jump to search
imported>Mr. Guye
(Stack, categorization)
imported>Omegatron
 
(3 intermediate revisions by the same user not shown)
Line 4: Line 4:
 
}}
 
}}
 
<!-- Please place categories where indicated at the bottom of this page and interwikis at Wikidata (see [[Wikipedia:Wikidata]]) -->
 
<!-- Please place categories where indicated at the bottom of this page and interwikis at Wikidata (see [[Wikipedia:Wikidata]]) -->
== Usage ==
+
 
 +
[[Template:Float begin]] and [[Template:float_end]] are used to put a wikitable in an image frame.
 +
==Usage==
 +
 
 +
<pre><nowiki>
 +
{{float_begin|side=left}}
 +
|- 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|caption=Transistor symbols of different types}}
 +
</nowiki></pre>
 +
 
 +
becomes
 +
 
 +
{{float_begin|side=left}}
 +
|- 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|caption=Transistor symbols of different types}}
 +
 
 +
<br clear="all"/>
  
 
<includeonly>{{sandbox other||
 
<includeonly>{{sandbox other||
 
<!-- Categories below this line, please; interwikis at Wikidata -->
 
<!-- Categories below this line, please; interwikis at Wikidata -->
 
[[Category:Positioning templates]]
 
[[Category:Positioning templates]]
 +
[[Category:Image formatting and function templates]]
 
}}</includeonly>
 
}}</includeonly>

Latest revision as of 04:30, 4 April 2020

Template:Missing documentation

Template:Float begin and Template:float_end are used to put a wikitable in an image frame.

Usage

{{float_begin|side=left}}
|- 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|caption=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