Différences entre les versions de « Utilisateur:Lunaramethyst/Infobox »

Le WikiHalo rappelle à ses contributeurs que toute information ajoutée doit être officielle et vérifiable. Les contributions sans sources et les théories sur Halo Infinite seront rejetées.
Ligne 1 : Ligne 1 :
<table cellspacing="0" cellpadding="4" style="float:right; clear:right; margin: 0 0 .5em 1em; width:375px; background:#848484; border:1px solid #999999; font-size:smaller; line-height:1.5; border-collapse:collapse;">
[[{{{2|UNSC}}} {{{1}}}|{{{2|UNSC}}} ''{{{1}}}'']]<noinclude>
<!-- Titre -->
<hr>
<tr style="text-align:center; color:#ffffff; background:#585858; font-size:larger;"><th colspan="2">{{{nom}}}</th></tr>
Ce modèle permet de mettre automatiquement en place la typographie des noms de vaisseaux. Par défaut, le préfixe UNSC est ajouté. Il peut être remplacé par CAA pour les vaisseaux de l'administration coloniale, ou laissé vide pour les vaisseaux Covenants.
<!-- Image -->
<tr style="text-align:center; background:#848484; padding:0;"><td colspan="2" style="padding:0px;">{{{image|}}}</td></tr>
<!-- Informations - titre-->
<tr style="text-align:center; font-weight:normal; background:#848484;"><th colspan="2">
'''Informations'''</th></tr>
<!-- Informations - contenu -->
{{#if: {{{date|}}}|<tr style="spacing-top: 0px; spacing-bottom: 0px; vertical-align: middle; background:#f0f0f0; border: 1px solid #999;"><td style="text-align:left; width:30%; padding:0; padding-right:0.6em; padding-left:0.6em; border-bottom: 1px solid #999;">
Date&nbsp;:</td><td class="infoboxcell" style="width:70%; padding:0; align:center; height:15px; padding-right:0.6em; border-bottom: 1px solid #999;">
{{{date}}}
</td></tr>}}
{{#if: {{{lieu|}}}|<tr style="spacing-top: 0px; spacing-bottom: 0px; vertical-align: middle; background:#f0f0f0; border: 1px solid #999;"><td style="text-align:left; width:30%; padding:0; padding-right:0.6em; padding-left:0.6em; border-bottom: 1px solid #999;">
Lieu&nbsp;:</td><td class="infoboxcell" style="padding:0; align:center; height:15px; padding-right:0.6em; border-bottom: 1px solid #999;">
{{{lieu}}}
</td></tr>}}
{{#if: {{{issue|}}}|<tr style="spacing-top: 0px; spacing-bottom: 0px; vertical-align: middle; background:#f0f0f0; border: 1px solid #999;"><td style="text-align:left; width:30%; padding:0; padding-right:0.6em; padding-left:0.6em; border-bottom: 1px solid #999;">
Issue&nbsp;:</td><td class="infoboxcell" style="padding:0; align:center; height:15px; padding-right:0.6em; border-bottom: 1px solid #999;">
{{{issue}}}
</td></tr>}}
{{#if: {{{faits notables|}}}|<tr style="spacing-top: 0px; spacing-bottom: 0px; vertical-align: middle; background:#f0f0f0; border: 1px solid #999;"><td style="text-align:left; width:30%; padding:0; padding-right:0.6em; padding-left:0.6em; border-bottom: 1px solid #999;">
Faits notables&nbsp;:</td><td class="infoboxcell" style="padding:0; align:center; height:15px; padding-right:0.6em; border-bottom: 1px solid #999;">
{{{faits notables}}}
</td></tr>}}
<!--Début entrée à doubles colonnes-->
<tr style="text-align:center; font-weight:normal; background:#848484;"><th colspan="2">'''Belligérants'''</th></tr>
<tr style="spacing-top: 0px; spacing-bottom: 0px;  text-align:center; background:#f0f0f0">
<td style="padding:2; border-right:1px solid #999999; width:50%">'''{{{belligérant1|}}}'''</td>
<td style="padding:2; border-left: 1px solid #999999; width:50%">'''{{{belligérant2|}}}'''</td>
</tr>
<tr style="text-align:center; font-weight:normal; background:#848484;"><th colspan="2">'''Forces'''</th></tr>
<tr style="spacing-top: 0px; spacing-bottom: 0px; text-align:left; background:#f0f0f0">
<td style="padding:2 2 2 5; border-right:1px solid #999999; width:50%">
{{{forces1|}}}</td>
<td style="padding:2 2 2 5; border-left:1px solid #999999; width:50%">
{{{forces2|}}}</td>
</tr>
<tr style="text-align:center; font-weight:normal; background:#848484;"><th colspan="2">'''Commandants'''</th></tr>
<tr style="spacing-top: 0px; spacing-bottom: 0px; text-align:left; background:#f0f0f0">
<td style="padding:2 2 2 5; border-right:1px solid #999999; width:50%">
{{{commandant1|}}}</td>
<td style="padding:2 2 2 5; border-left:1px solid #999999; width:50%">
{{{commandant2|}}}</td>
</tr>
<tr style="text-align:center; font-weight:normal; background:#848484;"><th colspan="2">'''Pertes'''</th></tr>
<tr style="spacing-top: 0px; spacing-bottom: 0px; text-align:left; background:#f0f0f0">
<td style="padding:2 2 2 5; border-right:1px solid #999999; width:50%">
{{{pertes1|}}}</td>
<td style="padding:2 2 2 5; border-left:1px solid #999999; width:50%">
{{{pertes2|}}}</td>
</tr>
<!--Fin entrées à double colonne-->
{{#if: {{{intervenant|}}}|<tr style="spacing-top: 0px; spacing-bottom: 0px; vertical-align: middle; background:#f0f0f0; border: 1px solid #999;"><td style="text-align:left; width:100px; padding:0; padding-right:0.6em; padding-left:0.6em; border-bottom: 1px solid #999; border-top: 1px solid #999;">
Autres intervenants&nbsp;:</td><td class="infoboxcell" style="width:60%; padding:0; align:center; height:15px; padding-right:0.6em; border-bottom: 1px solid #999; border-top: 1px solid #999;">
{{{intervenant}}}
</td></tr>}}
<!-- Footer -->
<tr><td colspan=2 style="text-align:right; padding:0px; background:#f0f0f0; font-weight:lighter; height:5px; font-size:0.75em;">[[Modèle:Infoboxbataille|<span style="color:#696969">Voir source</span>]] - <span class=plainlinks>[http://wiki.halo.fr/index.php?title=Mod%C3%A8le:Infoboxbataille&action=submit <span style="color:#696969">Modifier</span>]</span> - [[:Catégorie:Infobox|<span style="color:#696969">Liste</span>]]</td></tr>
</table>


*UNSC : <nowiki>{{Utilisateur:Solar/Infobox|Pillar of Autumn}}</nowiki> => {{Utilisateur:Solar/Infobox|Pillar of Autumn}}
*CAA : <nowiki>{{Utilisateur:Solar/Infobox|Butterworth|CAA}}</nowiki> => {{Utilisateur:Solar/Infobox|Butterworth|CAA}}
*Covenant : <nowiki>{{Utilisateur:Solar/Infobox|Deep Reverence|}}</nowiki> => {{Utilisateur:Solar/Infobox|Deep Reverence|}}


{{Utilisateur:Solar/Infobox
 
|nom=Nom de la bataille
[[Catégorie:Modèle de forme]]
|image=Image illustrant la bataille
</noinclude>
|date=Période ou date précise de la bataille
|lieu=Lieu où s'est déroulée la bataille
|issue=Vainqueur de la bataille, évènements notables en résultant
|faits notables=Faits notables au cours de la bataille
|belligérant1=Première faction
|belligérant2=Deuxième faction
|forces1=Composition des forces de la première faction
|forces2=Composition des forces de la deuxième faction
|commandant1=Commandant(s) de la première faction
|commandant2=Commandant(s) de la deuxième faction
|pertes1=Pertes de la première faction
|pertes2=Pertes de la deuxième faction
|intervenant=Autres factions ayant participé à la bataille
}}

Version du 3 mai 2015 à 16:07

[[UNSC {{{1}}}|UNSC {{{1}}}]]


Ce modèle permet de mettre automatiquement en place la typographie des noms de vaisseaux. Par défaut, le préfixe UNSC est ajouté. Il peut être remplacé par CAA pour les vaisseaux de l'administration coloniale, ou laissé vide pour les vaisseaux Covenants.