Jump to content

Template:Note: Difference between revisions

From Resco's Wiki
Line 14: Line 14:


== CODE ==
== CODE ==
</noinclude>{| style="width: 100%; height: 45px; padding-left: 5px; 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; 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}}; "
|-  
|-  
| 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 06:25, 3 September 2020

USAGE

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

  • text is the text of the note
  • type is type: Warning, Success, Note (default)

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.