Шаблон:Ограничено: различия между версиями
Перейти к навигации
Перейти к поиску
Ohar (обсуждение | вклад) (Поменял картинки на барьеры) |
Gevron (обсуждение | вклад) Нет описания правки |
||
(не показано 10 промежуточных версий 3 участников) | |||
Строка 2: | Строка 2: | ||
<div> | <div> | ||
<div style="width: 23%; float: left; height: 40px; background: repeating-linear-gradient(-45deg, #{{ColorPalette|Security|Primary}}, #{{ColorPalette|Security|Primary}} 10px, #333333 10px, #333333 20px); border-radius: 10px 0px 0px {{#if: {{{1| }}} | 0 | 10px }};"></div> | <div style="width: 23%; float: left; height: 40px; background: repeating-linear-gradient(-45deg, #{{ColorPalette|Security|Primary}}, #{{ColorPalette|Security|Primary}} 10px, #333333 10px, #333333 20px); border-radius: 10px 0px 0px {{#if: {{{1| }}} | 0 | 10px }};"></div> | ||
<div style="width: 54%; display:flex; justify-content:center; flex-direction:column; float: left; height: 60px; background-color: #333333; border-radius: 0px 0px 15px 15px; text-align: center;"><div style="position: relative; display:flex; justify-content:space-around; align-items:center; font-size: 1.0vw; color: white;">[[Файл:Deployable barrier.png|48px]] Контент этой страницы сейчас недоступен в игре [[Файл:Deployable barrier.png|48px]]</div></div> | <div style="width: 54%; display:flex; justify-content:center; flex-direction:column; float: left; height: 60px; background-color: #333333; border-radius: 0px 0px 15px 15px; text-align: center;"><div style="position: relative; display:flex; justify-content:space-around; align-items:center; font-size: 1.0vw; color: white;">[[Файл:Deployable barrier.png|48px]] Контент этой страницы сейчас ограничен или недоступен в игре [[Файл:Deployable barrier.png|48px]]</div></div> | ||
<div style="width: 23%; float: left; height: 40px; background: repeating-linear-gradient( 45deg, #{{ColorPalette|Security|Primary}}, #{{ColorPalette|Security|Primary}} 10px, #333333 10px, #333333 20px); border-radius: 0px 10px {{#if: {{{1| }}} | 0 | 10px }} 0px;"></div> | <div style="width: 23%; float: left; height: 40px; background: repeating-linear-gradient( 45deg, #{{ColorPalette|Security|Primary}}, #{{ColorPalette|Security|Primary}} 10px, #333333 10px, #333333 20px); border-radius: 0px 10px {{#if: {{{1| }}} | 0 | 10px }} 0px;"></div> | ||
</div> | </div> | ||
{{#if: {{{1| }}} | <center><div style="width: 100%; margin: 12px 0;">'''{{{1| }}}'''</div></center> | }} | {{#if: {{{1| }}} | <center><div style="width: 100%; margin: 12px 0;">'''{{{1| }}}'''</div></center> | }} | ||
</div><noinclude> | </div><includeonly>{{#if: {{{некат|}}}||[[Категория:Ограничено_или_недоступно]]}}</includeonly><noinclude> | ||
==Использование== | ==Использование== | ||
Чтобы добавить этот шаблон на необходимую страницу, просто скопируйте код ниже, вставьте его в самое начало страницы | Чтобы добавить этот шаблон на необходимую страницу, просто скопируйте код ниже, вставьте его в самое начало страницы | ||
===С причиной=== | ===С причиной=== | ||
{| style="background-color:#EEEEEE" | {| style="background-color:#EEEEEE" | ||
| <code><nowiki>{{ | | <code><nowiki>{{Ограничено|Пока что в разработке}}</nowiki></code> | ||
|} | |} | ||
Это даст такой результат: | Это даст такой результат: | ||
{{ | {{Ограничено|Пока что в разработке}} | ||
===Без причины=== | ===Без причины=== | ||
{| style="background-color:#EEEEEE" | {| style="background-color:#EEEEEE" | ||
| <code><nowiki>{{ | | <code><nowiki>{{Ограничено}}</nowiki></code> | ||
|} | |} | ||
Это даст такой результат: | Это даст такой результат: | ||
{{ | {{Ограничено}} | ||
</noinclude> | </noinclude> |
Текущая версия от 20:35, 24 октября 2023
Использование
Чтобы добавить этот шаблон на необходимую страницу, просто скопируйте код ниже, вставьте его в самое начало страницы
С причиной
{{Ограничено|Пока что в разработке}}
|
Это даст такой результат:
Без причины
{{Ограничено}}
|
Это даст такой результат: