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

Материал из MassMeta
Перейти к навигации Перейти к поиску
imported>Atlanta-Ned
(New templates for the template gods)
 
imported>Atlanta-Ned
(Whoops, spacing tweaks)
 
(не показаны 2 промежуточные версии этого же участника)
Строка 1: Строка 1:
{| width=80% style="float:top; border: 1px solid #aaa; border-left: 10px solid #F65; margin: 0 auto; display: block;"
{| cellpadding=0 cellspacing=0 width=80% style="border: 1px solid #aaa; margin: 0 auto; display: block;"
|-
|-
|width=5% rowspan=2 valign: center|[[File:Gavel.png|64px]]
| width=10px style="background: {{{Color|#F65}}};"|
|-
| valign: center; cellpadding=5; style="padding: 0 0 0 5px;" | [[File:{{{Image|Gavel.png}}}|64px]]
|<font size='3'>'''{{{Title|Important note}}}'''</font>
| valign: center; cellpadding=5; style="padding: 10px 0 10px 5px;"|<font size='3'>'''{{{Title|Important note}}}'''</font>
<font size='1'>{{{note|No note provided}}}
{{{Note|No note provided}}}
|}
|}


<noinclude>Documentation to follow</noinclude>
<noinclude>
A very simple template for important notes.
==Usage==
This invocation:
<pre>
{{Important
|Title=Check yourself
|Note=Before you wreck yourself
|Image=Pinpointer.gif
|Color=#FFC
}}
</pre>
Renders as:
{{Important
|Title=Check yourself
|Note=Before you wreck yourself
|Image=Pinpointer.gif
|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>

Текущая версия от 18:10, 30 марта 2016

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.