Misplaced Pages

Template talk:Float begin: Difference between revisions

Article snapshot taken from Wikipedia with creative commons attribution-sharealike license. Give it a read and then ask your questions in the chat. We can research this topic together.
Browse history interactively← Previous editNext edit →Content deleted Content addedVisualWikitext
Revision as of 22:04, 21 March 2005 editOmegatron (talk | contribs)Administrators35,798 editsNo edit summary← Previous edit Revision as of 01:51, 26 March 2005 edit undoDbenbenn (talk | contribs)Extended confirmed users19,225 edits Change syntaxNext edit →
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 ].

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 ], I have a template that already makes a complete table. I want a frame with caption around it. ] | ] 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"
| ] || PNP || ] || P-channel
|- align = "center"
| ] || NPN || ] || 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)