Template:NB: Difference between revisions

From VASP Wiki
No edit summary
No edit summary
Line 2: Line 2:
Creates a box with VASP color palette.
Creates a box with VASP color palette.


USAGE: {{BOX|style|message}}
USAGE: {{BOX|style|message|firstword}}


style is one of: tip, deprecated, note, warning, important
style is one of: tip, deprecated, note, warning, important
Line 9: Line 9:
{{#switch: {{{1}}}
{{#switch: {{{1}}}
  | tip        = {{{!}} style="border: 3px solid #2FB5AB; padding: 10px; background: #F3FCFB"
  | tip        = {{{!}} style="border: 3px solid #2FB5AB; padding: 10px; background: #F3FCFB"
   {{!}} '''<span style="color: #2FB5AB;">Tip:</span>''' {{{2}}}
   {{!}} '''<span style="color: #2FB5AB;">{{4|Tip:}}</span>''' {{{2}}}
   {{!}}}
   {{!}}}
  | deprecated = {{{!}} style="border: 3px solid #808080; padding: 10px; background: #F7F7F7"
  | deprecated = {{{!}} style="border: 3px solid #808080; padding: 10px; background: #F7F7F7"

Revision as of 21:31, 7 October 2021

{{{2}}}