« Modèle:Infobox Information Pokémon » : différence entre les versions

De Eternia Dimension
Aller à la navigationAller à la recherche
Aucun résumé des modifications
m (A protégé « Modèle:Infobox Information Pokémon » : Modèle apparaissant dans de nombreuses pages. ([Modifier=Autoriser uniquement les administrateurs] (infini) [Renommer=Autoriser uniquement les administrateurs] (infini)))
 
(23 versions intermédiaires par le même utilisateur non affichées)
Ligne 5 : Ligne 5 :
| colspan="2" | [[Image:{{PAGENAME}} Artwork.png|x200px]]
| colspan="2" | [[Image:{{PAGENAME}} Artwork.png|x200px]]
|-
|-
| width="110px" | '''Type'''  
| width="140px" | '''Type'''  
| width="200px" | {{type|{{lc:{{{type1|???}}}}}}} {{#if: {{{type1|}}}| {{#ifeq: {{{categ|oui}}} | oui | [[Catégorie:Pokémon de type {{{type1}}}]]}} }} {{#if: {{{type2|}}} | - {{type|{{lc:{{{type2|???}}}}}}} {{#ifeq: {{{categ|oui}}} | oui | [[Catégorie:Pokémon de type {{{type2}}}]]}} }}
| width="200px" | {{type|{{lc:{{{type1|???}}}}}}} {{#if: {{{type1|}}}| {{#ifeq: {{{categ|oui}}} | oui | [[Catégorie:Pokémon de type {{{type1}}}]]}} }} {{#if: {{{type2|}}} | - {{type|{{lc:{{{type2|???}}}}}}} {{#ifeq: {{{categ|oui}}} | oui | [[Catégorie:Pokémon de type {{{type2}}}]]}} }}
|-
|-
{{ #if:{{{att1|}}} |
{{!}} '''Type d'attaque'''
{{!}}  {{type|{{lc:{{{att1|???}}}}}}} {{#if: {{{att1|}}} | }} {{#if: {{{att2|}}} | - {{type|{{lc:{{{att2|???}}}}}}} }} {{#if: {{{att3|}}} | -  {{type|{{lc:{{{att3|???}}}}}}} }}
{{!-}}
}}
{{ #if:{{{cap|}}} |
{{!}} '''Capacité spéciale'''
{{!}} [[{{{cap|}}}]]
{{!-}}
}}
| width="110px" | '''Taille'''  
| width="110px" | '''Taille'''  
| width="200px" | {{formatnum:{{{taille|{{?}}}}}|1|,|_}} m
| width="200px" | {{formatnum:{{{taille|{{?}}}}}|1|,|_}} m
Ligne 15 : Ligne 25 :
|-
|-
| width="110px" | '''Sexe'''  
| width="110px" | '''Sexe'''  
| width="200px" | {{#ifexpr: {{{fmratio|0}}}=-1 | Assexué | {{#if: {{{fmratio|}}} | {{#expr: {{{fmratio}}} * 100}}% femelle - {{#expr: 100 - ({{{fmratio}}} * 100)}}% mâle | Répartition inconnue}} }}
| width="200px" | {{#ifexpr: {{{sexe|0}}}=-1 | Asexué | {{#if: {{{sexef|}}} | {{{sexef|}}} % [[Image:Female-icon-16x16.png]] - {{{sexem|}}} % [[Image:Male-icon-16x16.png]]}} }}
|-
|-
| width="110px" | '''Éclosion'''  
| width="110px" | '''Éclosion'''  
| width="200px" | {{#ifexpr: {{#if: {{{oeufpas|}}} | {{{oeufpas|}}} | {{#expr: ({{{oeufpas|}}} - 1) / 255}} | {{?}} }} pas |Inconnu}}
| width="200px" | {{{pas|Inconnue}}}
|-
|-
| width="110px" | '''Famille'''  
| width="110px" | '''Famille'''  
Ligne 29 : Ligne 39 :
| width="200px" | [[Image:Empreinte {{{num|}}}.png]]
| width="200px" | [[Image:Empreinte {{{num|}}}.png]]
|}
|}
<noinclude>=== Syntaxe ===
<pre>
{{Infobox Information Pokémon
|type
|num=
|type1=
|type2= (facultatif)
|att1= (facultatif. Type d'attaque du pokémon)
|att2= (facultatif)
|att3= (facultatif)
|cap= (facultatif)
|taille=
|poids=
|sexe= (facultatif. Si le Pokémon est Asexué entrez la valeur -1)
|sexef= (% de femelles)
|sexem= (% de mâles)
|pas=
|famille=
|f-corps=
}}
</pre>[[Category:Modèle de boîte]]</noinclude>

Version actuelle datée du 30 juin 2016 à 23:30

Fichier:Infobox Information Pokémon Artwork.png
Type Fichier:???.gif
Taille ?? m
Poids ?? kg
Sexe
Éclosion Inconnue
Famille Pokémon
Forme du corps Fichier:Forme du corps .png
Empreinte Fichier:Empreinte .png

Syntaxe

{{Infobox Information Pokémon
|type
|num=
|type1=
|type2= (facultatif)
|att1= (facultatif. Type d'attaque du pokémon)
|att2= (facultatif)
|att3= (facultatif)
|cap= (facultatif)
|taille=
|poids=
|sexe= (facultatif. Si le Pokémon est Asexué entrez la valeur -1)
|sexef= (% de femelles)
|sexem= (% de mâles)
|pas= 
|famille=
|f-corps=
}}