Template:FigNotes: Difference between revisions

From Electrical Installation Guide
m (1 revision: copied from FR PROD (after changing Modèle: to Template:))
No edit summary
Line 1: Line 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>

Revision as of 08:31, 20 December 2019


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".

Template parameters

ParameterDescriptionTypeStatus
Figure notes1 fignotes

The notes to add below the figure

Unknownoptional