Template:FigImage

From Electrical Installation Guide
Revision as of 15:37, 17 January 2017 by LMischler (talk | contribs) ((minor modification of the description - no impact on actual template usage - to test that I can save templates))


Description

This template is used to integrate a vectorial or bitmap image in a wiki page, when this image/photo corresponds to a Figure (result = the image will be integrated in a "frame")

Syntax:

{{ FigImage | <1=fig-ID> | <2=fig-extension> | <3=fig-num> | <4=fig-title> | <5=fig-notes> | <optional other parameters> }}

Where:

<fig-ID>         is like:   DB422001   (= image file name, without the file extension)
<fig-extension>  is like:   svg, jpg ...
<fig-title>      is like:   Application of the diversity factor (ks) to an apartment block of 5 storeys
<fig-num>        is like:   A11, B42a ...
<fig-notes>      will be added after the figure, with special class and special formatting
<optional other parameters>  can be like "600px" ...
  • in this version, <fig-num> (like A11) HAS TO BE PROVIDED
  • Nota:
<fig-title> normally should not include any formatting, unless it is required, like to add a link inside the title
title example:  Circuit-breaker type '''[http://www.xxxxxxx Masterpact]''' from Schneider-Electric