Difference between revisions of "Template:NiceTip"

From POV-Wiki
Jump to navigation Jump to search
(first try at a template)
 
m
Line 1: Line 1:
 
<includeonly><table class="NiceTip">
 
<includeonly><table class="NiceTip">
 
<tr>
 
<tr>
<td>[[Image:BlightBulb.gif|left]]</td><td>'''{{{1}}}'''</td>  
+
<td>[[Image:BlightBulb.png|left]]</td><td>'''{{{1}}}'''</td>  
 
</tr>
 
</tr>
 
<tr>
 
<tr>

Revision as of 13:22, 18 September 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