Template:FigImage: Difference between revisions

From Electrical Installation Guide
No edit summary
 
m (1 revision: copied from FR PROD (after changing Modèle: to Template:))
(No difference)

Revision as of 13:30, 14 November 2016


Description

This template is used to integrate a vectorial or bitmap image in a wiki page, when this image/photo corresponds to a Figure (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