« Modèle:Produit INV » : différence entre les versions

De Wiki The-West FR
Aller à la navigation
(Page créée avec « <includeonly><div style="position:relative; width:60px; text-align:center;">60px|link={{{4|}}} <div style="position:absolute; left:4px; to... »)
 
Aucun résumé des modifications
Ligne 1 : Ligne 1 :
<includeonly><div style="position:relative; width:60px; text-align:center;">[[Fichier:Produit_Fond_Inv.png|60px|link={{{4|}}}]]
<includeonly><div style="position:relative; width:60px; text-align:center;">[[Fichier:Produit_Fond_Inv.png|60px|link={{{4|}}}]]
<div style="position:absolute; left:4px; top:5px; text-align:center;">[[Fichier:{{{1}}}|55px|{{{3|}}}]]</div>
<div style="position:absolute; left:4px; top:5px; text-align:center;">[[Fichier:{{{3|{{{1}}}.png}}}|55px|{{{1|}}}]]</div>
<div style="position:absolute; left:1px; top:1px; text-align:center;">[[Fichier:Produit_Inv.png|30px|link={{{4|}}}]]</div>
<div style="position:absolute; left:1px; top:1px; text-align:center;">[[Fichier:Produit_Inv.png|30px|link={{{4|}}}]]</div>
<div style="position:absolute; left:21px; top:50px; color:black; font-size:13px; font-weight:bold; line-height:20px; text-align:center;">{{{2|1}}}</div></div><div style="clear:both"></div></includeonly><noinclude>
<div style="position:absolute; left:21px; top:50px; color:black; font-size:13px; font-weight:bold; line-height:20px; text-align:center;">{{{2|1}}}</div></div><div style="clear:both"></div></includeonly><noinclude>

Version du 28 mars 2014 à 15:24

Utilisation

{{Produit INV|Libellé_Produit|Qté_Produit]|Image_Produit (Optionnel)|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 INV|Menottes|8}}
Produit Fond Inv.png
Menottes
Produit Inv.png
8


  • {{Produit INV|Menottes en plastiques|1|Menottes.png}}
Produit Fond Inv.png
Abot noir
Produit Inv.png
1