Difference between revisions of "Template:Ambox"
Jump to navigation
Jump to search
Trombonista (talk | contribs) m |
|||
Line 23: | Line 23: | ||
{{!}}{{{text}}} | {{!}}{{{text}}} | ||
{{#if:{{{imageright|}}}| <nowiki/> | {{#if:{{{imageright|}}}| <nowiki/> | ||
{{!}} class="mbox-imageright" {{{imageright}}} | {{!}} <!--class="mbox-imageright"--> {{{imageright}}} | ||
}} | }} | ||
{{!}}- | {{!}}- |
Latest revision as of 12:20, 12 October 2021
{{{text}}} |
Usage
These usage notes will not be included in articles bearing this template.
This metatemplate is used to create article message boxes.
The format for using this template is as follows:]]
The template is set up to use a default image if none is selected.
{{Ambox|text=This example message box displays the default image.}}
- Displays:
This example message box displays the default image |
Additionally, if one of the keywords in the template is used, the box will display the image set for that keyword.
{{Ambox|image=serious|text=This '''example''' message box displays the "serious" image.}}
- Displays:
This example message box displays the "serious" image |
{{Ambox|image=style|text=This '''example''' message box displays the "style" image.}}
- Displays:
This example message box displays the "style" image |
If the keyword "blank" is used, no picture is displayed.
{{Ambox|image=blank|text=This '''example''' message box displays the no image.}}
- Displays:
This example message box displays the no image |
Finally, you can enter any other image you choose. It is best to use a width of 40px.
{{Ambox|image=[[Image:SonichuOriginal.jpg|40px]]|text=This '''example''' message box features a picture of [[Sonichu]].}}
- Displays:
This example message box features a picture of Sonichu |