Template:DYK mbox

From blackwiki
Revision as of 01:44, 17 February 2013 by imported>John Cline (ce code)
Jump to navigation Jump to search
Template documentation[view] [edit] [history] [purge]
Shortcut:

{{DYK mbox}} is a messaging utility template for posting messages related to Did you knowFile:DYK questionmark icon.svg operations. It also supports other templates, internally—to facilitate interactive ease of use, on special pages, and editing scripts, used for the administration of Did you knowFile:DYK questionmark icon.svg.

Template {{DYK mbox}}

This template was developed for the specialized needs of Did you knowFile:DYK questionmark icon.svg.

Usage

Either the basic syntax, {{DYK mbox}} or the shortcut, {{DYKM}} will produce:


{{safesubst:#switch:{{{1}}}

| user
| #default=


You can either use {{DYKM|text=Inserts your custom message.}}, or default through the unnamed parameter switch, {{DYKM|Inserts your custom message.}} to produce the following:


{{safesubst:#switch:{{{1}}}

| user
| #default=


You can use |xfile= to eliminate the image; the text floats to the left margin, and the box only grows as large as the included text; {{DYKM|xfile=true}} is shown below:


{{safesubst:#switch:text

| user
| #default=