Template:Note: Difference between revisions
Content deleted Content added
imported>FrozenPlum m Move docs to subpage since this template might stay |
imported>FrozenPlum mNo edit summary |
||
Line 1: | Line 1: | ||
<onlyinclude><includeonly>{{#if:{{{1|{{{text|}}}}}}| |
<onlyinclude><includeonly>{{#if:{{{1|{{{text|}}}}}}| |
||
{{{!}} class="{{#switch: {{{2|{{{type|info}}}}}}|info=messagebox|reminder|warn=warningbox|error=errorbox|}}" style="{{#if:{{{inline|}}}||width: |
{{{!}} class="{{#switch: {{{2|{{{type|info}}}}}}|info=messagebox|reminder|warn=warningbox|error=errorbox|}}" style="{{#if:{{{inline|}}}||width:auto;}} padding:5px 25px 5px 5px; margin:0.5em 0; overflow:hidden;"> |
||
{{!}}- |
{{!}}- |
||
{{!}}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]]|}} |
{{!}}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]]|}} |
Revision as of 03:53, 3 April 2022
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.