« Modèle:Infobox V3/Conflits/Commandants/Documentation » : différence entre les versions
Apparence
m Alakihel a déplacé la page Modèle:Infobox V3/Conflits/ Commandants/Documentation vers Modèle:Infobox V3/Conflits/Commandants/Documentation |
Aucun résumé des modifications |
||
| Ligne 13 : | Ligne 13 : | ||
| Charte = | | Charte = | ||
| Sous-titre = | | Sous-titre = | ||
| | | Camp 1 = | ||
| | | Commandant 1 = | ||
| | | Camp 2 = | ||
| | | Commandant 2 = | ||
}} | }} | ||
</pre> | </pre> | ||
| Ligne 38 : | Ligne 38 : | ||
| Charte = conflit | | Charte = conflit | ||
| Sous-titre = Généraux principaux | | Sous-titre = Généraux principaux | ||
| | | Camp 1 = Alliance du Nord | ||
| | | Commandant 1 = Général Harkon de Valdheim | ||
| | | Camp 2 = Empire d’Askar | ||
| | | Commandant 2 = Maréchal Yserk le Fléau | ||
}} | }} | ||
{{Infobox V3/Fin Documentation}} | {{Infobox V3/Fin Documentation}} | ||
| Ligne 48 : | Ligne 48 : | ||
| Charte = conflit | | Charte = conflit | ||
| Sous-titre = Généraux principaux | | Sous-titre = Généraux principaux | ||
| | | Camp 1 = Alliance du Nord | ||
| | | Commandant 1 = Général Harkon de Valdheim | ||
| | | Camp 2 = Empire d’Askar | ||
| | | Commandant 2 = Maréchal Yserk le Fléau | ||
}} | }} | ||
</pre> | </pre> | ||
Version du 29 juin 2025 à 12:22
📘 Description
Ce modèle est une section de l'infobox principale Modèle:Infobox V3/Conflits. Il permet d'afficher côte à côte les commandants des deux camps d’un conflit ou d'une bataille, avec une présentation claire et symétrique.
Il s'utilise à l'intérieur d'une infobox modulaire V3 et s'appuie sur le modèle Modèle:Infobox V3/Tableau Ligne données.
🔧 Syntaxe
🕳️ Vide
{{Infobox V3/Conflits/Commandants
| Charte =
| Sous-titre =
| Camp 1 =
| Commandant 1 =
| Camp 2 =
| Commandant 2 =
}}
⚙️ Conditionnelle
{{Infobox V3/Conflits/Commandants
| Charte = {{{Charte|defaut}}}
| Sous-titre = {{{Sous-titre|Commandants}}}
| Camp1 = {{{Camp1|}}}
| Commandant1 = {{{Commandant1|}}}
| Camp2 = {{{Camp2|}}}
| Commandant2 = {{{Commandant2|}}}
}}
🧪 Exemple
{{Infobox V3/Conflits/Commandants
| Charte = conflit
| Sous-titre = Généraux principaux
| Camp 1 = Alliance du Nord
| Commandant 1 = Général Harkon de Valdheim
| Camp 2 = Empire d’Askar
| Commandant 2 = Maréchal Yserk le Fléau
}}
🧩 Paramètres
Charte- Charte visuelle à appliquer (couleur, séparateur, etc.). Valeur par défaut :
defaut.
Sous-titre- Titre de la section (optionnel). Par défaut :
Commandants.
Camp1- Nom du premier camp ou faction.
Commandant1- Nom du commandant principal du premier camp.
Camp2- Nom du second camp ou faction.
Commandant2- Nom du commandant principal du second camp.