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

De Stargate Wiki Sémantique
(Page créée avec « <includeonly><div display="none">{{DEFAULTSORT:{{{tri|{{PAGENAME}}}}}}}<!-- -->{{#if: {{{nocat|}}} | |<!-- -->{{#ifeq: {{{spoiler|}}} | true... »)
 
mAucun résumé des modifications
 
(10 versions intermédiaires par le même utilisateur non affichées)
Ligne 22 : Ligne 22 :
     -->}}<!--  
     -->}}<!--  
  -->}}</div>{{Infobox
  -->}}</div>{{Infobox
  | nom        = Infobox Item
  | name          = Infobox Item
  | child       = {{{child|}}}
  | child       = {{{child|}}}
  | dessus      = {{#if: {{{nom|{{{titre|}}}}}} | {{{nom|{{{titre|}}}}}} | {{PAGENAME}} }}
  | above      = {{#if: {{{nom|{{{titre|}}}}}} | {{{nom|{{{titre|}}}}}} | {{PAGENAME}} }}
  | sous-entête = {{#if: {{{hallucination|}}} | Cet item fait partie d'une [[Item provenant de::hallucination]] }}
  | 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]] }}
  | image       = {{#invoke:InfoboxImage|InfoboxImage|image={{#if: {{{image|}}} | {{{image}}} }}|taille={{{taille image|330}}}|taille par défaut=frameless|alt={{{alt|}}}}}
| sous-entête1 = {{#if: {{{réalité parallèle|}}} | Cet item fait partie d'une [[Item provenant de::réalité parallèle]] }}
  | légende    = {{{légende|}}}
| 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}}}'' }}


  | étiquette1 = Type
  | label2  = Type
  | donnée1    = {{#if: {{{type|}}} | [[Type d'item::{{{type|}}}]] }}
  | data2      = {{#if: {{{type|}}} | [[Type d'item::{{{type|}}}]] }}


  | étiquette2 = Lieu d'origine
  | label3  = Lieu d'origine
  | donnée2    = {{{origine|}}}
  | data3      = {{{origine|}}}


  | étiquette3 = Utilisation
  | label4  = Utilisation
  | donnée3    = {{{utilisation|}}}
  | data4    = {{{utilisation|}}}


  | étiquette4 = Propriétaire
  | label5  = Propriétaire
  | donnée4    = {{{propriétaire|}}}
  | data5    = {{{propriétaire|}}}


  | étiquette5 = Statut actuel
  | label6  = Statut actuel
  | donnée5    = {{{statut|}}}
  | data6    = {{{statut|}}}


  | entête10  = {{#if: {{{fabricant|}}}{{{concepteur|}}} | Informations de production }}
  | header10    = {{#if: {{{fabricant|}}}{{{concepteur|}}} | Informations de production }}


  | étiquette11 = Fabricant(s)
  | label11 = Fabricant(s)
  | donnée11   = {{{fabricant|}}}
  | data11   = {{{fabricant|}}}


  | étiquette12 = Concepteur(s)
  | label12 = Concepteur(s)
  | donnée12   = {{{concepteur|}}}
  | data12   = {{{concepteur|}}}


  | entête20   = {{#if: {{{mention|}}}{{{apparition|}}} | Informations ''out of universe'' }}
  | header20   = {{#if: {{{mention|}}}{{{apparition|}}} | Informations ''out of universe'' }}


  | étiquette21 = Première mention
  | label21 = Première mention
  | donnée21   = {{{mention|}}}
  | data21   = {{{mention|}}}


  | étiquette22 = Première apparition
  | label22 = Première apparition
  | donnée22   = {{{apparition|}}}
  | data22   = {{{apparition|}}}


  | donnée23   = {{#if: {{{wikipédia|}}} | {{w|{{{wikipédia|}}}|Article Wikipédia}} }}
  | 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
Récupération de l'image infobox

Dernière version du 19 août 2023 à 06:23

Documentation icon Documentation modèle[afficher] [modifier] [historique] [purger]


Utilisation

Syntaxe

{{Infobox Item
 | nocat                  = 
 | tri                    = 
 | indépendant            = 
 | continuité             = 
 | réalité parallèle      = <!-- donnée sémantique -->
 | ligne de temps altérée = <!-- donnée sémantique -->
 | hallucination          = <!-- donnée sémantique -->
 | nom                    =
 | image                  = 
 | légende                = 
 | nom original           = 
 | type                   = 
 | origine                = 
 | fabricant              = 
 | concepteur             = 
 | utilisation            = 
 | propriétaire           = 
 | statut                 = 
 | mention                = 
 | apparition             =
 | wikipedia              = 
}}

Voir aussi