Difference between revisions of "Template:Note"

From Freepascal Amiga wiki
Jump to navigation Jump to search
(Attempt to add a notebox, honestly ripped from FPC official wiki)
 
m (Oops, in my enthusiasm i forgot to copy the actual literal "Note:" part)
 
Line 1: Line 1:
 
<onlyinclude><includeonly><div id="shbox" style="border-width:1px; border-color:lightgrey; padding: 8px 5px 2px 10px; min-height:34px; border-style:solid; width=500px; display: block; margin-top:20px;">
 
<onlyinclude><includeonly><div id="shbox" style="border-width:1px; border-color:lightgrey; padding: 8px 5px 2px 10px; min-height:34px; border-style:solid; width=500px; display: block; margin-top:20px;">
 
[[File:Note-icon.png|left|18px|24px]]
 
[[File:Note-icon.png|left|18px|24px]]
<p style="margin-top:0px; margin-left: 24px;">{{{1}}}</p></div></includeonly></onlyinclude>
+
<p style="margin-top:0px; margin-left: 24px;">'''Note: '''{{{1}}}</p></div></includeonly></onlyinclude>
 
<noinclude>
 
<noinclude>
 
This template generates a hint box.
 
This template generates a hint box.

Latest revision as of 19:48, 5 July 2015


This template generates a hint box.

Include this text into the articel to use this template

{{Note|Your note text}}

It will result in

Note-icon.png

Note: Your note text

The template is language aware: this means the text "Note" will be translated to the language of the page which includes the template. If it isn't translated, please add the translation.