Predloga:Levo

Iz Wikipedije, proste enciklopedije
Jump to navigation Jump to search
Documentation icon Dokumentacija predloge[predogled] [uredi] [zgodovina] [osveži]

Description[uredi kodo]

It is to left align elements on a page. The only parameter is the content to be aligned. See also Template:Align for more options and flexibility.

Usage[uredi kodo]

With no input arguments, it saves typing the following text (in a table):

style="text-align:left"|

With an input argument, it saves typing:

<div style="float:left;">...</div>

To use, type {{left|content}} to align contents.

Examples[uredi kodo]

Example 1[uredi kodo]

{| class="wikitable" style="width:30em; text-align:center"
!colspan="4"| Header text
|-
| {{Left}} Content1A <br/> Content1B || Content2
|}

Header text
Content1A
Content1B
Content2

Example 2[uredi kodo]

{| class="wikitable" style="width:30em; text-align:center"
!colspan="4"| Header text
|-
| {{Left|Content1A}} <br/> Content1B || Content2
|}

Header text
Content1A

Content1B
Content2

See also[uredi kodo]