User:Ganaram inukshuk/Provisional style guide for Lua: Difference between revisions

Ganaram inukshuk (talk | contribs)
No edit summary
Ganaram inukshuk (talk | contribs)
Line 43: Line 43:


== Mediawiki table formatting ==
== Mediawiki table formatting ==
One line per cell, not one line per row.
Have one line per cell, not one line per row. This is for ease-of-reading when debugging the output of a module-generated table. Add a space between pipes/exclamation points and table entries. This is to avoid accidentally adding new rows, such as when putting negative numbers.
 
'''Correct'''
<pre>
{| class="wikitable"
{| class="wikitable"
|+
|+
!Header 1
! Header 1
!Header 2
! Header 2
!Header 3
! Header 3
|-
|-
|aa
| aa
|bb
| bb
|cc
| cc
|-
|-
|dd
| dd
|ee
| ee
|ff
| ff
|}
|}
</pre>
'''Incorrect'''
<pre>
{| class="wikitable"
|+
! Header 1 !! Header 2 !! Header 3
|-
|aa ||bb ||cc
|-
|dd ||ee ||ff
|}
</pre>