Recent Changes for "Help On Tables" - Rochester Wikihttps://rocwiki.org/Help_On_TablesRecent Changes of the page "Help On Tables" on Rochester Wiki.en-us https://rocwiki.org/Help_On_Tableshttps://rocwiki.org/Help_On_Tables?action=diff&version1=3&version2=4&ts=1211635412Help On Tables2008-05-24T13:23:32ZDaveMahoninstructions for handling line breaks in cells <div id="content" class="wikipage content"> Differences for Help On Tables<p><strong></strong></p><table> <tr> <td> <span> Deletions are marked with - . </span> </td> <td> <span> Additions are marked with +. </span> </td> </tr> <tr> <td> Line 2: </td> <td> Line 2: </td> </tr> <tr> <td> <span>-</span> <span>=</span>= Table Markup =<span>=</span> </td> <td> <span>+</span> <span>[[TableOfContents]]<br> + </span>= Table Markup = </td> </tr> <tr> <td> Line 7: </td> <td> Line 8: </td> </tr> <tr> <td> <span>-</span> <span>=</span>== Table Attributes ==<span>=</span> </td> <td> <span>+</span> == Table Attributes == </td> </tr> <tr> <td> Line 26: </td> <td> Line 27: </td> </tr> <tr> <td> <span>- === Example ===</span> </td> <td> <span>+ == Line Breaks ==<br> + Cells cannot contain line breaks (the Enter/Return key), which makes including things like lists or paragraphs a little tricky. There are two ways of handling this dilemma:<br> + * Use the {{{[[BR]]}}} tag to manually force line breaks. You need two to simulate a new paragraph.<br> + * Generate the content normally by creating additional pages for each cell that contains this complex content. Then use the ["Macro List" IncludePages macro] to incorporate their content in the main page.<br> + <br> + == Example ==</span> </td> </tr> <tr> <td> Line 47: </td> <td> Line 53: </td> </tr> <tr> <td> <span>-</span> <span>=</span>== Display ==<span>=</span><br> <span>- </span> General table layout and HTML like options:: </td> <td> <span>+</span> == Display ==<br> <span>+</span> General table layout and HTML like options:: </td> </tr> </table> </div> https://rocwiki.org/Help_On_Tableshttps://rocwiki.org/Help_On_Tables?action=diff&version1=2&version2=3&ts=1205179990Help On Tables2008-03-10T20:13:10ZJoannaLicatamade outside link to codes a footnote <div id="content" class="wikipage content"> Differences for Help On Tables<p><strong></strong></p><table> <tr> <td> <span> Deletions are marked with - . </span> </td> <td> <span> Additions are marked with +. </span> </td> </tr> <tr> <td> Line 20: </td> <td> Line 20: </td> </tr> <tr> <td> <span>- * {{{&lt;#XXXXXX&gt;}}}: background color</span> </td> <td> <span>+ * {{{&lt;#XXXXXX&gt;}}}: background color [[FootNote(Possible color codes can be found at [http://www.w3schools.com/html/html_colors.asp W3Schools.com]. ''Note: Please only use the RGB Hex (#XXXXXX) code. The color name does '''not''' work and neither does RGB Decimal.'')]]</span> </td> </tr> <tr> <td> Line 65: </td> <td> Line 65: </td> </tr> <tr> <td> <span>- [http://www.w3schools.com/html/html_colors.asp "Here's a page that shows you the hex numbers for a variety of colors"]</span> </td> <td> </td> </tr> </table> </div> https://rocwiki.org/Help_On_Tableshttps://rocwiki.org/Help_On_Tables?action=diff&version1=1&version2=2&ts=1187743960Help On Tables2007-08-22T00:52:40ZDottieHoffmannadded external link for hex color reference for people that don't speak hex <div id="content" class="wikipage content"> Differences for Help On Tables<p><strong></strong></p><table> <tr> <td> <span> Deletions are marked with - . </span> </td> <td> <span> Additions are marked with +. </span> </td> </tr> <tr> <td> Line 5: </td> <td> Line 5: </td> </tr> <tr> <td> <span>-</span> For more information on the possible markup, see ["Help On Editing"].<span>&nbsp;</span> </td> <td> <span>+</span> For more information on the possible markup, see ["Help On Editing"]. </td> </tr> <tr> <td> Line 45: </td> <td> Line 45: </td> </tr> <tr> <td> <span>-</span> }}}<span>&nbsp;</span> </td> <td> <span>+</span> }}} </td> </tr> <tr> <td> Line 65: </td> <td> Line 65: </td> </tr> <tr> <td> </td> <td> <span>+ [http://www.w3schools.com/html/html_colors.asp "Here's a page that shows you the hex numbers for a variety of colors"]</span> </td> </tr> </table> </div> https://rocwiki.org/Help_On_Tableshttps://rocwiki.org/Help_On_Tables?action=diff&version1=0&version2=1&ts=1113305624Help On Tables2005-04-12T11:33:44ZPhilipNeustrom <div id="content" class="wikipage content"> Differences for Help On Tables<p><strong></strong></p><table> <tr> <td> <span> Deletions are marked with - . </span> </td> <td> <span> Additions are marked with +. </span> </td> </tr> <tr> <td> Line 1: </td> <td> Line 1: </td> </tr> <tr> <td> </td> <td> <span>+ ##language:en<br> + == Table Markup ==<br> + To create a table, you start and end a line using the table marker "{{{||}}}". Between those start and end markers, you can create any number of cells by separating them with "{{{||}}}". To get a centered cell that spans several columns, you start that cell with more than one cell marker. Adjacent lines of the same indent level containing table markup are combined into one table.<br> + <br> + For more information on the possible markup, see ["Help On Editing"]. <br> + <br> + === Table Attributes ===<br> + <br> + Apart from the option to repeat cell markers to get columns spanning several other columns, you can directly set many HTML table attributes. Any attributes have to be placed between angle brackets {{{&lt;...&gt;}}} directly after the cell marker.<br> + <br> + The wiki-like markup has the following options:<br> + * {{{&lt;50%&gt;}}}: cell width<br> + * {{{&lt;-2&gt;}}}: colspan<br> + * {{{&lt;|2&gt;}}}: rowspan<br> + * {{{&lt;(&gt;}}}: left aligned<br> + * {{{&lt;:&gt;}}}: centered<br> + * {{{&lt;)&gt;}}}: right aligned<br> + * {{{&lt;^&gt;}}}: aligned to top<br> + * {{{&lt;v&gt;}}}: aligned to bottom<br> + * {{{&lt;#XXXXXX&gt;}}}: background color<br> + <br> + If you use several conflicting options like {{{&lt;(:)&gt;}}}, the last option wins. There is no explicit option for vertical centering (''middle''), since that is always the default.<br> + <br> + In addition to these, you can add some of the traditional, more long-winded HTML attributes (note that only certain HTML attributes are allowed). By specifying attributes this way, it is also possible to set properties of the table rows and of the table itself, especially you can set the table width using {{{||&lt;tablewidth="100%"&gt;...||}}} in the very first row of your table, and the color of a full row by {{{||&lt;rowbgcolor="#FFFFE0"&gt;...||}}} in the first cell of a row. As you can see, you have to prefix the name of the HTML attribute with {{{table}}} or {{{row}}}.<br> + <br> + === Example ===<br> + {{{<br> + General table layout and HTML like options::<br> + ||||||&lt;tablewidth="80%"&gt;'''Heading'''||<br> + ||cell 1||cell2||cell 3||<br> + ||&lt;rowspan=2&gt; spanning rows||||&lt;bgcolor='#E0E0FF'&gt; spanning 2 columns||<br> + ||&lt;rowbgcolor="#FFFFE0"&gt;cell2||cell 3||<br> + Cell width::<br> + || narrow ||&lt;:99%&gt; wide ||<br> + Spanning rows and columns::<br> + ||&lt;|2&gt; 2 rows || row 1 ||<br> + || row 2 ||<br> + ||&lt;-2&gt; row 3 over 2 columns ||<br> + Alignment::<br> + ||&lt;(&gt; left ||&lt;^|3&gt; top ||&lt;v|3&gt; bottom ||<br> + ||&lt;:&gt; centered ||<br> + ||&lt;)&gt; right ||<br> + Colors::<br> + ||&lt;#FF8080&gt; red ||&lt;#80FF80&gt; green ||&lt;#8080FF&gt; blue ||<br> + }}} <br> + <br> + === Display ===<br> + General table layout and HTML like options::<br> + ||||||&lt;tablewidth="80%"&gt;'''Heading'''||<br> + ||cell 1||cell2||cell 3||<br> + ||&lt;rowspan=2&gt; spanning rows||||&lt;bgcolor='#E0E0FF'&gt; spanning 2 columns||<br> + ||&lt;rowbgcolor="#FFFFE0"&gt;cell2||cell 3||<br> + Cell width::<br> + || narrow ||&lt;:99%&gt; wide ||<br> + Spanning rows and columns::<br> + ||&lt;|2&gt; 2 rows || row 1 ||<br> + || row 2 ||<br> + ||&lt;-2&gt; row 3 over 2 columns ||<br> + Alignment::<br> + ||&lt;(&gt; left ||&lt;^|3&gt; top ||&lt;v|3&gt; bottom ||<br> + ||&lt;:&gt; centered ||<br> + ||&lt;)&gt; right ||<br> + Colors::<br> + ||&lt;#FF8080&gt; red ||&lt;#80FF80&gt; green ||&lt;#8080FF&gt; blue ||</span> </td> </tr> </table> </div>