Template:Notice/doc: Difference between revisions

Content added Content deleted
(→‎Adding shortcuts or images: fixes to explanation - removed unnecessary syntax)
Line 116: Line 116:


<pre>
<pre>
{{notice|Include text here.|imageright = {{{imageright| TEMPLATE OR IMAGE }}} }}
{{notice|Include text here.|imageright = TEMPLATE OR IMAGE }}
</pre>
</pre>


For example, the following has the {{Tl|Shortcut}} template included into it, with a link to [[You]] and [[Me]]:
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>
<nowiki>{{notice|Include text here.|imageright =</nowiki> {{Tlx|Shortcut|You|Me}} <nowiki>}}</nowiki>


Which renders like this:
Which renders like this:


{{notice|Include text here.|imageright = {{{imageright| {{Shortcut|You|Me}} }}} }}
{{notice|Include text here.|imageright = {{Shortcut|You|Me}} }}


== See also ==
== See also ==