Template:Umbox/doc

From IoTWiki
< Template:Umbox
Revision as of 20:06, 16 November 2017 by Angad (talk | contribs) (1 revision imported)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

{{#ifeq:doc |doc

    | 

{{#ifeq:show |show

         | {{#invoke:Message box|mbox}}
        }}{{#if: |
         |   {{#ifexist:Template:Umbox
                  | [[Category:{{#switch:Template |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

{{#invoke:Message box|ombox}}

{{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