Anonymous user
Template:Notice/doc: Difference between revisions
m
→Adding an image, shortcuts, etc on the righthand side: General fixes, typo(s) fixed: etc → etc. using AWB (11376)
No edit summary |
m (→Adding an image, shortcuts, etc on the righthand side: General fixes, typo(s) fixed: etc → etc. using AWB (11376)) |
||
Line 51:
===Adding an image, shortcuts, etc on the righthand side===
To add shortcuts, images, other templates, etc. to the righthand side of the template, use {{para|imageright}}. For example, <code><nowiki>{{Notice |imageright=[[File:Wiki letter w.svg|40px]] |Lorem ipsum </nowiki>''(etc)''<nowiki>}}</nowiki></code> produces:
{{Notice|style=margin-bottom:2.0em; |Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. |imageright=[[File:Wiki letter w.svg|40px]]}}
<code><nowiki>{{Notice |imageright={{Shortcuts|You|Me}} |Lorem ipsum </nowiki>''(etc)''<nowiki>}}</nowiki></code> includes the {{tl|Shortcut}}s template providing links to [[You]] and [[Me]]:
{{Notice|style=margin-bottom:2.0em; |imageright={{
====Alternate shortcut option====
|