Table Formatting: Difference between revisions

From Wayne's Dusty Box of Words
No edit summary
No edit summary
Line 2: Line 2:


This wiki code:<br />
This wiki code:<br />
<code><nowiki>{| class="wikitable"<br /></nowiki></code><br />
<code><nowiki>{| class="wikitable"</nowiki></code><br />
<code><nowiki>|+ Table Example<br /></nowiki></code>
<code><nowiki>|+ Table Example</nowiki></code><br />
<code><nowiki>|-<br /></nowiki></code>
<code><nowiki>|-</nowiki></code><br />
<code><nowiki>! Wiki code !! Render<br /></nowiki></code>
<code><nowiki>! Wiki code !! Render</nowiki></code><br />
<code><nowiki>|- style="vertical-align:top;"<br /></nowiki></code>
<code><nowiki>|- style="vertical-align:top;"</nowiki></code><br />
<code><nowiki>| style="width: 50%" | Cell 1 Data<br /></nowiki></code>
<code><nowiki>| style="width: 50%" | Cell 1 Data</nowiki></code><br />
<code><nowiki>|| Cell 2 Data<br /></nowiki></code>
<code><nowiki>|| Cell 2 Data</nowiki></code><br />
<code><nowiki>|}<br /></nowiki></code>
<code><nowiki>|}</nowiki></code><br />


Renders as:
Renders as:

Revision as of 16:15, 21 October 2020

This example encapsulates the formatting stuff I want to reference.

This wiki code:
{| class="wikitable"
|+ Table Example
|-
! Wiki code !! Render
|- style="vertical-align:top;"
| style="width: 50%" | Cell 1 Data
|| Cell 2 Data
|}

Renders as:

Table Example
Wiki code Render
Cell 1 Data Cell 2 Data