Jump to content

Template:Notice: Difference between revisions

From GLOBULA
+ категория
Translation
Line 1: Line 1:
<noinclude>
<noinclude>
== Документация ==
== Documentation ==
Шаблон для создания цветных уведомлений в статьях.
A template for creating colored notices in articles.


=== Синтаксис ===
=== Syntax ===
<pre>
<pre>
{{Уведомление
{{Notice
| текст = Ваш текст
| text = Your text
| фон = #цвет (необязательно)
| background = #color (optional)
| рамка = #цвет (необязательно)
| border = #color (optional)
}}
}}
</pre>
</pre>


=== Примеры ===
=== Examples ===
{{#tag:div|
{{#tag:div|
{{Уведомление|текст=⚠️Статья требует проверки!⚠️|фон=#fff3cd|рамка=#ffeeba}}
{{Notice|text=⚠️Article requires verification!⚠️|background=#fff3cd|border=#ffeeba}}
{{Уведомление|текст=ℹ️Этой статье требуется доработка!|фон=#d4edda|рамка=#c3e6cb}}
{{Notice|text=ℹ️This article needs improvement!|background=#d4edda|border=#c3e6cb}}
{{Уведомление|текст=❌Статья к удалению!|фон=#ffdddd|рамка=#ff9999}}
{{Notice|text=❌Article marked for deletion!|background=#ffdddd|border=#ff9999}}
|style="border:1px dashed #aaa; padding:10px;"
|style="border:1px dashed #aaa; padding:10px;"
}}
}}


[[Категория:Шаблоны-уведомлений]]
[[Category:Notice Templates]]
</noinclude>
</noinclude>


<includeonly>
<includeonly>
<div style="width:100%; padding:10px; margin:15px 0; background:{{{фон|#f8f9fa}}}; border:2px solid {{{рамка|#a2a9b1}}}; text-align:center; font-weight:bold;">
<div style="width:100%; padding:10px; margin:15px 0; background:{{{background|#f8f9fa}}}; border:2px solid {{{border|#a2a9b1}}}; text-align:center; font-weight:bold;">
{{{текст|{{{1| Уведомление}}}}}}
{{{text|{{{1| Notice}}}}}}
</div>
</div>
</includeonly>
</includeonly>


[[Категория:Шаблоны]]
[[Category:Templates]]

Revision as of 12:52, 4 December 2025

Documentation

A template for creating colored notices in articles.

Syntax

{{Notice
| text = Your text
| background = #color (optional)
| border = #color (optional)
}}

Examples


⚠️Article requires verification!⚠️


ℹ️This article needs improvement!


❌Article marked for deletion!