Jump to content

Template:Note: Difference between revisions

From SA Docs
No edit summary
No edit summary
Line 1: Line 1:
<onlyinclude>
<onlyinclude>
<div style="margin: 15px; position:relative;>
<div style="margin:15px">
   <div background-color: #202122; border: 1px solid #404244; position:absolute; top:50%; height:10em; margin-top:-5em;>
   {{#switch: {{{type|}}}
    {{#switch: {{{type|}}}
         |info=[[File:OOjs_UI_icon_info_big-invert.svg|40px]]
         |info=[[File:OOjs_UI_icon_info_big-invert.svg|40px]]
         |help=[[File:OOjs_UI_icon_help-ltr-progressive.svg|40px]]
         |help=[[File:OOjs_UI_icon_help-ltr-progressive.svg|40px]]
Line 10: Line 9:
         |=[[File:OOjs_UI_icon_info_big-invert.svg|40px]]
         |=[[File:OOjs_UI_icon_info_big-invert.svg|40px]]
     }} {{{text}}}
     }} {{{text}}}
  </div>
</div>
</div>
</onlyinclude>
</onlyinclude>

Revision as of 23:20, 7 October 2025

  {{{text}}}


Usage:

{{Note|text=my cool note|type=warn}}

Renders As:

  my cool note


Available types:

Info:

Help:

Warn:

Error:

Idea: