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

De Guide de l'Installation Electrique
Aller à :navigation, rechercher
(modified)
Aucun résumé des modifications
Ligne 1 : Ligne 1 :
{{#if: {{{1|}}}|<p class="figure-notes">{{{1}}}</p>|}}<noinclude>
{{#if: {{{fignotes|{{{1|}}}}}}|<div class="figure-notes">{{{fignotes|{{{1|}}}}}}</div>|}}<noinclude>
 
[[Category:Utility templates|{{PAGENAME}}]]
 
 
== Description ==
 
This template is used to add figure notes below a table or image, and assign them proper font size and class "figure-notes"


[[Category:eig-image-templates|{{PAGENAME}}]]


<templatedata>
{
"params": {
"1": {
"aliases": [
"fignotes"
],
"label": "Figure notes",
"description": "The notes to add below the figure"
}
},
"description": "This template is called by FigImage template, and should not be used by itself. \nIt is used to add \"figure notes\" below an image in a figure (between image and figure title). \nThese notes are added as a \"div\" with class \"figure-notes\"."
}
</templatedata>
</noinclude>
</noinclude>

Version du 20 mai 2020 à 12:53


This template is called by FigImage template, and should not be used by itself. It is used to add "figure notes" below an image in a figure (between image and figure title). These notes are added as a "div" with class "figure-notes".

Paramètres du modèle

ParamètreDescriptionTypeÉtat
Figure notes1 fignotes

The notes to add below the figure

Inconnufacultatif