« Modèle:Infobox Objet » : différence entre les versions

De Eternia Dimension
Aller à la navigationAller à la recherche
Aucun résumé des modifications
Aucun résumé des modifications
Ligne 1 : Ligne 1 :
<includeonly>{| {{Infoboxbleue}} style="width: 25%; max-width: 25%"
<includeonly>{| align="rigth" class="wikitable" style="text-align:center"
|-
|-
| {{#if: {{{miniature|}}} | style="background: #fff; text-align: center" width="50px" {{!}} [[Fichier:{{{miniature}}}]] {{!!}} class="header" colspan="3" | class="header" colspan="4" }} | '''{{{nom|{{BASEPAGENAME}}}}}'''<br /><span lang="ja">{{Infobulle|{{{nom-ja|{{?}}}}}|{{{nom-romaji}}}}}</span> {{{nom-tm|{{?}}}}}
{{#if: {{{miniature|}}} | style="background: #fff; text-align: center" width="50px" {{!}} [[Fichier:{{{miniature}}}]] {{!!}} class="header" colspan="3" | class="header" colspan="4" }} | '''{{{nom|{{BASEPAGENAME}}}}}'''
|-
|-
{{#ifeq: {{{évènementiel|non}}} | oui |  
{{#ifeq: {{{évènementiel|non}}} | oui |  
! style="text-align:center; font-weight:lighter" colspan="4" {{!}} <small>Objet évènementiel</small>
! style="text-align:center; font-weight:lighter" colspan="4" {{!}} <small>Objet évènementiel</small>
{{!-}} }}
{{!-}} }}
{{ #if:{{{image|}}} |
{{ #if:{{{PAGENAME|}}} |
{{!}} colspan="4" style="background: #fff; text-align:center; padding:15px 0px;" {{!}} [[Fichier:{{{image}}}{{!}}200px]]
{{!}} colspan="4" style="background: #fff; text-align:center; padding:15px 0px;" {{!}} [[Fichier:{{PAGENAME}} Artwork|200px]]
{{!-}} }}
{{!-}} }}
{{#if: {{{légende|}}} |
{{#if: {{{légende|}}} |
! style="text-align:center; font-weight:lighter" colspan="4" {{!}} <small>{{{légende}}}</small>
! style="text-align:center; font-weight:lighter" colspan="4" {{!}} <small>{{{légende}}}</small>
{{!-}} }}
{{!-}} }}
! style="text-align:center" | Nom anglais
| style="background: #fff;" | <span lang="en">{{{nom-en|{{?}}}}}</span>
|-
! colspan="4" style="background: #e2e2ff; text-align:center;" | Disponibilité
|-
! style="text-align:center" | [[Génération|Génération(s)]]{{Infobulle|*|Génération(s) où l'objet est disponible}}
| style="background: #fff;" | {{#ifeq: {{{gén-1|}}} | oui | [[Première génération|1]] }} {{#ifeq: {{{gén-2|}}} | oui | [[Deuxième génération|2]] }} {{#ifeq: {{{gén-3|}}} | oui | [[Troisième génération|3]] }} {{#ifeq: {{{gén-4|}}} | oui | [[Quatrième génération|4]] }} {{#ifeq: {{{gén-5|}}} | oui | [[Cinquième génération|5]] }}
|-
! style="text-align:center" | {{Infobulle|1ère apparition|Jeu vidéo où l'objet est présent pour la première fois}}
| style="background: #fff;" | ''[[{{{jeu}}}]]''
|-
! style="text-align:center" | {{Infobulle|Série|Série de jeux où l'objet est trouvable}}
| style="background: #fff;" | {{#if: {{{série|}}} | [[{{{série}}}]] | [[Objet de la série::Jeux principaux]] }}
|-
|-
! colspan="4" style="background: #e2e2ff; text-align:center;" | Utilisation
! colspan="4" style="background: #e2e2ff; text-align:center;" | Utilisation
Ligne 51 : Ligne 38 :
|}
|}


=== Syntaxe ===
 
<pre>{{Infobox Objet
| nom=
| miniature=
| image=
| légende=
| évenementiel=(si oui mettre la valeur oui)
| rangement=(objet rare,objet,médicaments...)
| fonctionement=(hors combat ou combat)
| prix-achat=
| prix-revente=
}}</pre>
 
</includeonly><noinclude>{{/Documentation}}</noinclude>
</includeonly><noinclude>{{/Documentation}}</noinclude>

Version du 23 novembre 2012 à 14:46