Template:Notes: Difference between revisions
Jump to navigation
Jump to search
Created page with "<noinclude> This is the "Notes" template. It should be called in the following format: <pre> {{Notes|Warning|Body Text}} {{Notes|Tip|Body Text}} {{Notes|Body Text}} </pre> Res..." |
mNo edit summary |
||
(One intermediate revision by the same user not shown) | |||
Line 3: | Line 3: | ||
It should be called in the following format: | It should be called in the following format: | ||
<pre> | <pre> | ||
{{Notes| | {{Notes|Varning|Body Text}} | ||
{{Notes| | {{Notes|Tips|Body Text}} | ||
{{Notes|Body Text}} | {{Notes|Body Text}} | ||
</pre> | </pre> | ||
Result: | Result: | ||
{{Notes| | {{Notes|Varning|Body Text}} | ||
{{Notes| | {{Notes|Tips|Body Text}} | ||
{{Notes|Body Text}} | {{Notes|Body Text}} | ||
Line 16: | Line 16: | ||
</noinclude><includeonly> | </noinclude><includeonly> | ||
<div style="min-height: 85px;"> | <div style="min-height: 85px;"> | ||
{{#ifeq: {{{1|}}} | | {{#ifeq: {{{1|}}} | Varning | | ||
<div style="background-color: #fdd; | <div style="background-color: #fdd; | ||
margin: auto; | margin: auto; | ||
Line 34: | Line 34: | ||
">[[File:Warning.svg|60px|left]]| | ">[[File:Warning.svg|60px|left]]| | ||
}}<nowiki/> | }}<nowiki/> | ||
{{#ifeq: {{{1|}}} | | {{#ifeq: {{{1|}}} | Tips | | ||
<div style=" | <div style=" | ||
background-color: #dfd; | background-color: #dfd; | ||
Line 70: | Line 70: | ||
border-radius: 20px; | border-radius: 20px; | ||
font-weight:bold; | font-weight:bold; | ||
">[[File:note.svg|60px|left]] | ">[[File:note.svg|60px|left]]Notering: {{{1}}}}}<nowiki/> | ||
</div> | </div> | ||
</div> | </div> | ||
</includeonly> | </includeonly> |