This template is used for linking external pictures while adding captions and adjusting formats
Usage
{{External image|add=|title=|cap=|align=|w=px|h=px}}
{{External image|add=|cap=|align=|w=px}}
{{External image
|add=
|title=
|cap=
|align=
|w=px
|h=px
}}
Parameters
This template contains 5 parameters:
- add The address of the picture, replaced by text if it isn't available. The text defaults to An editor forgot to add the address here. Let's hit him. Mandatory.
- title The infobox that appears when the mouse hovers over the picture. "<" is prohibited. Optional.
- cap Caption below the picture. Defaults to No captions.Optional.
- align How the picture aligns in the page. Either left or right. Defaults to right.
- w Width of the image. Uses the original width if left blank. If not accompanying h then the image is scaled accordingly.
- h Height of the image. Uses the original height if left blank. If not accompanying w then the image is scaled accordingly.
If parameter w of the image is specified, the template will be limited to the width of the image, causing excess text to automatically start in a new line.Refer to Example 3 below. But using long lines of consecutive Latin characters will render the limit invalid, such as when using a long weblink.
If it is not wished to have the text automatically start in a new line, please scale the picture with the h parameter.
Examples
- 1 Basic usage
- {{External image|add=https://i.imgur.com/BrLU94q.png}}
- 2 Stretching
- {{External image|add=https://i.imgur.com/BrLU94q.png|cap=喵喵喵喵|w=30px|h=150px}}
Invalid src attribute. |
喵喵喵喵 |
- 3{{External image|add=https://i.imgur.com/BrLU94q.png|cap=喵喵喵喵|align=left|w=30px}}
Invalid src attribute. |
喵喵喵喵 |
- 4{{External image|add=https://i.imgur.com/BrLU94q.png|cap=喵喵喵喵|align=left|h=33px}}
Invalid src attribute. |
喵喵喵喵喵喵 |