<?xml version="1.0" encoding="iso-8859-1"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
  "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<link rel="home" title="HomePage" href="HomePage.html" />
<link rel="help" title="HowToUseWiki" href="HowToUseWiki.html" />
<link rel="copyright" title="GNU General Public License" href="http://www.gnu.org/copyleft/gpl.html#SEC1" />
<link rel="author" title="The PhpWiki Programming Team" href="http://phpwiki.org/ThePhpWikiProgrammingTeam" />
<meta http-equiv="Content-Style-Type" content="text/css" />
<meta http-equiv="Content-Language" content="en" />
<meta name="robots" content="noindex,nofollow" />
<meta name="language" content="en" />
<meta name="document-type" content="Public" />
<meta name="document-rating" content="General" />
<meta name="generator" content="PhpWiki" />
<meta name="PHPWIKI_VERSION" content="1.3.14" />

<base href="../" />
<link rel="stylesheet" type="text/css" charset="iso-8859-1" href="phpwiki-printer.css" />
<title>PhpWiki - Help  /  Old Style Table Plugin</title>
</head>
<body>

<div id="header">
  
<!-- Page title -->
<h1>Help  /  Old Style Table Plugin</h1>
</div>
<div id="content">



<div class="wikitext"><p class="tightenable top">The <a href="OldStyleTablePlugin.html" class="wiki">OldStyleTablePlugin</a> can be used to include tables within a wiki
page using the old-style markup syntax for tables.</p>
<h3>Usage:</h3>
<pre class="tightenable">
&lt;?plugin OldStyleTable caption=&quot;OldStyleTable&quot; border||=2
||^  *Name*                |v *Cost*   |v *Notes*
| *First*     | *Last*
|&gt; Jeff       |&lt; Dairiki   |^  Cheap   |&lt; Not worth it
|&gt; Marco      |&lt; Polo      | Cheaper   |&lt; Not available
?&gt;</pre>
<p class="tightenable">will get you</p>
<div class="plugin tightenable" id="OldStyleTablePlugin2"><table cellpadding="1" cellspacing="1" border="2">
<caption valign="top">
OldStyleTable</caption>
<tr>
<td colspan="2" align="center">&nbsp;<b>Name</b>&nbsp;</td>
<td rowspan="2" align="left">&nbsp;<b>Cost</b>&nbsp;</td>
<td rowspan="2" align="left">&nbsp;<b>Notes</b>&nbsp;</td>
</tr>
<tr>
<td align="left">&nbsp;<b>First</b>&nbsp;</td>
<td align="left">&nbsp;<b>Last</b>&nbsp;</td>
</tr>
<tr>
<td align="right">&nbsp;Jeff&nbsp;</td>
<td align="left">&nbsp;Dairiki&nbsp;</td>
<td align="center">&nbsp;Cheap&nbsp;</td>
<td align="left">&nbsp;Not worth it&nbsp;</td>
</tr>
<tr>
<td align="right">&nbsp;Marco&nbsp;</td>
<td align="left">&nbsp;Polo&nbsp;</td>
<td align="left">&nbsp;Cheaper&nbsp;</td>
<td align="left">&nbsp;Not available&nbsp;</td>
</tr>
</table>
</div>
<p class="tightenable">Note that multiple <strong>|</strong>s lead to spanned columns, and <strong>v</strong>s can be
used to span rows.  A <strong>&gt;</strong> generates a right justified column, <strong>&lt;</strong>
a left justified column and <strong>^</strong> a centered column (which is the
default.)</p>
<h3>Plugin Arguments</h3>
<dl><dt class="tightenable"><strong>caption</strong></dt>
<dd class="tightenable">Any string. Default: &quot;&quot;</dd>
<dt class="tightenable"><strong>border</strong></dt>
<dd class="tightenable">Any number. Default: 1</dd>
<dt class="tightenable"><strong>cellspacing</strong></dt>
<dd class="tightenable">Any number. Default: 1</dd>
<dt class="tightenable"><strong>cellpadding</strong></dt>
<dd class="tightenable">Any number. Default: 1</dd>
<dt class="tightenable"><strong>summary</strong></dt>
<dd class="tightenable">Any string. Default: &quot;&quot;</dd>
</dl>
<hr />
<p class="tightenable">Note that within each table cell, <i>new-style</i> markup is used.  You can
only use inline markup --- no block level markup is allowed within
table cells.</p>
<p class="tightenable">(Using old-style markup wouldn't make much sense, since one can't
include multi-line plugin invocations using the old-style markup
rules.)</p>
<hr />
<p class="tightenable bottom"><a href="PhpWikiDocumentation.html" class="wiki">PhpWikiDocumentation</a> <a href="Help/WikiPlugin" class="interwiki"><span style="white-space: nowrap"><img src="images/interwiki.png" alt="" class="linkicon" border="0" />Help:</span><span class="wikipage">WikiPlugin</span></a></p>
</div>

<div id="footer">  <hr class="printer" noshade="noshade" />
<p class="editdate">Owner: &quot;admin&quot;  Last edited on August 14, 2007  7:11 am by &quot;The PhpWiki programming team&quot;</p>
</div>

</div>
<!-- Add your Disclaimer here -->
</body>
</html>
