« Modèle:FigImage » : différence entre les versions

De Guide de l'Installation Electrique
Aller à :navigation, rechercher
Aucun résumé des modifications
Aucun résumé des modifications
Ligne 1 : Ligne 1 :
<includeonly><span id="{{{1}}}"></span>
<includeonly><span id="{{{1}}}"></span>
[[File:{{{1|}}}.{{{2|}}}|frame|none|{{FigNotes|{{{5|}}}}} {{FigTitle|{{{3|}}}|{{{4|}}}}} {{#if: {{{6|}}}|{{!}}{{{6}}}|}} {{#if: {{{7|}}}|{{!}}{{{7}}}|}} ]]</includeonly><noinclude>
[[File:{{{1|}}}.{{{2|}}}|frame|none|{{FigNotes|{{{5|}}}}}{{FigTitle|{{{3|}}}|{{{4|}}}}}{{#if: {{{6|}}}|{{!}}{{{6}}}|}}{{#if: {{{7|}}}|{{!}}{{{7}}}|}}]]</includeonly><noinclude>


[[Category:Utility templates|{{PAGENAME}}]]
[[Category:Utility templates|{{PAGENAME}}]]

Version du 1 juin 2016 à 14:54


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