Template:Col-begin/doc: Difference between revisions
imported>Dan E |
imported>Dan E m →HTML |
||
| (One intermediate revision by the same user not shown) | |||
| Line 6: | Line 6: | ||
Here's a quick look on the use of Columns in wiki: | Here's a quick look on the use of Columns in wiki: | ||
<hr> | |||
===Wiki-Code=== | ===Wiki-Code=== | ||
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. | 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. | ||
| Line 37: | Line 37: | ||
{{Col-end}} | {{Col-end}} | ||
<hr> | |||
===HTML=== | ===HTML=== | ||
You can also create columns using HTML code. You use the table code, so if you are familair with HTML, this may be easier. If you don't know HTML, just learn to use the wiki ones, and then everyone will be using the same ones. | You can also create columns using HTML code. You use the table code, so if you are familair with HTML, this may be easier. If you don't know HTML, just learn to use the wiki ones, and then everyone will be using the same ones. HTML has the advantage of being a lot more flexible and letting you do lots of cool things. | ||
<pre> | <pre> | ||
Latest revision as of 23:00, 18 October 2006
Usage
Here's a quick look on the use of Columns in wiki:
Wiki-Code
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 |
HTML
You can also create columns using HTML code. You use the table code, so if you are familair with HTML, this may be easier. If you don't know HTML, just learn to use the wiki ones, and then everyone will be using the same ones. HTML has the advantage of being a lot more flexible and letting you do lots of cool things.
<table width="100%"> <tr> <td>Column 1</td> <td>Column 2</td> <td>Column 3</td> </tr> </table>
becomes...
| Column 1 | Column 2 | Column 3 |