Шаблон:Columns — различия между версиями

Материал из Мегапедии
Перейти к: навигация, поиск
Строка 1: Строка 1:
<div style="{{#if:{{{3|}}}|{{#if:{{{2}}}|column-width:{{{2}}}|{{#if:{{{1}}}|column-count:{{{1}}}|column-width:30em}}}}|{{#if:{{{2|}}}|{{#if:{{{1}}}|column-count:{{{1}}}|column-width:30em}}|column-count:3}}}}">
+
<div
{{#if:{{{3|}}}|{{{3}}}|{{#if:{{{2|}}}|{{{2}}}|{{{1}}}}}}}
+
 
</div>
+
style
 +
 
 +
=
 +
 
 +
"
 +
 
 +
columns:
 +
 
 +
{{
 +
 
 +
#if:
 +
 
 +
{{{3|}}}
 +
 
 +
|
 +
 
 +
{{
 +
 
 +
#if:
 +
 
 +
{{{2}}}
 +
 
 +
|
 +
 
 +
column-width:{{{2}}}
 +
 
 +
|
 +
 
 +
{{
 +
 
 +
#if:
 +
 
 +
{{{1}}}
 +
 
 +
|
 +
 
 +
column-count:{{{1}}}
 +
 
 +
|
 +
 
 +
column-width:30em
 +
 
 +
}}
 +
 
 +
}}
 +
 
 +
|
 +
 
 +
{{
 +
 
 +
#if:
 +
 
 +
{{{2|}}}
 +
 
 +
|
 +
 
 +
{{
 +
 
 +
#if:
 +
 
 +
{{{1}}}
 +
 
 +
|
 +
 
 +
column-count:{{{1}}}
 +
 
 +
|
 +
 
 +
column-width:30em
 +
 
 +
}}
 +
 
 +
|
 +
 
 +
column-count:3
 +
 
 +
}}
 +
 
 +
}}
 +
 
 +
"
 +
 
 +
>{{
 +
 
 +
#if:
 +
 
 +
{{{3|}}}
 +
 
 +
|
 +
 
 +
{{{3}}}
 +
 
 +
|
 +
 
 +
{{
 +
 
 +
#if:
 +
 
 +
{{{2|}}}
 +
 
 +
|
 +
 
 +
{{{2}}}
 +
 
 +
|
 +
 
 +
{{{1}}}
 +
 
 +
}}
 +
 
 +
}}</div>

Версия 21:56, 3 августа 2022

{{{1}}}