Templates download/SVG: Difference between revisions

(Created page with "{{Messagebox|boxtype=Note|icon=|Note text=This template requires the extension [https://www.mediawiki.org/wiki/Extension:Widgets Widgets]. It is already bundled with BlueSpice...")
Tag: 2017 source edit
 
No edit summary
Tag: 2017 source edit
 
(2 intermediate revisions by the same user not shown)
Line 1: Line 1:
{{Messagebox|boxtype=Note|icon=|Note text=This template requires the extension [https://www.mediawiki.org/wiki/Extension:Widgets Widgets]. It is already bundled with BlueSpice pro, but not with BlueSpice free.|bgcolor=}}
{{Messagebox|boxtype=note|icon=|Note text=This template requires the extension [https://www.mediawiki.org/wiki/Extension:Widgets Widgets]. It is already bundled with BlueSpice pro, but not with BlueSpice free.|bgcolor=}}
<div class="downloadarea">
<div class="downloadarea">
<span class="getButton">[[Media:HW-svg.zip|Download]]</span>
<span class="getButton">[[Media:HW-svg.zip|Download]]</span>


[[File:svg-animated.gif|361x361px|alt=animated gif showing an interactive svg]]</div>
[[File:svg-animated.gif|361x361px|alt=animated gif showing an interactive svg]]</div>
With this template users can embed an interactive SVG on a wiki page. The SVG file has to be uploaded to the wiki first.
With this template users can embed an interactive SVG on a wiki page. The SVG file has to be uploaded to the wiki first.
==Importing the template==
==Importing the template==
Line 21: Line 22:


*Template:Svg
*Template:Svg
*Template:Svg/styles.css
*Widget:Svg
*Widget:Svg



Latest revision as of 11:19, 3 March 2022

Note:This template requires the extension Widgets. It is already bundled with BlueSpice pro, but not with BlueSpice free.

With this template users can embed an interactive SVG on a wiki page. The SVG file has to be uploaded to the wiki first.

Importing the template

The import file is included in the archive file HW-svg.zip. Unpack the zip file first.

On the page Special:Import, follow these steps:

  1. Select file and choose HW-svg.xml.
  2. Enter an interwiki prefix. Since this field is required, simply add hw (for hallowelt).
  3. Keep the selection Import to default locations.
  4. Click Upload file... .

The template is now available in your wiki.

Pages included in the import

The xml import creates the following files in your wiki:

  • Template:Svg
  • Template:Svg/styles.css
  • Widget:Svg

Using the template

  1. Select Insert > Template from the visual editor menu.
  2. Select the template Svg.
  3. Enter the file name of the SVG file. If the file is associated with a namespace, don't forget to provide the namespace prefix. (E.g.: QM:Orgchart.svg). The file needs to already exist in your wiki.
  4. Click "Save changes".
Entering the image information.
Entering the image information.





To submit feedback about this documentation, visit our community forum.