Aller au contenu

« Modèle:Infobox V3/Conflits/Belligérants/Documentation » : différence entre les versions

De Wikiquestia
Aucun résumé des modifications
Aucun résumé des modifications
 
(23 versions intermédiaires par le même utilisateur non affichées)
Ligne 11 : Ligne 11 :
<pre>
<pre>
{{Infobox V3/Conflits/Belligérants
{{Infobox V3/Conflits/Belligérants
  | Charte    =  
  | Sous-titre-belligérant =  
  | Sous-titre =  
  | Belligérant 1          =
  | Camp1    =  
| Belligérants unités 1  =  
  | Camp2    =  
  | Belligérant 2          =  
}}
  | Belligérant unités 2  =  
</pre>
}}</pre>


=== ⚙️ Conditionnelle ===
=== ⚙️ Conditionnelle ===
<pre>
<pre>
{{Infobox V3/Conflits/Belligérants
{{Infobox V3/Conflits/Belligérants
  | Charte   = {{{Charte|defaut}}}
  | Charte                       = {{{Charte|}}}
  | Sous-titre = {{{Sous-titre|Belligérants}}}
  | Sous-titre-belligérants      = {{{Sous-titre-belligérants|Belligérants}}}
  | Camp1    = {{{Camp1|}}}
  | Belligérant 1                = {{{Belligérant 1|}}}
  | Camp2    = {{{Camp2|}}}
| Belligérants unités 1        = {{{Belligérant unités 1|}}}
| Belligérant 2                = {{{Belligérant 2|}}}
  | Belligérant unités 2          = {{{Belligérant unités 2|}}}
}}
}}
</pre>
</pre>


==🧪 Exemple ==
==🧪 Exemple ==
{{Infobox V3/Début Documentation}}
{{Infobox V3/État/Histoire
| Charte        = empire
| Titre Général  = Histoire du royaume
| Titre Gauche  = Capitale fondatrice
| Contenu Gauche = Tor Vandir
| Titre Droit    = Dynastie actuelle
| Contenu Droite = Maison Karveld
}}
{{Infobox V3/Fin Documentation}}
<div>
<div>
{{Infobox V3/Début Documentation}}
{{Infobox V3/Début Documentation}}
{{Infobox V3/Conflits/Belligérants
{{Infobox V3/Conflits/Belligérants
  | Charte = conflit
  | Charte                 = conflit
  | Sous-titre = Camps opposés
  | Sous-titre-belligérants = Forces en présence
  | Camp1 = Empire du Nord
  | Belligérant 1          = Empire Elnastorien
  | Camp2 = Royaume d’Asgar
| Belligérants unités 1  = Légions impériales, Ordre du Sang
| Belligérant 2          = Coalition des Royaumes Libres
  | Belligérant unités 2  = Milices de Kaern, Garde de Tivarë
}}
}}
{{Infobox V3/Fin Documentation}}
{{Infobox V3/Fin Documentation}}
<syntaxhighlight lang="text">
 
<pre>
{{Infobox V3/Conflits/Belligérants
{{Infobox V3/Conflits/Belligérants
  | Charte = conflit
  | Charte                 = conflit
  | Sous-titre = Camps opposés
  | Sous-titre-belligérants = Forces en présence
  | Camp1 = Empire du Nord
  | Belligérant 1          = Empire Elnastorien
  | Camp2 = Royaume d’Asgar
| Belligérants unités 1  = Légions impériales, Ordre du Sang
| Belligérant 2          = Coalition des Royaumes Libres
  | Belligérant unités 2  = Milices de Kaern, Garde de Tivarë
}}
}}
</syntaxhighlight>
</pre>
{{Clr}}
{{Clr}}
</div>
</div>
Ligne 71 : Ligne 68 :
; <code>Camp2</code>
; <code>Camp2</code>
: Nom ou désignation du second camp.
: Nom ou désignation du second camp.
== 🔗 Voir aussi ==
{{Infobox V3/Palette/Infobox V3}}

Dernière version du 30 juin 2025 à 20:50

Note : Ceci est une page de documentation pour un modèle.

📘 Description[modifier le wikicode]

Ce modèle est une section de l'infobox principale Modèle:Infobox V3/Conflits. Il affiche les deux camps opposés d’un conflit ou d’une guerre.

Il est conçu pour être utilisé uniquement à l'intérieur d'une infobox V3 et ne doit pas être inséré seul sur une page.

🔧 Syntaxe[modifier le wikicode]

🕳️ Vide[modifier le wikicode]

{{Infobox V3/Conflits/Belligérants
 | Sous-titre-belligérant = 
 | Belligérant 1          = 
 | Belligérants unités 1  = 
 | Belligérant 2          = 
 | Belligérant unités 2   = 
}}

⚙️ Conditionnelle[modifier le wikicode]

{{Infobox V3/Conflits/Belligérants
 | Charte                        = {{{Charte|}}}
 | Sous-titre-belligérants       = {{{Sous-titre-belligérants|Belligérants}}}
 | Belligérant 1                 = {{{Belligérant 1|}}}
 | Belligérants unités 1         = {{{Belligérant unités 1|}}}
 | Belligérant 2                 = {{{Belligérant 2|}}}
 | Belligérant unités 2          = {{{Belligérant unités 2|}}}
}}

🧪 Exemple[modifier le wikicode]

Forces en présence
Empire Elnastorien
Coalition des Royaumes Libres
Légions impériales, Ordre du Sang
Milices de Kaern, Garde de Tivarë


{{Infobox V3/Conflits/Belligérants
 | Charte                 = conflit
 | Sous-titre-belligérants = Forces en présence
 | Belligérant 1          = Empire Elnastorien
 | Belligérants unités 1  = Légions impériales, Ordre du Sang
 | Belligérant 2          = Coalition des Royaumes Libres
 | Belligérant unités 2   = Milices de Kaern, Garde de Tivarë
}}

🧩 Paramètres[modifier le wikicode]

Charte
Charte de couleur utilisée pour l’habillage (par défaut : "defaut").
Sous-titre
Intitulé affiché en haut de la section. Par défaut : "Belligérants".
Camp1
Nom ou désignation du premier camp.
Camp2
Nom ou désignation du second camp.

🔗 Voir aussi[modifier le wikicode]