Template:Notice/doc: Difference between revisions

added information about new "imageright" parameter
(add blackboxwarning to see also)
(added information about new "imageright" parameter)
Line 110:
{{notice|1=Following this parameter, an equal sign in an external link will be read properly.}}
</pre>
 
=== Adding shortcuts or images ===
 
To add shortcuts, images, or other templates to the right side of the image, the following syntax can be used:
 
<pre>
{{notice|Include text here.|imageright = {{{imageright| TEMPLATE OR IMAGE }}} }}
</pre>
 
For example, the following has the {{Tl|Shortcut}} template included into it, with a link to [[You]] and [[Me]]:
 
<nowiki>{{notice|Include text here.|imageright = {{{imageright|</nowiki> {{Tlx|Shortcut|You|Me}} <nowiki>}}} }}</nowiki>
 
Which would render like this:
 
{{notice|Include text here.|imageright = {{{imageright| {{Shortcut|You|Me}} }}} }}
 
== See also ==
Anonymous user