Difference between revisions of "Template:Note"

From Lazarus wiki
(Created page with "<div id="shbox" style="border-width:1px; border-color:lightgrey; padding: 2px 5px 2px 10px; min-height:56px; border-style:solid; font-size: 0.9em; width=500px; display: block;...")
 
m (Undo revision 146337 by Slawek (talk))
(Tag: Undo)
 
(18 intermediate revisions by 8 users not shown)
Line 1: Line 1:
<div id="shbox" style="border-width:1px; border-color:lightgrey; padding: 2px 5px 2px 10px; min-height:56px; border-style:solid; font-size: 0.9em; width=500px; display: block; margin-top:20px">
+
<onlyinclude><includeonly><div id="shbox" style="border-width:1px; border-color:lightgrey; background-color:#eeeef6; padding: 8px 5px 2px 10px; min-height:34px; border-style:solid; width=500px; display: block; margin-top:20px; font-size:90%;">
[[Image:Icon-note.png|left|56px|56px]]
+
[[Image:Note-icon.png|left|18px|24px]]
 +
<p style="margin-top:0px; margin-left: 24px;">'''{{ #switch:{{#titleparts:{{PAGENAME}}| | -1}}
 +
| de= Hinweis
 +
| en= Note
 +
| es= Nota
 +
| cs= Poznámka
 +
| fi= Huomaa
 +
| fr= Remarque
 +
| pl= Uwaga
 +
| pt= Nota
 +
| ru= Примечание
 +
| Note
 +
}}:''' {{{1}}}</p></div></includeonly></onlyinclude><noinclude>
 +
This template generates a hint box.
  
<p style="margin-top:10px; margin-left: 56px;"><b>Note:</b> {{{1}}}</p></div>
+
Include this text into the articel to use this template
<br style="clear:both" />
+
<pre>{{Note|Your note text}}</pre>
 +
It will result in{{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.
 +
 
 +
[[Category:Language aware Templates]]

Latest revision as of 20:09, 10 August 2021

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.