Difference between revisions of "Template:NiceTip"

From POV-Wiki
Jump to navigation Jump to search
m
m
 
(11 intermediate revisions by the same user not shown)
Line 1: Line 1:
<includeonly><p class="Note"><table class="NiceTip">
+
<includeonly><table class="Hint" width=100%>
 
<tr>
 
<tr>
 
<td>[[Image:BlightBulb.png|left]]</td><td>'''{{{1}}}'''</td>  
 
<td>[[Image:BlightBulb.png|left]]</td><td>'''{{{1}}}'''</td>  
Line 6: Line 6:
 
<td></td><td>{{{2}}}</td>
 
<td></td><td>{{{2}}}</td>
 
</tr>
 
</tr>
</table></p></includeonly>
+
</table></includeonly>
 
<noinclude>{{Documentation}}</noinclude>
 
<noinclude>{{Documentation}}</noinclude>

Latest revision as of 08:33, 6 November 2019


This template gives a box with an icon and a title, expanding with the text width up to page-width.

{{NiceTip|Tip title|Short tip text}}

gives

BlightBulb.png
Tip title
Short tip text


while

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

gives

BlightBulb.png
Tip title
Suspendisse sodales leo at dolor mollis sagittis. In tempor venenatis tellus sed tincidunt.


See also Template:Note