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

De Wiki The-West FR
Aller à la navigation
Aucun résumé des modifications
Aucun résumé des modifications
Ligne 5 : Ligne 5 :
== Utilisation ==
== Utilisation ==
<code><nowiki>
<code><nowiki>
{{</nowiki>Produit INV|'''''Libellé_produit'''''|'''''Quantité_produit]'''''|'''''Image_produit (Optionnel)'''''|'''''Lien_produit (Optionnel)'''''}}</code>
{{</nowiki>Produit INV |'''''Libellé_produit''''' |'''''Quantité_produit''''' |'''''Image_produit (Optionnel)''''' |'''''Lien_produit (Optionnel)'''''}}</code>
*"Image_produit" peut ne pas être renseigné, auquel cas le nom du fichier image est généré comme suit: "Libellé_produit.png"<br>
*"Image_produit" peut ne pas être renseigné, auquel cas le nom du fichier image est généré comme suit: "Libellé_produit.png"<br>
<code><br>'''Exemple''':<br>
<code><br>'''Exemple''':<br>

Version du 28 mars 2014 à 16:41

Utilisation

{{Produit INV |Libellé_produit |Quantité_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|Abot noir|1|Abot.png}}
Produit Fond Inv.png
Abot noir
Produit Inv.png
1