Table Formatting: Difference between revisions
From Wayne's Dusty Box of Words
No edit summary |
No edit summary |
||
Line 3: | Line 3: | ||
This wiki code:<br /> | This wiki code:<br /> | ||
<code><nowiki>{| class="wikitable"<br /></nowiki></code><br /> | <code><nowiki>{| class="wikitable"<br /></nowiki></code><br /> | ||
<nowiki>|+ Table Example<br /></nowiki> | <code><nowiki>|+ Table Example<br /></nowiki></code> | ||
<nowiki>|-<br /></nowiki> | <code><nowiki>|-<br /></nowiki></code> | ||
<nowiki>! Wiki code !! Render<br /></nowiki> | <code><nowiki>! Wiki code !! Render<br /></nowiki></code> | ||
<nowiki>|- style="vertical-align:top;"<br /></nowiki> | <code><nowiki>|- style="vertical-align:top;"<br /></nowiki></code> | ||
<nowiki>| style="width: 50%" | Cell 1 Data<br /></nowiki> | <code><nowiki>| style="width: 50%" | Cell 1 Data<br /></nowiki></code> | ||
<nowiki>|| Cell 2 Data<br /></nowiki> | <code><nowiki>|| Cell 2 Data<br /></nowiki></code> | ||
<nowiki>|}<br /></nowiki> | <code><nowiki>|}<br /></nowiki></code> | ||
</code> | |||
Renders as: | Renders as: |
Revision as of 16:13, 21 October 2020
This example encapsulates the formatting stuff I want to reference.
This wiki code:
{| class="wikitable"<br />
|+ Table Example<br />
|-<br />
! Wiki code !! Render<br />
|- style="vertical-align:top;"<br />
| style="width: 50%" | Cell 1 Data<br />
|| Cell 2 Data<br />
|}<br />
Renders as:
Wiki code | Render |
---|---|
Cell 1 Data | Cell 2 Data |