Template:DYK mbox
{{DYK mbox}}
is a messaging utility template for posting messages related to Did you know 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 know.
Template {{DYK mbox}}
This template was developed for the specialized needs of Did you know.
Usage
Either the basic syntax, {{DYK mbox}}
or the shortcut, {{DYKM}}
will produce:
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:
Inserts your custom message. |
Or you could use a non printable character in place of the image {{DYKM|file= |text}}
which maintains the image's margin as if it were in place and the size of the box is maintained as shown below:
text |
The |small=
parameter switches from the 80% width, center aligned, message box to a smaller box that aligns to the right side of the line it is added to. It uses similar parameters as the main box except they begin with a small s, for example the text parameter for the small box is |1=
. Therefor the following code: {{DYKM|small=y|1=This is the small box text}}
produces the following:
This is the small box text |
Several other parameters are incorporated that modify the template's output for specialized use (examples are shown below)).
Examples
Custom messaging examples are included as expandable content.