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