Table Formatting: Difference between revisions

From Wayne's Dusty Box of Words
(Created page with "This example encapsulates the formatting stuff I want to reference. This wiki code: <code><nowiki> {| class="wikitable" |+ Table Example |- ! Wiki code !! Render |- style="ve...")
 
No edit summary
 
(7 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"
|+ Table Example
|+ Table Example
|-
|-
Line 11: Line 10:
|| Cell 2 Data
|| Cell 2 Data
|}
|}
</code></nowiki>
</pre>


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