Jump to content

Template talk:Float begin: Difference between revisions

Page contents not supported in other languages.
From Wikipedia, the free encyclopedia
Content deleted Content added
No edit summary
Change syntax
Line 30: Line 30:
| BJT || || JFET ||
| BJT || || JFET ||
{{float_end|caption=Different types of transistors}}
{{float_end|caption=Different types of transistors}}

== Change syntax ==

I love this template; it's semantically much better than what I came up with at [[:Template:Caption top]].

I suggest removing the second line, that opens a table. That way we could use this template to put a frame around ''anything''. For example, at [[Fork (chess)]], I have a template that already makes a complete table. I want a frame with caption around it. [[User:Dbenbenn|dbenbenn]] | [[User talk:Dbenbenn|talk]] 01:51, 26 Mar 2005 (UTC)

Revision as of 01:51, 26 March 2005

Used for putting a table in a frame. Possibly renamed, updated, etc. in the future.

Still needs some work on the caption length screwing things up. Should maybe be renamed table_float_end or something, since it is only for pipe tables.

Template talk:Float begin Template talk:Float end

To be superseded by a table namespace someday?  :-)

Usage

{{float_begin|side=left}}
|- align = "center"
| [[Image:BJT_symbol_PNP.png]] || PNP || [[Image:JFET_symbol_P.png]] || P-channel
|- align = "center"
| [[Image:BJT_symbol_NPN.png]] || NPN || [[Image:JFET_symbol_N.png]] || N-channel
|- align = "center"
| BJT || || JFET || 
{{float_end|caption=Different types of transistors}}

becomes

PNP P-channel
NPN N-channel
BJT JFET
Different types of transistors

Change syntax

I love this template; it's semantically much better than what I came up with at Template:Caption top.

I suggest removing the second line, that opens a table. That way we could use this template to put a frame around anything. For example, at Fork (chess), I have a template that already makes a complete table. I want a frame with caption around it. dbenbenn | talk 01:51, 26 Mar 2005 (UTC)