Template:Notice: Difference between revisions

    From Nonbinary Wiki
    (remove extra curly brace per protected edit request)
    No edit summary
     
    (13 intermediate revisions by 3 users not shown)
    Line 1: Line 1:
    {{Mbox
    <table style="margin-left: 15%; border: 2px solid {{#switch:{{{type|}}}
    | name      = Notice
    | red = #b22222
    | demospace  = {{{demospace|}}}
    | orange = #f28500
    | style      = {{#if:{{{style|}}} |{{#if:{{{small|}}}||margin:inherit auto;width:80%;}} {{{style}}} }}
    | green = #27c446
    | subst      = <includeonly>{{subst:substcheck}}</includeonly>
    | blue
    | type      = notice
    | #default = #1e90ff}}; min-height: 50px; width: 70%; border-spacing: 0px;">
    | image      = {{#if:{{{image|}}} |[[File:{{{image}}}|40px|Notice]]}}
    <tr>
    | small      = {{{small|}}}
    <td style="background: {{#switch:{{{type|}}}
    | smallimage = {{#if:{{{image|}}} |[[File:{{{image}}}|30px|Notice]]}}
    | red = #b22222
    | imageright = {{#if:{{{imageright|}}} |{{{imageright}}} |{{#if:{{{shortcut|{{{shortcut1|}}}}}} |{{Ombox/shortcut|{{{shortcut|{{{shortcut1|}}}}}}|{{{shortcut2|}}}|{{{shortcut3|}}}|{{{shortcut4|}}}|{{{shortcut5|}}}}}}} }}
    | orange = #f28500
    | textstyle = {{{textstyle|text-align: {{#if:{{{center|}}}|center|{{{align|left}}}}};}}}
    | green = #27c446
    | text      = {{#if:{{{header|{{{heading|{{{title|}}}}}}}}} |<div style="{{{headstyle|text-align: {{#if:{{{center|}}}|center|left}};}}}">'''{{{header|{{{heading|{{{title|}}}}}}}}}'''</div>}}<!--
    | blue
                -->{{{text|{{{content|{{{reason|{{{1}}}}}}}}}}}}
    | #default = #1e90ff}}; width: 50px; min-height: 45px; padding-top: 5px; padding-left: 5px; padding-bottom: 5px;"> [[File:{{#switch:{{{type|}}}
    }}<noinclude>
    | red = Caution icon - Noun Project 9556 white.svg
    {{Documentation}}
    | orange = Exclamation mark white icon.svg
    </noinclude>
    | green = Text_lines_white_icon.svg
    | blue
    | #default = VisualEditor_-_Icon_-_Advanced_-_white.svg}}|40px]]</td>
    <td style="padding-left: 10px; padding-right: 10px;">{{{text}}}</td>
    </tr>
    </table><noinclude>
    This template is used to create notice templates. Please, do not use this template directly on an article.
    [[Category:Notice templates]]</noinclude>

    Latest revision as of 13:11, 22 June 2021

    VisualEditor - Icon - Advanced - white.svg {{{text}}}

    This template is used to create notice templates. Please, do not use this template directly on an article.