Template:Note: Difference between revisions
Content added Content deleted
imported>FrozenPlum m (Move docs to subpage since this template might stay) |
imported>FrozenPlum (Add colors back (removed from MW)) |
||
(4 intermediate revisions by the same user not shown) | |||
Line 1:
<onlyinclude><includeonly>{{#if:{{{1|{{{text|}}}}}}|
{{{!}} class="{{#switch: {{{2|{{{type|info}}}}}}|info=messagebox|reminder|warn=warningbox|error=errorbox|}}" style="{{#if:{{{inline|}}}|| display:block; width:
{{!}}-
{{!}}style="width:25px;"{{!}}{{#switch: {{{2|{{{type|info}}}}}}|info=[[File:OOjs_UI_icon_information-progressive.svg|20px]]|reminder=[[File:OOjs_UI_icon_lightbulb-yellow.svg|20px]]|warn=[[File:OOjs_UI_icon_alert-warning.svg|20px]]|error=[[File:OOjs_UI_icon_notice-destructive.svg|20px]]|}}
|
Latest revision as of 17:35, 25 January 2023
Creates a variety of notes or notices depending on parameters set.
Usage
{{note}} Some stuff {{note|Some info}} {{note|A reminder|reminder}} {{note|Warn me|warn|inline=any value}} {{note|This causes an error|error}}
[view | edit | purge]The above documentation is transcluded from Template:Note/doc.