Mall:Vasem/doc
See on malli Vasem dokumentatsiooni alamleht. See sisaldab kasutamisjuhendit, kategooriaid ja muud sisu, mis ei ole osa malli enda osa. Mall ise asub leheküljel Mall:Vasem. |
Malli tuleb tõlkida ja kohandada! |
Kirjeldus
muudaIt is to left align elements on a page. The only parameter is the content to be aligned. Vt ka Mall:Align for more options and flexibility.
Kasutus
muudaWith no input arguments, it saves typing the following text (in a table):
style="text-align:left"|
To use, type {{vasem}}
at the start of the table cell.
With an input argument, it saves typing:
<div style="float:left;">...</div>
To use, type {{vasem|content}}
to align contents.
Näited
muudaNäide 1
muuda
{| class="wikitable" style="width:30em; text-align:center" !colspan="4"| Header text |- | {{vasem}} Content1A <br/> Content1B || Content2 |} |
|
Näide 2
muuda
{| class="wikitable" style="width:30em; text-align:center" !colspan="4"| Header text |- | {{vasem|Content1A}} <br/> Content1B || Content2 |} |
|
TemplateData
muudaLeft aligns elements on a page
Parameeter | Kirjeldus | Tüüp | Olek | |
---|---|---|---|---|
Content | 1 | Content to be left aligned | Sisu | valikuline |