Jump to content

Template:Note: Difference between revisions

Leonie (talk | contribs)
m added missing closing tag
Leonie (talk | contribs)
test with #switch
Line 1: Line 1:
<onlyinclude>
<div style="background-color: #D0E1E6; border-left: 6px solid #0c91bd; padding: 3px">
<p><strong>
{{#switch: {{{type}}}
| warn = Warning!
| info = Info!
| #default = Note!
}}
</strong> {{{text|Some text...}}} </p>
</div>
</onlyinclude>
----
{{#switch: {{{type}}}
| warn
| info
| #default = note
}}
<div style="background-color: #D0E1E6; border-left: 6px solid #0c91bd; padding: 3px">
<div style="background-color: #D0E1E6; border-left: 6px solid #0c91bd; padding: 3px">
<p><strong>Note!</strong> {{{text|Some text...}}} </p>
<p><strong>Note!</strong> {{{text|Some text...}}} </p>
</div>
</div>

Revision as of 13:14, 28 November 2023


{{#switch: {{{type}}} | warn = Warning! | info = Info! | #default = Note! }} Some text...



{{#switch: {{{type}}} | warn | info | #default = note }}

Note! Some text...