Table Formatting: Difference between revisions

From Wayne's Dusty Box of Words
No edit summary
No edit summary
 
(6 intermediate revisions by the same user not shown)
Line 1: Line 1:
This example encapsulates the formatting stuff I want to reference.
This example encapsulates the formatting stuff I want to reference.


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


Renders as:
Renders as:
Line 22: Line 21:
|| Cell 2 Data
|| Cell 2 Data
|}
|}
[[Category:Knowledge Base]]
[[Category:MediaWiki]]

Latest revision as of 16:25, 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