Difference between revisions of "Template:NiceTip"

From POV-Wiki
Jump to navigation Jump to search
m
m
Line 3: Line 3:
 
<td>[[Image:BlightBulb.png|left]]</td><td><p class="Note">'''{{{1}}}'''</p></td>  
 
<td>[[Image:BlightBulb.png|left]]</td><td><p class="Note">'''{{{1}}}'''</p></td>  
 
</tr>
 
</tr>
<tr>
+
<p class="Note"><tr>
<td><p class="Note"></p></td><td><p class="Note">{{{2}}}</p></td>
+
<td></td><td><p class="Note">{{{2}}}</p></td>
 
</tr>
 
</tr>
 
</table></includeonly>
 
</table></includeonly>
 
<noinclude>{{Documentation}}</noinclude>
 
<noinclude>{{Documentation}}</noinclude>

Revision as of 21:24, 23 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