Vorlage:FigImage: Unterschied zwischen den Versionen
Aus Planungskompendium Energieverteilung
K (1 Version: copied from EN wiki) |
(removed change of line between <span> and image) |
||
Zeile 1: | Zeile 1: | ||
<includeonly><span id="{{{1}}}" class="img_anchor"></span> | <includeonly><span id="{{{1}}}" class="img_anchor"></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 vom 4. September 2017, 13:29 Uhr
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