« Modèle:Infobox Item » et « Modèle:Infobox Item/bac à sable » : différence entre les pages

(Différence entre les pages)
Page 1
Page 2
mAucun résumé des modifications
 
(LIMAFOX76 a déplacé la page Modèle:Infobox Item/bac à sable vers Modèle:Infobox Item : Validation Infobox vers module)
Balise : Nouvelle redirection
 
Ligne 1 : Ligne 1 :
<includeonly><div display="none">{{DEFAULTSORT:{{{tri|{{PAGENAME}}}}}}}<!--
#REDIRECTION [[Modèle:Infobox Item]]
-->{{#if: {{{nocat|}}}
    |
    |<!--
  -->{{#ifeq: {{{spoiler|}}}
      | true
      | [[Catégorie:Spoilers]]
      |<!--
  -->{{#ifeq:{{NAMESPACE}}
      | User
      | [[Catégorie:Contributeurs Stargate Wiki]]
      | [[Catégorie:Items]]
      }}
    }}{{#ifeq:{{{spoiler|}}}
        | vrai
        | {{spoiler}}
        |<!--
    -->{{#if: {{{indépendant|}}}
        | {{Continuité indépendante|continuité={{{continuité|}}}}}[[Catégorie:Items faisant partie d'une continuité indépendante]]
        |
        }}<!--
    -->}}<!--
-->}}</div>{{Infobox
| name          = Infobox Item
| child        = {{{child|}}}
| above      = {{#if: {{{nom|{{{titre|}}}}}} | {{{nom|{{{titre|}}}}}} | {{PAGENAME}} }}
| sous-entête  = {{#if: {{{ligne de temps altérée|}}} | Cet item fait partie d'une [[Item provenant de::ligne de temps altérée]] }}
| sous-entête1 = {{#if: {{{réalité parallèle|}}} | Cet item fait partie d'une [[Item provenant de::réalité parallèle]] }}
| sous-entête2 = {{#if: {{{hallucination|}}} | Cet item fait partie d'une [[Item provenant de::hallucination]] }}
| image        = {{#invoke:InfoboxImage|InfoboxImage|image={{#if: {{{image|}}} | {{{image}}} }}|taille={{{taille image|330}}}|taille par défaut=frameless|alt={{{alt|}}}}}
| caption      = {{{légende|}}}
 
| label1  = Nom original (VO)
| data1      = {{#if: {{{nom original|}}} | ''{{{nom original}}}'' }}
 
| label2  = Type
| data2      = {{#if: {{{type|}}} | [[Type d'item::{{{type|}}}]] }}
 
| label3  = Lieu d'origine
| data3      = {{{origine|}}}
 
| label4  = Utilisation
| data4    = {{{utilisation|}}}
 
| label5  = Propriétaire
| data5    = {{{propriétaire|}}}
 
| label6  = Statut actuel
| data6    = {{{statut|}}}
 
| header10    = {{#if: {{{fabricant|}}}{{{concepteur|}}} | Informations de production }}
 
| label11 = Fabricant(s)
| data11    = {{{fabricant|}}}
 
| label12 = Concepteur(s)
| data12    = {{{concepteur|}}}
 
| header20    = {{#if: {{{mention|}}}{{{apparition|}}} | Informations ''out of universe'' }}
 
| label21 = Première mention
| data21    = {{{mention|}}}
 
| label22 = Première apparition
| data22    = {{{apparition|}}}
 
| data23    = {{#if: {{{wikipedia|}}} | {{w|{{{wikipedia|}}}|Article Wikipédia}} }}
}}<!--
 
Récupération du nom
 
-->{{#if: {{{nom|}}} | {{#set: Nom = {{{nom|}}} }} | {{#set: Nom = {{PAGENAME}} }} }}<!--
 
Récupération de l'image infobox
 
-->{{#if: {{{image|}}} | {{#set: Image infobox={{{image}}} }} }}<!--
 
Définit si l'item est canon
 
-->{{#set: Item canon = {{#if:{{{indépendant|}}}|non|oui}} }}<!--
 
Si l'item est un journal ou un livre, le titre apparait en italique et l'attribut Publication est à 1
 
-->{{#switch: {{lc: {{{type|}}} }} | livre | livres | journal | journaux = {{#set: Publication=oui}}{{Titre en italique}}}}</includeonly><noinclude>{{Documentation}}</noinclude>