Jump to content

Template:Note: Difference between revisions

From Resco's Wiki
No edit summary
Line 16: Line 16:


== CODE ==
== CODE ==
</noinclude>{| style="height: 45px; padding-left: 5px; padding-right: 8px; border-top:5px solid white; border-bottom:5px solid white; border-left:5px solid {{#switch: {{{2|Note}}} |Warning=red |Success=green | RoyalBlue}}; background-color: {{#switch: {{{2|Note}}} |Warning=lightpink |Success=lightgreen | LightCyan}}; "
</noinclude>{| style="height: 45px; padding-left: 5px; padding-right: 8px; border-top:5px solid white; border-bottom:5px solid white; border-left:5px solid {{#switch: {{{2|Note}}} |Warning=red |Success=green |N/A=lightgrey| RoyalBlue}}; background-color: {{#switch: {{{2|Note}}} |Warning=lightpink |Success=lightgreen |N/A=lightgrey| LightCyan}}; "
|-  
|-  
| style="width: 70px;" | <span style="font-weight: bold;">{{{2|Note}}}</span>  
| style="width: 70px;" | <span style="font-weight: bold;">{{{2|Note}}}</span>  
| {{{1|This is the default note.}}}
| {{{1|This is the default note.}}}
|}
|}

Revision as of 09:29, 10 February 2022

USAGE

{{Note| ''text'' | ''type''}}

  • text is the text of the note
  • type is type: Warning, Success, Note (default)
See also Template:Bulb.

EXAMPLES

Note This is the default note.
Success Good job! Use {{Note|Good job!|Success}} to create similar notes.
Warning This is really important. Also, it shows how it wraps. Lorem ipsum dolor sit amet, consectetur adipiscing elit. Morbi placerat lectus non odio consequat blandit. Nullam auctor iaculis nisl, ut elementum nulla viverra vestibulum. Nunc maximus lectus quis metus eleifend cursus. Aenean nec bibendum elit. Praesent a orci scelerisque, accumsan lectus eu, feugiat ante. Morbi imperdiet ipsum a felis mollis, sed venenatis neque blandit. Morbi non egestas nisl. In hac habitasse platea dictumst. Nam et magna mi.

CATEGORIZATION

This template belongs to Category:Templates.

CODE

Note This is the default note.