模板:Umbox

wikilife>Jo-Jo Eumerus2017年3月25日 (六) 20:38的版本 (Changed protection level for "Template:Umbox": Allowing template editors on some templates with full protection dating back to pre-TPROT times which aren't too often or too sensitively used. ([Edit=Require template editor access] (inde...)
(差异) ←上一版本 | 最后版本 (差异) | 下一版本→ (差异)
{{safesubst:#if:|[[File:{{{image}}}|left|40px|link=]]}}
50px Template documentation[view] [edit] [history] [purge]

{{#ifeq:umbox |doc

    | 

{{#ifeq:show |show

|
        }}{{#if: |
         |   {{#ifexist:模板:Umbox
                  | [[Category:{{#switch:模板 |Template=Template |Module=Module |User=User |#default=Wikipedia}} documentation pages]]
                  |
                 }}
        }}
    | 
   }}

This is a meta-template for use with the likes of {{Talkback}} and {{You've got mail}}.

Usage

{{Umbox
| image = image.svg
| imagelink = [[WP:SANDBOX|page that the image should link to]]
| text = This is a message.
| style = <!-- This is optional; can be used to add or modify parameters -->.
}}

See also

{{#if:{{#ifeq:Umbox|sandbox|1}}{{#ifeq:Umbox|doc|1}}|| }}