Template:FigNotes: Difference between revisions

From Electrical Installation Guide
(modified)
 
m (Protected "Template:FigNotes" ([Edit=Allow only administrators] (indefinite) [Move=Allow only administrators] (indefinite)))
 
(5 intermediate revisions by the same user not shown)
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>

Latest revision as of 22:32, 22 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