« Modèle:Image PX » : différence entre les versions

De Wiki The-West FR
Aller à la navigation
mAucun résumé des modifications
mAucun résumé des modifications
Ligne 1 : Ligne 1 :
<includeonly>[[Fichier:{{{3|{{{1}}}.png}}} | {{{2}}}px | {{{Libellé|{{{1}}}}}} | {{#if: {{{Libellé}}} |Alt={{{Libellé}}} | link={{{Lien|}}}}}]]</includeonly><noinclude>== Utilisation ==
<includeonly>[[Fichier:{{{3|{{{1}}}.png}}} | {{{2}}}px | {{{Libellé|{{{1}}}}}} | {{#if: {{{Libellé}}} |{{{Libellé}}} | link={{{Lien|}}}}}]]</includeonly><noinclude>== Utilisation ==
<code><nowiki>
<code><nowiki>
{{</nowiki>Image PX | '''''Image (sans png)''''' | '''''Taille''''' | '''''Image (avec extension .xxx)''''' | Libellé='''''(Libellé)''''' | Lien='''''(Lien)'''''}}</code>
{{</nowiki>Image PX | '''''Image (sans png)''''' | '''''Taille''''' | '''''Image (avec extension .xxx)''''' | Libellé='''''(Libellé)''''' | Lien='''''(Lien)'''''}}</code>

Version du 13 février 2015 à 18:43

Utilisation

{{Image PX | Image (sans png) | Taille | Image (avec extension .xxx) | Libellé=(Libellé) | Lien=(Lien)}}
Exemple:
Image => mon_image.png
Taille => juste un nb, sans px (pour pixels)
Libellé => Optionnel (par défaut, nom de l'image)
Lien => Optionnel (aucun lien par défaut)

Exemples:
{{Image PX|Cuisinier|30}} {{Image PX|Charlatan|30|Libellé=Réservé aux charlatans}}
{{{Libellé}}} Réservé aux charlatans