Difference between revisions of "Template:Important"

From NSV13
Jump to navigationJump to search
imported>Atlanta-Ned
m (Variables, font tag)
imported>Atlanta-Ned
(Whoops, spacing tweaks)
 
(One intermediate revision by the same user not shown)
Line 1: Line 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>
 
{{{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>

Latest revision as of 09:10, 30 March 2016

Gavel.png Important note

No note provided


A very simple template for important notes.

Usage[edit source]

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.