Difference between revisions of "Template:Note"

From Synfig Studio :: Documentation
Jump to: navigation, search
(Copied template from http://wiki.blender.org/index.php?title=Template:Note)
 
(better color for title)
Line 1: Line 1:
 
<includeonly>{|style="width:400px; margin-top:5px; margin-bottom:5px; margin-left:auto; margin-right:auto; border:1px solid #aaa;"
 
<includeonly>{|style="width:400px; margin-top:5px; margin-bottom:5px; margin-left:auto; margin-right:auto; border:1px solid #aaa;"
 
|-
 
|-
|<div style="text-align:center; font-weight:bold; border:1px solid #aaa; padding:2px; margin:1px; background:#777;">{{{1|Nota}}}</div>
+
|<div style="text-align:center; font-weight:bold; border:1px solid #aaa; padding:2px; margin:1px; background:#EEF3E2;">{{{1|Nota}}}</div>
 
<div style="padding:2px; margin:2px;">{{{2}}}</div>
 
<div style="padding:2px; margin:2px;">{{{2}}}</div>
 
|}</includeonly>
 
|}</includeonly>

Revision as of 15:06, 19 April 2010


This template gives a box of fixed width.

{{Note|Note title|Short note text}}

gives

Note title

Short note text
note end


while

{{Note|Note title|Suspendisse sodales leo at dolor mollis sagittis. In tempor venenatis tellus sed tincidunt.}}

gives

Note title

Suspendisse sodales leo at dolor mollis sagittis. In tempor venenatis tellus sed tincidunt.
note end


See also Template:NiceTip