Шаблон:Col-begin/doc

От УикиИслям
Направо към навигацията Направо към търсенето


Грешка при създаване на миникартинка: Липсващ файл
This is the template documentation page for Шаблон:Col-begin.
This page is not intended to be viewed directly. Links using variables may appear broken; do not replace these with hardcoded page names or URLs.

This template is a self-reference and so is part of the Wikipedia project rather than the encyclopedic content.

Usage

A border of 2px (1px width on each side) corresponds to a 5%. Therefore, with a 2px border — for example, as in Wikipedia:Tutorial (Wrap-up and more info) — the width needs to be 95% for the table to fit within the screen. Since it's possible that some tables might not have a border, correction on the individual page could be made after substitution. Another way to create a two column table is like this:

{{col-begin|width=95%}}
|-
| 
Left column
|
Right column
|}
Шаблон:Col-1-of-4Шаблон:TlШаблон:Tl Column 1 here Шаблон:Tl Column 2 here Шаблон:TlШаблон:Col-2-of-4Шаблон:TlШаблон:Tl Column 1 here Шаблон:Tl Column 2 here Шаблон:Tl Column 3 here Шаблон:TlШаблон:Col-3-of-4Шаблон:TlШаблон:Tl Column 1 here Шаблон:Tl Column 2 here Шаблон:Tl Column 3 here Шаблон:Tl Column 4 here Шаблон:TlШаблон:Col-4-of-4 and so on, up to Шаблон:Tl

Шаблон:Col-1-of-4 {{Col-begin|class=references-small}} Шаблон:Tl Column 1 here Шаблон:Tl Column 2 here Шаблон:Tl Column 3 here Шаблон:Tl Column 4 here Шаблон:Tl Column 5 here Шаблон:Tl Column 6 here Шаблон:TlШаблон:Col-2-of-4Шаблон:Tl Column 1 here Шаблон:Tl Column 2 here Шаблон:TlШаблон:Col-3-of-4 {{Columns-start|num=3}} Column 1 here Шаблон:Tl Column 2 here Шаблон:Tl Column 3 here Шаблон:TlШаблон:Col-4-of-4Шаблон:Tl Column 1 here Шаблон:Tl Column 2 here Шаблон:Tl Column 3 here Шаблон:Tl Column 4 here Шаблон:Tl


External links