Jump to content

Template:Note: Difference between revisions

From SA Docs
No edit summary
No edit summary
 
(One intermediate revision by the same user not shown)
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>
{{Documentation|header=Template Usage|content=


Usage: <pre>{{Note|text=my cool note|type=warn}}</pre>
Usage: <pre>{{Note|text=my cool note|type=warn}}</pre>
Line 28: Line 28:


Idea: [[File:OOjs_UI_icon_bulb-progressive.svg|40px]]
Idea: [[File:OOjs_UI_icon_bulb-progressive.svg|40px]]
}}

Latest revision as of 00:43, 8 October 2025

  {{{text}}}


Template Usage

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

Renders As:

  my cool note


Available types:

Info:

Help:

Warn:

Error:

Idea: