Deprecated: Return type of MediaWiki\Session\PHPSessionHandler::open($save_path, $session_name) should either be compatible with SessionHandlerInterface::open(string $path, string $name): bool, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /home/web/public_html/wiki/includes/session/PHPSessionHandler.php on line 172

Warning: "continue" targeting switch is equivalent to "break". Did you mean to use "continue 2"? in /home/web/public_html/wiki/includes/json/FormatJson.php on line 297

Deprecated: Return type of ResultWrapper::current() should either be compatible with Iterator::current(): mixed, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /home/web/public_html/wiki/includes/db/DatabaseUtility.php on line 174

Deprecated: Return type of ResultWrapper::next() should either be compatible with Iterator::next(): void, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /home/web/public_html/wiki/includes/db/DatabaseUtility.php on line 192

Deprecated: Return type of ResultWrapper::key() should either be compatible with Iterator::key(): mixed, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /home/web/public_html/wiki/includes/db/DatabaseUtility.php on line 185

Deprecated: Return type of ResultWrapper::valid() should either be compatible with Iterator::valid(): bool, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /home/web/public_html/wiki/includes/db/DatabaseUtility.php on line 202

Deprecated: Return type of ResultWrapper::rewind() should either be compatible with Iterator::rewind(): void, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /home/web/public_html/wiki/includes/db/DatabaseUtility.php on line 163

Deprecated: strlen(): Passing null to parameter #1 ($string) of type string is deprecated in /home/web/public_html/wiki/includes/db/Database.php on line 1742

Deprecated: Return type of MediaWiki\Session\Session::count() should either be compatible with Countable::count(): int, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /home/web/public_html/wiki/includes/session/Session.php on line 555

Deprecated: Return type of MediaWiki\Session\Session::current() should either be compatible with Iterator::current(): mixed, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /home/web/public_html/wiki/includes/session/Session.php on line 560

Deprecated: Return type of MediaWiki\Session\Session::next() should either be compatible with Iterator::next(): void, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /home/web/public_html/wiki/includes/session/Session.php on line 570

Deprecated: Return type of MediaWiki\Session\Session::key() should either be compatible with Iterator::key(): mixed, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /home/web/public_html/wiki/includes/session/Session.php on line 565

Deprecated: Return type of MediaWiki\Session\Session::valid() should either be compatible with Iterator::valid(): bool, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /home/web/public_html/wiki/includes/session/Session.php on line 580

Deprecated: Return type of MediaWiki\Session\Session::rewind() should either be compatible with Iterator::rewind(): void, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /home/web/public_html/wiki/includes/session/Session.php on line 575

Deprecated: Return type of MediaWiki\Session\Session::offsetExists($offset) should either be compatible with ArrayAccess::offsetExists(mixed $offset): bool, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /home/web/public_html/wiki/includes/session/Session.php on line 589

Deprecated: Return type of & MediaWiki\Session\Session::offsetGet($offset) should either be compatible with ArrayAccess::offsetGet(mixed $offset): mixed, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /home/web/public_html/wiki/includes/session/Session.php on line 601

Deprecated: Return type of MediaWiki\Session\Session::offsetSet($offset, $value) should either be compatible with ArrayAccess::offsetSet(mixed $offset, mixed $value): void, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /home/web/public_html/wiki/includes/session/Session.php on line 610

Deprecated: Return type of MediaWiki\Session\Session::offsetUnset($offset) should either be compatible with ArrayAccess::offsetUnset(mixed $offset): void, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /home/web/public_html/wiki/includes/session/Session.php on line 614

Deprecated: strlen(): Passing null to parameter #1 ($string) of type string is deprecated in /home/web/public_html/wiki/includes/db/Database.php on line 1742

Deprecated: strlen(): Passing null to parameter #1 ($string) of type string is deprecated in /home/web/public_html/wiki/includes/db/Database.php on line 1742

Deprecated: strlen(): Passing null to parameter #1 ($string) of type string is deprecated in /home/web/public_html/wiki/includes/db/Database.php on line 1742

Deprecated: strlen(): Passing null to parameter #1 ($string) of type string is deprecated in /home/web/public_html/wiki/includes/db/Database.php on line 1742

Deprecated: strlen(): Passing null to parameter #1 ($string) of type string is deprecated in /home/web/public_html/wiki/includes/db/Database.php on line 1742

Deprecated: Message implements the Serializable interface, which is deprecated. Implement __serialize() and __unserialize() instead (or in addition, if support for old PHP versions is necessary) in /home/web/public_html/wiki/includes/Message.php on line 159

Deprecated: RawMessage implements the Serializable interface, which is deprecated. Implement __serialize() and __unserialize() instead (or in addition, if support for old PHP versions is necessary) in /home/web/public_html/wiki/includes/Message.php on line 1232

Deprecated: strlen(): Passing null to parameter #1 ($string) of type string is deprecated in /home/web/public_html/wiki/includes/db/Database.php on line 1742

Deprecated: strlen(): Passing null to parameter #1 ($string) of type string is deprecated in /home/web/public_html/wiki/includes/db/Database.php on line 1742

Deprecated: strlen(): Passing null to parameter #1 ($string) of type string is deprecated in /home/web/public_html/wiki/includes/db/Database.php on line 1742

Deprecated: strlen(): Passing null to parameter #1 ($string) of type string is deprecated in /home/web/public_html/wiki/includes/db/Database.php on line 1742

Deprecated: strlen(): Passing null to parameter #1 ($string) of type string is deprecated in /home/web/public_html/wiki/includes/db/Database.php on line 1742

Warning: Cannot modify header information - headers already sent by (output started at /home/web/public_html/wiki/includes/session/Session.php:48) in /home/web/public_html/wiki/includes/Feed.php on line 234

Deprecated: header(): Passing null to parameter #3 ($response_code) of type int is deprecated in /home/web/public_html/wiki/includes/WebResponse.php on line 42

Warning: Cannot modify header information - headers already sent by (output started at /home/web/public_html/wiki/includes/session/Session.php:48) in /home/web/public_html/wiki/includes/WebResponse.php on line 42

Deprecated: header(): Passing null to parameter #3 ($response_code) of type int is deprecated in /home/web/public_html/wiki/includes/WebResponse.php on line 42

Warning: Cannot modify header information - headers already sent by (output started at /home/web/public_html/wiki/includes/session/Session.php:48) in /home/web/public_html/wiki/includes/WebResponse.php on line 42

Deprecated: header(): Passing null to parameter #3 ($response_code) of type int is deprecated in /home/web/public_html/wiki/includes/WebResponse.php on line 42

Warning: Cannot modify header information - headers already sent by (output started at /home/web/public_html/wiki/includes/session/Session.php:48) in /home/web/public_html/wiki/includes/WebResponse.php on line 42

Deprecated: header(): Passing null to parameter #3 ($response_code) of type int is deprecated in /home/web/public_html/wiki/includes/WebResponse.php on line 42

Warning: Cannot modify header information - headers already sent by (output started at /home/web/public_html/wiki/includes/session/Session.php:48) in /home/web/public_html/wiki/includes/WebResponse.php on line 42
http://redwolf.ws/wiki/index.php?title=Help:Table_caption&feed=atom&action=history Help:Table caption - Revision history 2024-05-14T07:49:00Z Revision history for this page on the wiki MediaWiki 1.27.0
Deprecated: strlen(): Passing null to parameter #1 ($string) of type string is deprecated in /home/web/public_html/wiki/includes/db/Database.php on line 1742

Deprecated: strlen(): Passing null to parameter #1 ($string) of type string is deprecated in /home/web/public_html/wiki/includes/db/Database.php on line 1742

Deprecated: strlen(): Passing null to parameter #1 ($string) of type string is deprecated in /home/web/public_html/wiki/includes/db/Database.php on line 1742

Deprecated: strlen(): Passing null to parameter #1 ($string) of type string is deprecated in /home/web/public_html/wiki/includes/db/Database.php on line 1742

Deprecated: strlen(): Passing null to parameter #1 ($string) of type string is deprecated in /home/web/public_html/wiki/includes/db/Database.php on line 1742

Deprecated: strlen(): Passing null to parameter #1 ($string) of type string is deprecated in /home/web/public_html/wiki/includes/db/Database.php on line 1742
http://redwolf.ws/wiki/index.php?title=Help:Table_caption&diff=28&oldid=prev STrRedWolf: 1 revision(s) 2007-11-11T17:55:41Z <p>1 revision(s)</p> <p><b>New page</b></p><div>{{H:h}} [[Category:Editor handbook]]<br /> The &#039;&#039;&#039;caption&#039;&#039;&#039; tag is used inside the [[w:HTML element#Table (HTML)|HTML element &quot;table&quot;]]. This can also be done indirectly using the code &quot;|+&quot; as part of the wikicode for a [[Help:Table|table]].<br /> <br /> It places texts above the table, by default. Texts can also be below, at the left or at the right side of the table, based on the &quot;align&quot; parameter&#039;s value.<br /> <br /> {| border=&quot;0&quot; width=&quot;100%&quot; <br /> | colspan=&quot;2&quot; style=&quot;vertical-align: middle&quot; | In the rightside table, the texts &#039;&#039;&#039;This is a Caption&#039;&#039;&#039; showing a caption.<br /> | width=&quot;33%&quot; | <br /> {| border=&quot;1&quot;<br /> |+ This is a Caption<br /> ! Data-Type-1 !! Data-Type-2<br /> |-<br /> | Data-1a || Data-2a<br /> |-<br /> | Data-1b || Data-2b<br /> |}<br /> |-<br /> | width=&quot;20%&quot; | Wiki code:<br /> | colspan=&quot;2&quot; | &lt;pre&gt;&lt;nowiki&gt;<br /> {| border=&quot;1&quot;<br /> |+ This is a Caption<br /> ! Data-Type-1 !! Data-Type-2<br /> |-<br /> | Data-1a || Data-2a<br /> |-<br /> | Data-1b || Data-2b<br /> |}<br /> &lt;/nowiki&gt;&lt;/pre&gt;<br /> |-<br /> | width=&quot;20%&quot; | Html code:<br /> | colspan=&quot;2&quot; | &lt;pre&gt;&lt;nowiki&gt;<br /> &lt;table border=&quot;1&quot;&gt;<br /> &lt;caption&gt; This is a Caption &lt;/caption&gt;<br /> &lt;tr&gt;<br /> &lt;th&gt; Data-Type-1 &lt;/th&gt;&lt;th&gt; Data-Type-2 &lt;/th&gt;<br /> &lt;/tr&gt;&lt;tr&gt;<br /> &lt;td&gt; Data-1a &lt;/td&gt;&lt;td&gt; Data-2a &lt;/td&gt;<br /> &lt;/tr&gt;&lt;tr&gt;<br /> &lt;td&gt; Data-1b &lt;/td&gt;&lt;td&gt; Data-2b &lt;/td&gt;<br /> &lt;/tr&gt;<br /> &lt;/table&gt;<br /> &lt;/nowiki&gt;&lt;/pre&gt;<br /> |}<br /> <br /> A html &#039;&#039;&#039;&amp;lt;caption&amp;gt;&#039;&#039;&#039; tag can be created by using following wiki code:<br /> |+ Caption<br /> <br /> which generates the following html code:<br /> &amp;lt;caption&amp;gt;Caption&amp;lt;/caption&amp;gt;<br /> <br /> You can also use parameters in wiki code:<br /> |+ &#039;&#039;params&#039;&#039;|Caption<br /> <br /> which will generate below html code:<br /> &amp;lt;caption &#039;&#039;params&#039;&#039;&amp;gt;Caption&amp;lt;/caption&amp;gt;<br /> <br /> [[en:Cascading Style Sheets|CSS]] box model equivalent:<br /> display: table-caption;<br /> <br /> Caption tag accepts following parameters:<br /> align = &quot;top|bottom|left|right&quot; (Deprecated html parameter)<br /> &amp;nbsp;&amp;nbsp;(Html &quot;align&quot; is valid for ~[[en:Internet Explorer|IE]] 6).<br /> <br /> Equivalent [[en:Cascading Style Sheets|stylesheet]] parameter:<br /> style=&quot;caption-side: top|bottom|left|right|inherit;&quot;<br /> <br /> {| border=&quot;0&quot; width=&quot;100%&quot; <br /> | colspan=&quot;2&quot; style=&quot;vertical-align: middle&quot; | In the rightside table, the texts &#039;&#039;&#039;Caption at bottom&#039;&#039;&#039; showing a bottom side caption.<br /> | <br /> {| border=&quot;1&quot; <br /> |+ align=&quot;bottom&quot; style=&quot;caption-side: bottom&quot; | Caption at &#039;&#039;&#039;bottom&#039;&#039;&#039; <br /> ! Data-Type-1 !! Data-Type-2<br /> |-<br /> | Data-1a || Data-2a <br /> |-<br /> | Data-1b || Data-2b <br /> |}<br /> |-<br /> | width=&quot;10%&quot; | Wiki code:&amp;nbsp; <br /> | colspan=&quot;2&quot; style=&quot;border: 1px dashed #2f6fab; background-color: #f9f9f9;&quot; | &lt;tt&gt;&lt;nowiki&gt;<br /> {| border=&quot;1&quot;&lt;/nowiki&gt;&lt;br /&gt;&lt;nowiki&gt;<br /> |+ align=&quot;bottom&quot; style=&quot;caption-side: bottom&quot; | Caption at &#039;&#039;&#039;bottom&#039;&#039;&#039;&lt;/nowiki&gt;&lt;br /&gt;&lt;nowiki&gt;<br /> ! Data-Type-1 !! Data-Type-2&lt;/nowiki&gt;&lt;br /&gt;&lt;nowiki&gt;<br /> |-&lt;/nowiki&gt;&lt;br /&gt;&lt;nowiki&gt;<br /> | Data-1a || Data-2a&lt;/nowiki&gt;&lt;br /&gt;&lt;nowiki&gt;<br /> |-&lt;/nowiki&gt;&lt;br /&gt;&lt;nowiki&gt;<br /> | Data-1b || Data-2b&lt;/nowiki&gt;&lt;br /&gt;&lt;nowiki&gt;<br /> |}<br /> &lt;/nowiki&gt;&lt;/tt&gt;<br /> |}<br /> <br /> For a bottom side, right aligned caption texts:<br /> |+ align=&quot;bottom&quot; style=&quot;caption-side: bottom; text-align: right;&quot; | Caption at bottom<br /> <br /> ==See also==<br /> [[Help:Table]]<br /> <br /> {{H:f|enname=Table caption}}</div> STrRedWolf