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

imported>Atlanta-Ned
(Updated to be prettier. Now with more variables!)
imported>Atlanta-Ned
(Whoops, spacing tweaks)
Строка 2: Строка 2:
|-
|-
| width=10px style="background: {{{Color|#F65}}};"|
| width=10px style="background: {{{Color|#F65}}};"|
| valign: center; style="padding: 0 0 0 5px;" | [[File:{{{Image|Gavel.png}}}|64px]]
| valign: center; cellpadding=5; style="padding: 0 0 0 5px;" | [[File:{{{Image|Gavel.png}}}|64px]]
| valign: center; style="padding: 0 0 0 5px;"|<font size='3'>'''{{{Title|Important note}}}'''</font>
| valign: center; cellpadding=5; style="padding: 10px 0 10px 5px;"|<font size='3'>'''{{{Title|Important note}}}'''</font>
{{{Note|No note provided}}}
{{{Note|No note provided}}}
|}
|}
Строка 26: Строка 26:
|Color=#FFC
|Color=#FFC
}}
}}
Or with some longer text...
<pre>
{{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
}}
</pre>
Renders as:
{{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.<br>
# You must obey orders given to you by human beings, except where such orders would conflict with the First Law.<br>
# You must protect your own existence as long as such does not conflict with the First or Second Law.
|Image=Malf_AI.gif
|Color=cyan
}}
[[Category:Templates]]
</noinclude>
</noinclude>

Версия от 15:10, 30 марта 2016

Gavel.png Important note

No note provided


A very simple template for important notes.

Usage

This invocation:

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

Renders as:

Pinpointer.gif Check yourself

Before you wreck yourself


Or with some longer text...

{{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
}}

Renders as:

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.