Шаблон:Ограничено: различия между версиями
|  # long gone | Aylong (обсуждение | вклад) Нет описания правки | ||
| Строка 1: | Строка 1: | ||
| <div style="width: 100%; display:flex; flex-direction:column; {{#if: {{{1| }}} | background-color: {{ColorPalette|Security| | <div style="width: 100%; display:flex; flex-direction:column; {{#if: {{{1| }}} | background-color: {{ColorPalette|Security|Light}}; | }} border-radius: var(--border-radius-large); margin: 1em 0;"> | ||
| <div> | <div> | ||
| 	<div style="width: 23%; float: left; height: 40px; background: repeating-linear-gradient(-45deg, {{ColorPalette|Security| | 	<div style="width: 23%; float: left; height: 40px; background: repeating-linear-gradient(-45deg, {{ColorPalette|Security|Secondary}}, {{ColorPalette|Security|Secondary}} 10px, {{ColorPalette|Black|Secondary}} 10px, {{ColorPalette|Black|Secondary}} 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:  | 	<div style="width: 54%; display:flex; justify-content:center; flex-direction:column; float: left; height: 60px; background-color: {{ColorPalette|Black|Primary}}; border-radius: 0px 0px var(--border-radius-large) var(--border-radius-large); 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| | 	<div style="width: 23%; float: left; height: 40px; background: repeating-linear-gradient( 45deg, {{ColorPalette|Security|Secondary}}, {{ColorPalette|Security|Secondary}} 10px, {{ColorPalette|Black|Secondary}} 10px, {{ColorPalette|Black|Secondary}} 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> | }} | ||
| Строка 12: | Строка 12: | ||
| Чтобы добавить этот шаблон на необходимую страницу, просто скопируйте код ниже, вставьте его в самое начало страницы | Чтобы добавить этот шаблон на необходимую страницу, просто скопируйте код ниже, вставьте его в самое начало страницы | ||
| ===С причиной=== | ===С причиной=== | ||
| {|  | {|   | ||
| | <code><nowiki>{{Ограничено|Пока что в разработке}}</nowiki></code> | | <code><nowiki>{{Ограничено|Пока что в разработке}}</nowiki></code> | ||
| |} | |} | ||
| Строка 18: | Строка 18: | ||
| {{Ограничено|Пока что в разработке}} | {{Ограничено|Пока что в разработке}} | ||
| ===Без причины=== | ===Без причины=== | ||
| {|  | {|   | ||
| | <code><nowiki>{{Ограничено}}</nowiki></code> | | <code><nowiki>{{Ограничено}}</nowiki></code> | ||
| |} | |} | ||
Версия от 23:40, 30 мая 2024
Использование
Чтобы добавить этот шаблон на необходимую страницу, просто скопируйте код ниже, вставьте его в самое начало страницы
С причиной
| {{Ограничено|Пока что в разработке}} | 
Это даст такой результат:
Без причины
| {{Ограничено}} | 
Это даст такой результат:
 
	