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

De Battlestar Wiki
(Page créée avec « <includeonly><div display="none">{{DEFAULTSORT:{{{tri|{{PAGENAME}}}}}}}<!-- -->{{#if: {{{nocat|}}} | |<!-- -->{{#ifeq: {{{spoiler|}}} | true | Catégorie:Spoilers |<!-- -->{{#ifeq:{{NAMESPACE}} | User | Catégorie:Contributeurs Battlestar Wiki | Catégorie:Événements }} }}{{#ifeq:{{{spoiler|}}} | vrai | {{spoiler}} |<!-- -->{{#if: {{{indépend... »)
 
Aucun résumé des modifications
 
(6 versions intermédiaires par le même utilisateur non affichées)
Ligne 30 : Ligne 30 :
  | titlestyle      =  
  | titlestyle      =  
  | abovestyle      =  
  | abovestyle      =  
| subheaderstyle  = text-align: center; background-color: #E1E1E1; font-weight: bold;
  | title          =  
  | title          =  
  | dessus          = {{#if: {{{titre|{{{nom|{{{conflit|}}}}}}}}}  | {{{titre|{{{nom|{{{conflit|}}}}}}}}} | {{PAGENAME}} }}
  | dessus          = {{#if: {{{titre|{{{nom|{{{conflit|}}}}}}}}}  | {{{titre|{{{nom|{{{conflit|}}}}}}}}} | {{PAGENAME}} }}
Ligne 53 : Ligne 52 :


  | étiquette1          = Type d'événement
  | étiquette1          = Type d'événement
  | donnée1           = {{type d'événement| {{{type|bataille}}} }}
  | donnée1             = {{type d'événement| {{{type|bataille}}} }}


  | étiquette2          = Date
  | étiquette2          = Conflit
  | donnée2            = {{{date|}}}
  | donnée2            = {{{conflit|}}}


  | étiquette3          = Lieu
  | étiquette3          = Date
  | donnée3            = {{{lieu|}}}
  | donnée3            = {{{date|}}}


  | étiquette4          = {{#if: {{{statut|}}} | Statut | Résultat }}
  | étiquette4          = Lieu
  | donnée4            = {{if empty | {{{statut|}}} | {{{résultat|}}} }}
  | donnée4            = {{{lieu|}}}


  | étiquette5          = Changements<br/>territoriaux
  | étiquette5          = {{#if: {{{statut|}}} | Statut | Résultat }}
  | donnée5            = {{{territoire|}}}
  | donnée5            = {{if empty | {{{statut|}}} | {{{résultat|}}} }}


  | entête10            = {{#if: {{{combatant1|}}} | {{#if: {{{entête combattants|}}} | {{{entête combattants|}}} | Belligérants }} }}
| étiquette6          = Changements<br/>territoriaux
| donnée6            = {{{territoire|}}}
 
  | entête10            = {{#if: {{{combattant1|}}} | {{#if: {{{entête combattants|}}} | {{{entête combattants|}}} | Belligérants }} }}


  | donnée11            = {{#if: {{{combattant1|}}} | {{Infobox/table | {{{combattant1|}}} | {{{combattant2|}}} | {{{combattant3|}}} | {{{combattant4|}}} }} }}
  | donnée11            = {{#if: {{{combattant1|}}} | {{Infobox/table | {{{combattant1|}}} | {{{combattant2|}}} | {{{combattant3|}}} | {{{combattant4|}}} }} }}
Ligne 79 : Ligne 81 :
  | donnée15            = {{#if: {{{unités1|}}} | {{Infobox/table | {{{unités1|}}} | {{{unités2|}}} | {{#if: {{{combattant3|}}} | {{{unités3|}}} }} | {{#if: {{{combattant4|}}} | {{{unités4|}}} }} }} }}
  | donnée15            = {{#if: {{{unités1|}}} | {{Infobox/table | {{{unités1|}}} | {{{unités2|}}} | {{#if: {{{combattant3|}}} | {{{unités3|}}} }} | {{#if: {{{combattant4|}}} | {{{unités4|}}} }} }} }}


  | entête16            = {{#if: {{{force1|}}} | Forces }}
  | entête16            = {{#if: {{{force1|}}} | Forces en présence }}


  | donnée17            = {{#if: {{{force1|}}} | {{Infobox/table | {{{force1|}}} | {{{force2|}}} | {{#if: {{{combattant3|}}} | {{{force3|}}} }} | {{#if: {{{combattant4|}}} | {{{force4|}}} }} }} }}
  | donnée17            = {{#if: {{{force1|}}} | {{Infobox/table | {{{force1|}}} | {{{force2|}}} | {{#if: {{{combattant3|}}} | {{{force3|}}} }} | {{#if: {{{combattant4|}}} | {{{force4|}}} }} }} }}
Ligne 91 : Ligne 93 :
  | donnée21            = {{#if: {{{militaire1|}}} | {{Infobox/table | {{{militaire1|}}} | {{{militaire2|}}} | {{#if: {{{combattant3|}}} | {{{militaire3|}}} }} | {{#if: {{{combattant4|}}} | {{{militaire4|}}} }} }} }}
  | donnée21            = {{#if: {{{militaire1|}}} | {{Infobox/table | {{{militaire1|}}} | {{{militaire2|}}} | {{#if: {{{combattant3|}}} | {{{militaire3|}}} }} | {{#if: {{{combattant4|}}} | {{{militaire4|}}} }} }} }}


  | entête22            = {{#if: {{{pertes1|}}} | Pertes et victimes }}
  | entête22            = {{#if: {{{pertes1|}}} | Pertes matérielles }}


  | donnée23            = {{#if: {{{pertes1|}}} | {{Infobox/table | {{{pertes1|}}} | {{{pertes2|}}} | {{#if: {{{combattant3|}}} | {{{pertes3|}}} }} | {{#if: {{{combattant4|}}} | {{{pertes4|}}} }} }} }}
  | donnée23            = {{#if: {{{pertes1|}}} | {{Infobox/table | {{{pertes1|}}} | {{{pertes2|}}} | {{#if: {{{combattant3|}}} | {{{pertes3|}}} }} | {{#if: {{{combattant4|}}} | {{{pertes4|}}} }} }} }}


  | entête30            = {{#if: {{{concurrent|}}}{{{prev|}}}{{{next|}}} | Chronologie }}
| entête24            = {{#if: {{{victimes1|}}} | Victimes }}
 
| donnée25            = {{#if: {{{victimes1|}}} | {{Infobox/table | {{{victimes1|}}} | {{{victimes2|}}} | {{#if: {{{combattant3|}}} | {{{victimes3|}}} }} | {{#if: {{{combattant4|}}} | {{{victimes4|}}} }} }} }}
 
  | entête30            = {{#if: {{{concurrent|}}}{{{précédent|}}}{{{suivant|}}} | Chronologie }}


  | étiquette31        = {{#if: {{#pos: {{{événement concurrent|}}} | <br }} | Événements concurrents | Événement concurrent }}
  | étiquette31        = {{#if: {{#pos: {{{événement concurrent|}}} | <br }} | Événements concurrents | Événement concurrent }}
Ligne 122 : Ligne 128 :
Retrieving the "infobox image" from the template
Retrieving the "infobox image" from the template


  -->{{#if: {{{image|}}} | {{#set: Infobox image = {{{image|}}} }} }}<!--  
  -->{{#if: {{{image|}}} | {{#set: image infobox = {{{image|}}} }} }}<!--  


Defining the canonicity of the event
Defining the canonicity of the event


  -->{{#set: Événement canon = {{#if:{{{indépendant|}}}|false|true}} }}</includeonly><noinclude>{{documentation}}</noinclude>
  -->{{#set: Événement canon = {{#if:{{{indépendant|}}}|false|true}} }}</includeonly><noinclude>{{documentation}}</noinclude>

Dernière version du 16 mars 2024 à 08:14

Documentation modèle[voir] [modifier] [historique] [purger]

Utilisation

Syntaxe

{{Infobox Conflit militaire
 | tri                    = 
 | nocat                  = 
 | spoiler                = 
 | indépendant            = 
 | continuité             = 
 | lconticuité            = 
 | univers                = 
 | univers2               = 
 | child                  = 
 | titre                  = 
 | nom                    = 
 | conflit                = 
 | série                  = <!-- ajouter série2, série3, etc. si nécessaire -->
 | ligne de temps altérée = 
 | réalité parallèle      = 
 | hallucination          = 
 | image                  =  
 | taille image           = 
 | alt                    = 
 | titre original         = 
 | type                   = 
 | date                   = 
 | lieu                   = 
 | statut                 = 
 | résultat               = 
 | territoire             = 
 | combattant1            = 
 | combattant2            = 
 | combattant3            = 
 | combattant4            = 
 | commandant1            = 
 | commandant2            = 
 | commandant3            = 
 | commandant4            = 
 | unités1                = 
 | unités2                = 
 | unités3                = 
 | unités4                = 
 | force1                 = 
 | force2                 = 
 | force3                 = 
 | force4                 = 
 | politique1             = 
 | politique2             = 
 | politique3             = 
 | politique4             = 
 | militaire1             = 
 | militaire2             = 
 | militaire3             = 
 | militaire4             = 
 | pertes1                = 
 | pertes2                = 
 | pertes3                = 
 | pertes4                = 
 | victimes1                = 
 | victimes2                = 
 | victimes3                = 
 | victimes4                = 
 | précédent              = 
 | suivant                = 
 | événement concurrent   = 
 | mention                = 
 | apparition             = 
}}