Modèle

« Article » : différence entre les versions

sur le Dico des Ados : ton dictionnaire collaboratif, libre et gratuit !

Vivian (discussion | contributions)
Aucun résumé des modifications
Vivian (discussion | contributions)
Aucun résumé des modifications
Ligne 19 : Ligne 19 :
{{#if: {{{classe|}}} |  
{{#if: {{{classe|}}} |  
Classe grammaticale : [[Classe::{{{classe|}}}]] | <span style="color: red;">Il manque une classe grammaticale à ce mot! Indiquez la variable '''classe'''.</span> }} {{#if: {{{def|}}} |  
Classe grammaticale : [[Classe::{{{classe|}}}]] | <span style="color: red;">Il manque une classe grammaticale à ce mot! Indiquez la variable '''classe'''.</span> }} {{#if: {{{def|}}} |  
<br>Définition : '''[[Définition::{{{def|}}}]]''' | }} {{#if: {{{ex|}}}  |  
<br>Définition : '''{{lcfirst:[[Définition::{{{def|}}}]]}}''' | }} {{#if: {{{ex|}}}  |  
<br>Exemple : ''[[Exemple::{{{ex|}}}]]'' | }} {{#if: {{#arraymap:{{{syn|}}}|,|x|[[Synonyme::x]]}} |  
<br>Exemple : ''{{ucfirst:[[Exemple::{{{ex|}}}]]}}'' | }} {{#if: {{#arraymap:{{{syn|}}}|,|x|[[Synonyme::x]]}} |  
<br>Synonyme(s) : {{#arraymap:{{{syn|}}}|,|x|[[Synonyme::x]]}} | }} {{#if: {{#arraymap:{{{contr|}}}|,|x|[[Contraire::x]]}} |  
<br>Synonyme(s) : {{#arraymap:{{{syn|}}}|,|x|[[Synonyme::x]]}} | }} {{#if: {{#arraymap:{{{contr|}}}|,|x|[[Contraire::x]]}} |  
<br>Contraire(s) : {{#arraymap:{{{contr|}}}|,|x|[[Contraire::x]]}} | }} }} {{#if: {{#arraymap:{{{voir|}}}|,|x|[[Voir::x]]}} |  
<br>Contraire(s) : {{#arraymap:{{{contr|}}}|,|x|[[Contraire::x]]}} | }} }} {{#if: {{#arraymap:{{{voir|}}}|,|x|[[Voir::x]]}} |  
<br>Voir également : {{#arraymap:{{{voir|}}}|,|x|[[Voir::x]]}} | }} {{#if: {{{image|}}} | [[File:{{{image|}}}|thumb|upright=1.1]] | }} [[category:{{{classe|}}}]] [[Article::{{#var:titre}}| ]]{{#if: {{#arraymap:{{{cat|}}}|,|x|[[Catégorie::x]]}} | {{#arraymap:{{{cat|}}}|,|x|[[Category:x]] {{#set:Catégorie=x}} | }}  | }}
<br>Voir également : {{#arraymap:{{{voir|}}}|,|x|[[Voir::x]]}} | }} {{#if: {{{image|}}} | [[File:{{{image|}}}|thumb|upright=1.1]] | }} [[category:{{{classe|}}}]] [[Article::{{#var:titre}}| ]]{{#if: {{#arraymap:{{{cat|}}}|,|x|[[Catégorie::x]]}} | {{#arraymap:{{{cat|}}}|,|x|[[Category:x]] {{#set:Catégorie=x}} | }}  | }}
</includeonly>
</includeonly>

Version du 9 octobre 2016 à 08:31

Ceci est le modèle « Article ». Il devrait être appelé selon le format suivant :

{{Article
|classe=
|def=
|ex=
|syn=
|contr=
|voir=
|image=
|cat=
}}

Modifiez la page pour voir le texte du modèle.