Template:Col-begin/doc: Difference between revisions

From VOC Wiki
Jump to navigation Jump to search
imported>Champagne
Template:Col-begin/doc
 
imported>Champagne
Quick manual for making columns
Line 5: Line 5:
==Usage==
==Usage==


{{col-begin}}
Here's a quick look on the use of Columns in wiki:
{{col-break}}
 
{{tl|Col-begin}}
{{tl|Col-2}}
Column 1 here
{{tl|Col-2}}
Column 2 here
{{tl|Col-end}}
 
{{col-break}}
 
{{tl|Col-begin}}
{{tl|Col-3}}
Column 1 here
{{tl|Col-3}}
Column 2 here
{{tl|Col-3}}
Column 3 here
{{tl|Col-end}}
 
{{col-end}}
 
{{col-begin}}
{{col-break}}
 
{{tl|Col-begin}}
{{tl|Col-4}}
Column 1 here
{{tl|Col-4}}
Column 2 here
{{tl|Col-4}}
Column 3 here
{{tl|Col-4}}
Column 4 here
{{tl|Col-end}}


{{col-break}}
You always start with {{tl|Col-begin}} followed by {{tl|Col-break}}(as seen below) then you can start you first column. When you want to start a new column, just type {{tl|Col-break}} at the end of your column and anything typed after will be in your new column. You can repeat the procedure for as many columns as you desire. At the end of your last column, just type {{tl|Col-end}} to stop the wiki from continuing typing in the column.


{{tl|Col-begin}}
Voila!  Quite simple.
{{tl|Col-5}}
Column 1 here
{{tl|Col-5}}
Column 2 here
{{tl|Col-5}}
Column 3 here
{{tl|Col-5}}
Column 4 here
{{tl|Col-5}}
Column 5 here
{{tl|Col-end}}
 
{{col-end}}


{{col-begin}}
{{col-begin}}
Line 70: Line 22:
  Column 3 here
  Column 3 here
  {{tl|Col-end}}
  {{tl|Col-end}}
{{col-break}}
{{tl|Top}}
Column 1 here
{{tl|Mid}}
Column 2 here
{{tl|Bottom}}


{{col-end}}
{{col-end}}


{{col-begin}}
becomes
{{col-break}}
 
{{[[Template:Columns|Columns]]|num=3}}
Column 1 here
{{tl|Column}}
Column 2 here
{{tl|Column}}
Column 3 here
{{tl|Columns-end}}


{{col-break}}
{{Col-begin}}
{{Col-break}}
Column 1 here
{{Col-break}}
Column 2 here
{{Col-break}}
Column 3 here
{{Col-end}}


{{tl|MultiCol}}
Column 1 here
{{tl|ColBreak}}
Column 2 here
{{tl|ColBreak}}
Column 3 here
{{tl|ColBreak}}
Column 4 here
{{tl|EndMultiCol}}


{{col-end}}


<includeonly>
<includeonly>

Revision as of 07:14, 13 October 2006


Usage

Here's a quick look on the use of Columns in wiki:

You always start with {{Col-begin}} followed by {{Col-break}}(as seen below) then you can start you first column. When you want to start a new column, just type {{Col-break}} at the end of your column and anything typed after will be in your new column. You can repeat the procedure for as many columns as you desire. At the end of your last column, just type {{Col-end}} to stop the wiki from continuing typing in the column.

Voila! Quite simple.

{{Col-begin}}
{{Col-break}}
Column 1 here
{{Col-break}}
Column 2 here
{{Col-break}}
Column 3 here
{{Col-end}}

becomes

Column 1 here

Column 2 here

Column 3 here