"आकृति:Multicol" के अवतरणसभमे अन्तर

मैथिली विकिपिडियासँ, एक मुक्त विश्वकोश
imported>Franl
Initial version
 
imported>Franl
Fixed typos in the examples.
पङ्क्त्ति ३: पङ्क्त्ति ३:


<pre>
<pre>
{{User:Franl/t:MultiCol}}
{{MultiCol}}
This text appears in the first column.
This text appears in the first column.
{{User:Franl/t:ColBreak}}
{{ColBreak}}
This text appears in the second column.
This text appears in the second column.
{{User:Franl/t:ColBreak}}
{{ColBreak}}
This text appears in the third column.
This text appears in the third column.
{{User:Franl/t:EndMultiCol}}
{{EndMultiCol}}
</pre>
</pre>


पङ्क्त्ति १५: पङ्क्त्ति १५:


<pre>
<pre>
{{User:Franl/t:MultiCol|50%}}
{{MultiCol|50%}}
This text appears in the first column.
This text appears in the first column.
{{User:Franl/t:ColBreak}}
{{ColBreak}}
This text appears in the second column.
This text appears in the second column.
{{User:Franl/t:ColBreak}}
{{ColBreak}}
This text appears in the third column.
This text appears in the third column.
{{User:Franl/t:EndMultiCol}}
{{EndMultiCol}}
</pre>
</pre>



अन्तिम परिवर्तन ०९:०६, ११ जुन २००६

Use this template to start a multi-column section of a page. For example:

 {{MultiCol}}
 This text appears in the first column.
 {{ColBreak}}
 This text appears in the second column.
 {{ColBreak}}
 This text appears in the third column.
 {{EndMultiCol}}

This template has one optional parameter: The width of the table used to implement the columns. This can be an absolute value (e.g., 12cm) or a percentage of the page width (e.g., 50%). This parameter defaults to 100%. For example, to create a multi-column section of a page that is only 50% the width of the page, do this:

 {{MultiCol|50%}}
 This text appears in the first column.
 {{ColBreak}}
 This text appears in the second column.
 {{ColBreak}}
 This text appears in the third column.
 {{EndMultiCol}}

The multi-column region is always positioned on the left of the page. To change this, place the above Wikitext in a DIV block that has the CSS attribute text-align set to either center or right.