« Modèle:Fabrication/doc » : différence entre les versions
De Nefald
Autres actions
Page créée avec « Ce modèle permet d'afficher des grilles de fabrication Minecraft (2×2 ou 3×3). == Utilisation == === Grille 3×3 (par défaut) === <pre> {{Fabrication |type=3x3 |name=Nom de la recette (optionnel) |A1=item1.png |B1=item2.png |C1=item3.png |A2=item4.png |B2=item5.png |C2=item6.png |A3=item7.png |B3=item8.png |C3=item9.png |Output=resultat.png |count=4 |description=Description optionnelle }} </pre> === Grille 2×2 === <pre> {{Fabrication |type=2x2 |A1=planks_... » |
Aucun résumé des modifications |
||
Ligne 21 : | Ligne 21 : | ||
{{Fabrication | {{Fabrication | ||
|type=2x2 | |type=2x2 | ||
|A1= | |A1=oak_planks.png |B1=oak_planks.png | ||
|A2= | |A2=oak_planks.png |B2=oak_planks.png | ||
|Output=crafting_table.png | |Output=crafting_table.png | ||
}} | }} | ||
Ligne 43 : | Ligne 43 : | ||
|type=2x2 | |type=2x2 | ||
|name=Table de craft | |name=Table de craft | ||
|A1= | |A1=oak_planks.png |B1=oak_planks.png | ||
|A2= | |A2=oak_planks.png |B2=oak_planks.png | ||
|Output= | |Output=crafting_table_top.png | ||
|description=Permet de fabriquer des objets | |description=Permet de fabriquer des objets | ||
}} | }} | ||
Ligne 53 : | Ligne 53 : | ||
|type=3x3 | |type=3x3 | ||
|name=Bâtons | |name=Bâtons | ||
|B1= | |B1=oak_planks.png | ||
|B2= | |B2=oak_planks.png | ||
|Output=stick.png | |Output=stick.png | ||
|count=4 | |count=4 | ||
Ligne 63 : | Ligne 63 : | ||
|type=3x3 | |type=3x3 | ||
|name=Pioche en bois | |name=Pioche en bois | ||
|A1= | |A1=oak_planks.png |B1=oak_planks.png |C1=oak_planks.png | ||
|B2=stick.png | |B2=stick.png | ||
|B3=stick.png | |B3=stick.png |
Dernière version du 22 octobre 2025 à 15:20
Ce modèle permet d'afficher des grilles de fabrication Minecraft (2×2 ou 3×3).
Utilisation
Grille 3×3 (par défaut)
{{Fabrication |type=3x3 |name=Nom de la recette (optionnel) |A1=item1.png |B1=item2.png |C1=item3.png |A2=item4.png |B2=item5.png |C2=item6.png |A3=item7.png |B3=item8.png |C3=item9.png |Output=resultat.png |count=4 |description=Description optionnelle }}
Grille 2×2
{{Fabrication |type=2x2 |A1=oak_planks.png |B1=oak_planks.png |A2=oak_planks.png |B2=oak_planks.png |Output=crafting_table.png }}
Paramètres
- type
- Type de grille (2x2 ou 3x3, défaut: 3x3)
- name
- Nom de la recette (optionnel)
- A1, B1, C1, A2, B2, C2, A3, B3, C3
- Items dans la grille (coordonnées)
- Output
- Item résultat
- count
- Nombre d'items produits (défaut: 1)
- size
- Taille des images (défaut: 32px)
- description
- Texte descriptif sous la recette (optionnel)
Exemples
Table de craft
Table de craft




→

Permet de fabriquer des objets
Bâton (×4)
Bâtons


→

4
Pioche en bois
Pioche en bois





→

Notes
- Les noms d'images doivent correspondre aux fichiers importés
- L'extension .png est automatiquement ajoutée si absente
- Laissez vides les cellules non utilisées
- Les images ne sont pas cliquables (link=)