Template:Col sep

From MediaWiki.org
Jump to navigation Jump to search

  |

Description

A table's column separator, with explicitly leading newline character.

Example

{|
|-
{{col sep}} col1 {{col sep}} col2
|-
{{col sep}} col1
{{col sep}} col2
|-
<!--
   This template will be useful in the K&R indent style
   -->{{col sep}} col1<!--
   -->{{col sep}} col2<!--
-->
|-
|}

result in,

     
col1   col2
col1

 

col2
col1  col2