« Modèle:FigImage » : différence entre les versions
De Guide de l'Installation Electrique
Aucun résumé des modifications |
m (1 révision importée : importer pages, templates etc de PPR-FR (X1)) |
||
(2 versions intermédiaires par 2 utilisateurs non affichées) | |||
Ligne 1 : | Ligne 1 : | ||
<includeonly>< | <includeonly><div id="{{{1|{{{id|}}}}}}" class="img_anchor">[[File:{{{1|{{{id|}}}}}}.{{{2|{{{ext|}}}}}}|frame|none|{{FigNotes|{{{5|{{{notes|}}}}}}}}{{FigTitle|{{{3|{{{num|}}}}}}|{{{4|{{{title|}}}}}}}}]]</div>{{#if: {{{1|{{{id|}}}}}} |[[has_figure_id::{{{1|{{{id|}}}}}}| ]]}}</includeonly><noinclude> | ||
[[File:{{{1|}}}.{{{2|}}}|frame|none|{{FigNotes|{{{5|}}}}} {{FigTitle|{{{3 | |||
[[Category: | [[Category:eig-image-templates|{{PAGENAME}}]] | ||
<templatedata> | |||
{ | |||
"params": { | |||
"1": { | |||
"label": "ID", | |||
"description": "image \"id\" (file name without the file extension)", | |||
"example": "DB422001", | |||
"type": "string", | |||
"required": true, | |||
"aliases": [ | |||
"id" | |||
] | |||
}, | |||
"2": { | |||
"label": "Extension", | |||
"description": "image file extension (without the .)", | |||
"example": "svg, jpg ...", | |||
"type": "string", | |||
"required": true, | |||
"aliases": [ | |||
"ext" | |||
] | |||
}, | |||
"3": { | |||
"label": "Number", | |||
"description": "Figure number", | |||
"example": "A11, B42a ...", | |||
"type": "string", | |||
"required": true, | |||
"aliases": [ | |||
"num" | |||
] | |||
}, | |||
"4": { | |||
"label": "Title", | |||
"description": "Figure title", | |||
"example": "Application of the diversity factor (ks) to an apartment block of 5 storeys", | |||
"type": "string", | |||
"required": true, | |||
"aliases": [ | |||
"title" | |||
] | |||
}, | |||
"5": { | |||
"label": "Figure Notes", | |||
"description": "will be added after the figure, with special class and special formatting", | |||
"type": "unbalanced-wikitext", | |||
"aliases": [ | |||
"notes" | |||
] | |||
}, | |||
"6": { | |||
"label": "Optional", | |||
"example": "can be like \"600px\"", | |||
"type": "unbalanced-wikitext" | |||
} | |||
}, | |||
"description": "This template is used to integrate a vectorial or bitmap image in a wiki page, as a Figure, eg image in a frame + fignum + title + (optionally) some figure notes" | |||
} | |||
</templatedata> | |||
</noinclude> | </noinclude> |
Dernière version du 20 mai 2020 à 12:53
This template is used to integrate a vectorial or bitmap image in a wiki page, as a Figure, eg image in a frame + fignum + title + (optionally) some figure notes
Paramètre | Description | Type | État | |
---|---|---|---|---|
ID | 1 id | image "id" (file name without the file extension)
| Chaîne | obligatoire |
Extension | 2 ext | image file extension (without the .)
| Chaîne | obligatoire |
Number | 3 num | Figure number
| Chaîne | obligatoire |
Title | 4 title | Figure title
| Chaîne | obligatoire |
Figure Notes | 5 notes | will be added after the figure, with special class and special formatting | Wikicode non équilibré | facultatif |
Optional | 6 | aucune description
| Wikicode non équilibré | facultatif |