Template:Psychique: Difference between revisions
Jump to navigation
Jump to search
imported>S3d2n m Réduction de la bordure à 2px |
imported>Septembre m ajout catégorie |
||
| (3 intermediate revisions by one other user not shown) | |||
| Line 1: | Line 1: | ||
<includeonly><onlyinclude><span style="border: 2px dotted;border-color:#e6c457; background-color:#f7ebc1; color:#000; padding-top:4px;padding-bottom:4px"> [[Image:Statut-trouble-psychique.png|link=Liste_des_troubles_psychiques]] '''{{{1}}}''' </span></onlyinclude></includeonly> | <includeonly><onlyinclude>{{#if: {{{1|}}} | ||
| <span style="border: 2px dotted; border-color:#e6c457; background-color:#f7ebc1; color:#000; padding-top:4px; padding-bottom:4px"> [[Image:Statut-trouble-psychique.png|link=Liste_des_troubles_psychiques]] '''[[Liste_des_troubles_psychiques|{{{1}}}]]''' </span> | |||
| [[Image:Statut-trouble-psychique.png|link=Liste_des_troubles_psychiques]]'''[[Liste_des_troubles_psychiques|Troubles Psychiques]]''' | |||
}}</onlyinclude></includeonly> | |||
<noinclude> | <noinclude> | ||
<templatedata> | <templatedata> | ||
{ | { | ||
"description": " | "description": "Affiche un trouble psychique mis en valeur si un nom est fourni, ou l’icône + 'troubles psychiques' si aucun argument n'est donné.", | ||
"params": { | |||
"1": { | |||
"label": "nom", | |||
"description": "Nom du trouble psychique (optionnel).", | |||
"type": "string", | "type": "string", | ||
"required": false | |||
} | |||
} | |||
} | } | ||
</templatedata> | </templatedata> | ||
{| class="wikitable" | {| class="wikitable" | ||
| Line 24: | Line 23: | ||
! Code !! Résultat | ! Code !! Résultat | ||
|- | |- | ||
| <code><nowiki>{{Psychique|Agoraphobie}}</nowiki></code> || {{Psychique|Agoraphobie}} | |||
|- | |- | ||
| <code><nowiki>{{Psychique | | <code><nowiki>{{Psychique}}</nowiki></code> || {{Psychique}} | ||
|} | |} | ||
[[Category:Templates]] | |||
</noinclude> | |||
Latest revision as of 09:42, 24 January 2026
Affiche un trouble psychique mis en valeur si un nom est fourni, ou l’icône + 'troubles psychiques' si aucun argument n'est donné.
| Parameter | Description | Type | Status | |
|---|---|---|---|---|
| nom | 1 | Nom du trouble psychique (optionnel). | String | optional |
| Code | Résultat |
|---|---|
{{Psychique|Agoraphobie}} |
|
{{Psychique}} |