« Modèle:Produit EQP » : différence entre les versions
Aller à la navigation
Aucun résumé des modifications |
Aucun résumé des modifications |
||
Ligne 1 : | Ligne 1 : | ||
<includeonly><div style="position:relative; width:60px;">[[Fichier:Produit_Fond.png|60px|link={{{Lien|}}}]] | <includeonly><div style="position:relative; width:60px;">[[Fichier:Produit_Fond.png|60px|link={{{Lien|}}}]] | ||
{{#ifexist:Modèle:Item {{{1|}}}|<div style="position:absolute; left:2px; top:2px;"><small>{{Item {{{1|}}}|bg=0}}</small>|<div style="position:absolute; left:4px; top:5px;">[[Fichier:{{{Img|{{{1}}}.png}}}|55px|{{{1|}}}|link=]]}}</div> | {{#ifexist:Modèle:Item {{{1|}}}|<div style="position:absolute; left:2px; top:2px;"><small>{{Item {{{1|}}}|bg=0}}</small>|<div class="prod_error" style="position:absolute; left:4px; top:5px;">[[Fichier:{{{Img|{{{1}}}.png}}}|55px|{{{1|}}}|link=]]}}</div> | ||
<div style="position:absolute; left:1px; top:1px;">[[Fichier:Produit_Eqp.png|30px|link=]]</div></div></includeonly><noinclude> | <div style="position:absolute; left:1px; top:1px;">[[Fichier:Produit_Eqp.png|30px|link=]]</div></div></includeonly><noinclude> | ||
== Utilisation == | == Utilisation == |
Version du 9 décembre 2018 à 14:01
Utilisation
{{Produit EQP |Libellé_produit |Img=Image_produit (Optionnel) |Lien=Lien_produit (Optionnel)}}
- "Image_produit" peut ne pas être renseigné, auquel cas le nom du fichier image est généré comme suit: "Libellé_produit.png"
Exemple:
{{Produit EQP|Menottes}}
{{Produit EQP|Abot noir|Img=Abot.png}}