Templat:Columns: Perbezaan antara semakan
Kandungan dihapus Kandungan ditambah
Laman baru: {{Lajur | bgcol = <!--Background colo/ur (default none)--> | width = <!--Width of each column (px; default 120px)--> | gap = <!--Gap between each column (px; default 15px)--> | c... |
kTiada ringkasan suntingan |
||
Baris 1: | Baris 1: | ||
{| style="background-color:{{{bgcol|transparent}}}" cellspacing="0" cellpadding="0" |
|||
{{Lajur |
|||
|- valign="top" |
|||
| bgcol = <!--Background colo/ur (default none)--> |
|||
|width="{{{width|120px}}}"| |
|||
| width = <!--Width of each column (px; default 120px)--> |
|||
{{{col1}}} |
|||
| gap = <!--Gap between each column (px; default 15px)--> |
|||
|width="{{{gap|15px}}}" | |
|||
| col1 = <!--mandatory--> |
|||
|width="{{{width|120px}}}"| |
|||
| col2 = <!--mandatory--> |
|||
{{{col2}}} |
|||
| col3 = |
|||
|width="{{{gap|15px}}}" | |
|||
| col4 = |
|||
{{#if:{{{col3|}}}|<!--then:--> |
|||
| col5 = |
|||
{{!}}width="{{{width|120px}}}"{{!}} |
|||
| col6 = |
|||
{{{col3}}} |
|||
| col7 = |
|||
{{!}}width="{{{gap|15px}}}"{{!}} |
|||
}} |
}} |
||
{{#if:{{{col4|}}}|<!--then:--> |
|||
{{!}}width="{{{width|120px}}}"{{!}} |
|||
{{{col4}}} |
|||
{{!}}width="{{{gap|15px}}}"{{!}} |
|||
}} |
|||
{{#if:{{{col5|}}}|<!--then:--> |
|||
{{!}}width="{{{width|120px}}}"{{!}} |
|||
{{{col5}}} |
|||
{{!}}width="{{{gap|15px}}}"{{!}} |
|||
}} |
|||
{{#if:{{{col6|}}}|<!--then:--> |
|||
{{!}}width="{{{width|120px}}}"{{!}} |
|||
{{{col6}}} |
|||
{{!}}width="{{{gap|15px}}}"{{!}} |
|||
}} |
|||
{{#if:{{{col7|}}}|<!--then:--> |
|||
{{!}}width="{{{width|120px}}}"{{!}} |
|||
{{{col7}}} |
|||
{{!}}width="{{{gap|15px}}}"{{!}} |
|||
}} |
|||
|}<noinclude> |
Semakan pada 22:28, 5 Januari 2007
{{{col1}}} |
{{{col2}}} |
|