« Modèle:FigTitle » : différence entre les versions
De Guide de l'Installation Electrique
(added missing spaces + small correction) |
m (1 révision importée : importer pages, templates etc de PPR-FR (X1)) |
||
(6 versions intermédiaires par 2 utilisateurs non affichées) | |||
Ligne 1 : | Ligne 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> |
Dernière version du 20 mai 2020 à 12:53
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
Paramètre | Description | Type | État | |
---|---|---|---|---|
Figure Number | num 1 | aucune description
| Inconnu | suggéré |
Figure Title | title 2 | aucune description
| Chaîne | suggéré |