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

Материал из Fluffy Frontier
imported>Atlanta-Ned
(Whoops, spacing tweaks)
 
Нет описания правки
 
(не показана 1 промежуточная версия 1 участника)
Строка 8: Строка 8:


<noinclude>
<noinclude>
A very simple template for important notes.
Шаблон для простановки сообщений.
==Usage==
 
This invocation:  
== Использование ==
Код:  
<pre>
<pre>
{{Important
{{Important
Строка 19: Строка 20:
}}
}}
</pre>
</pre>
Renders as:
Итог:
{{Important
{{Important
|Title=Check yourself
|Title=Check yourself
Строка 27: Строка 28:
}}
}}


Or with some longer text...  
Ещё пример...  
<pre>
<pre>
{{Important
{{Important
Строка 38: Строка 39:
}}
}}
</pre>
</pre>
Renders as:
Итог:
{{Important
{{Important
|Title=AI! State your laws!  
|Title=AI! State your laws!  
Строка 48: Строка 49:
}}
}}


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

Текущая версия от 11:41, 9 августа 2022

Gavel.png Important note

No note provided


Шаблон для простановки сообщений.

Использование

Код:

{{Important
|Title=Check yourself
|Note=Before you wreck yourself
|Image=Pinpointer.gif
|Color=#FFC
}}

Итог:

Pinpointer.gif Check yourself

Before you wreck yourself


Ещё пример...

{{Important
|Title=AI! State your laws! 
|Note=You may not injure a human being or, through inaction, allow a human being to come to harm.
You must obey orders given to you by human beings, except where such orders would conflict with the First Law.
You must protect your own existence as long as such does not conflict with the First or Second Law.
|Image=Malf.gif
|Color=cyan
}}

Итог:

Malf AI.gif AI! State your laws!
  1. You may not injure a human being or, through inaction, allow a human being to come to harm.
  2. You must obey orders given to you by human beings, except where such orders would conflict with the First Law.
  3. You must protect your own existence as long as such does not conflict with the First or Second Law.