Template:FigTitle: Difference between revisions
From Electrical Installation Guide
(copied from FR-wiki - template to standardize formatting of figure titles) |
m (Protected "Template:FigTitle" ([Edit=Allow only administrators] (indefinite) [Move=Allow only administrators] (indefinite))) |
||
(5 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
<includeonly><div class="figure-title">{{Title|prefix={{txt-fig-acronym}}|num={{{1|{{{num|}}}}}}|title={{{2|{{{title|}}}}}}}}</div></includeonly><noinclude> | |||
[[Category: | [[Category:eig-image-templates|{{PAGENAME}}]] | ||
<templatedata> | |||
{ | |||
This | "params": { | ||
"num": { | |||
"aliases": [ | |||
"1" | |||
], | |||
"label": "Figure Number", | |||
"example": "F12", | |||
"suggested": true | |||
}, | |||
"title": { | |||
"aliases": [ | |||
"2" | |||
], | |||
"label": "Figure Title", | |||
"example": "This is a figure title", | |||
"type": "string", | |||
"suggested": true | |||
} | |||
}, | |||
"description": "Template to add a FIGURE title (Fig. + figure num + title text) inside an image figure with title\n\nIt calls the template {{Title}}, adding one extra parameter = the prefix (\"Fig.\", coming from a mediawiki message) to add before the figure num" | |||
} | |||
</templatedata> | |||
</noinclude> | </noinclude> |
Latest revision as of 22:32, 22 December 2019
Template to add a FIGURE title (Fig. + figure num + title text) inside an image figure with title It calls the template {{Title}}, adding one extra parameter = the prefix ("Fig.", coming from a mediawiki message) to add before the figure num
Parameter | Description | Type | Status | |
---|---|---|---|---|
Figure Number | num 1 | no description
| Unknown | suggested |
Figure Title | title 2 | no description
| String | suggested |