Template:Attribut: Difference between revisions
Jump to navigation
Jump to search
imported>Space Jeff Création d'un template pour les attributs des objets. |
imported>Septembre Fix: suppression du retour chariot superflu |
||
| (7 intermediate revisions by 2 users not shown) | |||
| Line 1: | Line 1: | ||
<includeonly> | <onlyinclude><includeonly>{{#switch:{{lc:{{{1}}}}} | ||
{{#switch:{{lc:{{{1}}}}} | |||
<!-- | <!-- OBJETS (généraux) --> | ||
| artefact | artefactalien | alien = | | artefact | artefactalien | alien = [[File:statut-artefact.png|{{{2|16}}}px]] | ||
| casse | cassé | casse | brise | brisé | broken = [[File:statut-casse.png|{{{2|18}}}px]] | |||
| charge | charges = [[File:statut-charge.png|{{{2|12}}}px|link=Charges]] | |||
| lourd = [[File:statut-lourd.png|height=20px|link=Lourd]] | |||
| cache | caché | cachée | cachee | hidden = [[File:statut-caché.png|{{{2|20}}}px]] | |||
<!-- NOURRITURE --> | |||
| | | congele | congelé | congelée | congelee | frozen = [[File:statut-nourriture-congelee.png|{{{2|16}}}px]] | ||
| instable = [[File:statut-nourriture-instable.png|{{{2|16}}}px|link=Denrée_périssable]] | |||
| avariee | avariée | avarie = [[File:statut-nourriture-avariee.png|{{{2|16}}}px|link=Denrée_périssable]] | |||
| decomposition | décomposition | decompose | decomposé = [[File:statut-nourriture-decomposition.png|{{{2|16}}}px|link=Denrée_périssable]] | |||
| contamine | contaminée | contaminee = [[File:statut-nourriture-contaminee.png|{{{2|16}}}px]] | |||
| imperissable | impérissable = [[File:statut-nourriture-imperissable.png|{{{2|16}}}px]] | |||
<!-- PLANTES --> | |||
| | | plante-jeune | jeune | youngplant = [[File:statut-plante-jeune.png|{{{2|16}}}px|link=Jardinage#Jeune]] | ||
| plante-soif | soif | thirsty = [[File:statut-plante-soif.png|{{{2|16}}}px|link=Jardinage#Soif]] | |||
| plante-dessechee | dessechee | desséchée | dried | driedout = [[File:statut-plante-desséchée.png|{{{2|16}}}px|link=Jardinage#Soif]] | |||
| plante-malade | malade | diseased = [[File:statut-plante-malade.png|{{{2|16}}}px|link=Jardinage#Malade]] | |||
<!-- | <!-- DÉFAUT --> | ||
| | | #default = <span style="color:red;font-weight:bold">[Attribut: {{{1}}}]</span>}}</includeonly></onlyinclude> | ||
<noinclude> | |||
== Template Attribut == | |||
Affiche automatiquement une icône d’attribut selon son nom. | |||
== Exemples d’utilisation == | |||
| | === Attributs généraux === | ||
* {{Attribut|artefact}} | |||
* {{Attribut|cassé}} | |||
* {{Attribut|charges}} | |||
* {{Attribut|lourd}} | |||
* {{Attribut|caché}} | |||
=== Nourriture === | |||
* {{Attribut|congelé}} | |||
* {{Attribut|instable}} | |||
* {{Attribut|avariee}} | |||
| | * {{Attribut|decomposition}} | ||
| | |||
}} | |||
== | === Plantes === | ||
* {{Attribut|plante-jeune}} | |||
* {{Attribut|plante-soif}} | |||
* {{Attribut|plante-dessechee}} | |||
* {{Attribut|plante-malade}} | |||
== Notes == | == Notes == | ||
- Toutes les variantes d’écriture sont reconnues. | - Toutes les variantes d’écriture (français, anglais, avec ou sans accents) sont reconnues. | ||
[[Category:Templates]] | [[Category:Templates]] | ||
</noinclude> | </noinclude> | ||
Latest revision as of 09:51, 7 December 2025
Template Attribut
Affiche automatiquement une icône d’attribut selon son nom.
Exemples d’utilisation
Attributs généraux
Nourriture

- File:Statut-nourriture-instable.png
- File:Statut-nourriture-avariee.png
- File:Statut-nourriture-decomposition.png
Plantes
Notes
- Toutes les variantes d’écriture (français, anglais, avec ou sans accents) sont reconnues.