Difference between revisions of "Template:Note"

From Synfig Studio :: Documentation
Jump to: navigation, search
(dynamic width)
(Pdf Export fixes)
 
(3 intermediate revisions by the same user not shown)
Line 1: Line 1:
<includeonly>{|style="width:70%; margin-top:5px; margin-bottom:5px; margin-left:auto; margin-right:auto; border:1px solid #aaa;"
+
<includeonly><table class="note" style="width:70%; margin-top:5px; margin-bottom:5px; margin-left:auto; margin-right:auto; border:1px solid #aaa;">
|-
+
<tr>
|<div style="text-align:center; font-weight:bold; border:1px solid #aaa; padding:2px; margin:1px; background:#EEF3E2;">{{{1|Nota}}}</div>
+
<td>
 +
<p style="text-align:center; font-weight:bold; border:1px solid #aaa; padding:2px; margin:1px; background:#EEF3E2;">{{{1}}}</p>
 
<div style="padding:2px; margin:2px;">{{{2}}}</div>
 
<div style="padding:2px; margin:2px;">{{{2}}}</div>
|}</includeonly>
+
</table><div style="display:none;">note end</div></includeonly>
 
<noinclude>
 
<noinclude>
 
This template gives a box of fixed width.<br>
 
This template gives a box of fixed width.<br>

Latest revision as of 12:08, 14 June 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