Template:ExternalSVG
Jump to navigation
Jump to search
This template can be used to embed an external SVG in wiki page text.
Parameters
Parameters may be passed in any order, when specified directly.
| Parameter | Meaning | Example value | Default |
|---|---|---|---|
| src | Image source (URL) | https://content.segger.com/public/Flasher/images/svg/AT90%20ISP.svg | --- |
| width | Width of image | 300px | --- |
| height | Height of image | 300px | --- |
Example
- {{ExternalSVG|src=https://content.segger.com/public/Flasher/images/WiringPlans/AT90_ISP.svg|width=400px}}
Notes
- Only resources from a list of allowed domains will be loaded and visible on a page. Please get in touch with the IT department for further information on this.
- Due to a restriction on the file types that will be loaded for external resources, we need to add a "?.png" at the end of the resource URL to trick MediaWiki into displaying the SVG.
Implementation
[{{{src}}} {{{src}}}?.png]
