Modification de Aide: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.
Attention : vous n’êtes pas connecté(e). Votre adresse IP sera visible de tout le monde si vous faites des modifications. Si vous vous connectez ou créez un compte, vos modifications seront attribuées à votre propre nom d’utilisateur(rice) et vous aurez d’autres avantages.
La modification peut être annulée. Veuillez vérifier les différences ci-dessous pour voir si c’est bien ce que vous voulez faire, puis publier ces changements pour finaliser l’annulation de cette modification.
Version actuelle | Votre texte | ||
Ligne 1 : | Ligne 1 : | ||
Une '''Infobox''' est un type de modèle présenté sous forme de tableau, situé en haut à droite d'un article et permettant de faire une synthèse de certaines caractéristiques (âge, taille, affiliation…). Chaque infobox est liée à un certain sujet (personnage, vaisseau), et toutes les pages concernant ce sujet doivent comprendre cette infobox | Une '''Infobox''' est un type de modèle présenté sous forme de tableau, situé en haut à droite d'un article et permettant de faire une synthèse de certaines caractéristiques (âge, taille, affiliation…). Chaque infobox est liée à un certain sujet (personnage, vaisseau), et toutes les pages concernant ce sujet doivent comprendre cette infobox. | ||
Voici la liste des infobox existantes : '''[[:Catégorie:Infobox|Infobox]]''' | Voici la liste des infobox existantes : '''[[:Catégorie:Infobox|Infobox]]''' | ||
==Utilisation== | ==Utilisation== | ||
Ligne 29 : | Ligne 31 : | ||
<nowiki>|vélocité=</nowiki><br /> | <nowiki>|vélocité=</nowiki><br /> | ||
<nowiki>|zoom=</nowiki><br /> | <nowiki>|zoom=</nowiki><br /> | ||
<nowiki>| | <nowiki>|fabriquant=</nowiki><br /> | ||
<nowiki>|jeux=</nowiki><br /> | <nowiki>|jeux=</nowiki><br /> | ||
<nowiki>}}</nowiki>}}{{Collapse-end}} | <nowiki>}}</nowiki>}}{{Collapse-end}} | ||
<div style="color:darkred"> | <div style="color:darkred"> | ||
*Ne copiez le code source de l'infobox sur la page | *Ne copiez jamais le code source de l'infobox sur la page.<br> | ||
*Placez toujours l'infobox tout en haut de la page, mais après les messages d'avertissement (s’il y en a).</div> | *Placez toujours l'infobox tout en haut de la page, mais après les messages d'avertissement (s’il y en a).</div> | ||
Une fois le code d'affichage copié/collé sur la page, les caractéristiques peuvent être ajoutées après le signe = de chaque ligne. Si vous ne savez pas quoi mettre dans une ligne, référez-vous aux instructions dans l'infobox d'exemple disponible sur la page de l'infobox. | Une fois le code d'affichage copié/collé sur la page, les caractéristiques peuvent être ajoutées après le signe = de chaque ligne. Si vous ne savez pas quoi mettre dans une ligne, référez-vous aux instructions dans l'infobox d'exemple disponible sur la page de l'infobox. | ||
Ligne 42 : | Ligne 47 : | ||
*Lorsque vous prévisualisez une infobox, vérifiez que vous avez fermé toutes les balises des liens : une balise ouverte interférerait avec le fonctionnement de l'infobox. | *Lorsque vous prévisualisez une infobox, vérifiez que vous avez fermé toutes les balises des liens : une balise ouverte interférerait avec le fonctionnement de l'infobox. | ||
==Création== | ==Création== | ||
La création d'une infobox est un processus complexe. Voici par exemple le code source de l'infobox [[:Modèle:InfoboxpersoUNSC]] : | |||
{{Collapse|showtext=Voir|hidetext=Masquer}} | |||
{{quote | |||
|texte=<nowiki><table border="0" cellspacing="0" cellpadding="0" style="float:right; clear:right; margin: 0 0 .5em 1em; width:250px; background:#ffffff; border-collapse:collapse; border:1px solid #999999; font-size:smaller; line-height:1.5;"> | |||
<tr><td colspan="2"><div id="infoboxinternal"> | |||
<table border="0" cellspacing="0" cellpadding="4" style="float:right; margin:0 0 0 0; width:100%; background:#ffffff; border-collapse:collapse;"> | |||
<tr style="text-align:center; color:#ffffff; background:#338833; font-size:larger;"><th colspan="2">{{{nom}}}</th></tr> | |||
<tr style="text-align:center;"><td colspan="2" style="padding:0; background:#66cc66;">{{{image|}}}</td></tr> {{t|1=|1{{{hidea|}}}=<tr><th colspan="2" style="text-align:center; font-weight:normal; background:#66cc66;">'''Informations'''</th></tr>}} {{t|1=<tr style="spacing-top: 0px; spacing-bottom: 0px; vertical-align: middle; background: {{{3|#eeffee}}}"><td style="text-align:right; width:100px; padding:0; border-top: 1px solid #999;">Naissance : </td><td class="infoboxcell" style="width:150px; padding:0; align:center; height:15px; border-top: 1px solid #999;"> | |||
{{{naissance|}}} | |||
</td></tr>|1{{{naissance|}}}=}} {{t|1=<tr style="spacing-top: 0px; spacing-bottom: 0px; vertical-align: middle; background: {{{3|#eeffee}}}"><td style="text-align:right; padding:0;">Décès : </td><td class="infoboxcell" style="padding:0; align:center; height:15px;"> | |||
{{{décès|}}} | |||
</td></tr>|1{{{décès|}}}=}} {{t|1=<tr style="spacing-top: 0px; spacing-bottom: 0px; vertical-align: middle; background: {{{3|#eeffee}}}"><td style="text-align:right; padding:0;">Sexe : </td><td class="infoboxcell" style="padding:0; align:center; height:15px;"> | |||
{{{sexe|}}} | |||
</td></tr>|1{{{sexe|}}}=}} {{t|1=<tr style="spacing-top: 0px; spacing-bottom: 0px; vertical-align: middle; background: {{{3|#eeffee}}}"><td style="text-align:right; padding:0;">Taille : </td><td class="infoboxcell" style="padding:0; align:center; height:15px;"> | |||
{{{taille|}}} | |||
</td></tr>|1{{{taille|}}}=}} {{t|1=<tr style="spacing-top: 0px; spacing-bottom: 0px; vertical-align: middle; background: {{{3|#eeffee}}}"><td style="text-align:right; padding:0;">Poids : </td><td class="infoboxcell" style="padding:0; align:center; height:15px;"> | |||
{{{poids|}}} | |||
</td></tr>|1{{{poids|}}}=}} {{t|1=<tr style="spacing-top: 0px; spacing-bottom: 0px; vertical-align: middle; background: {{{3|#eeffee}}}"><td style="text-align:right; padding:0;">Cheveux : </td><td class="infoboxcell" style="padding:0; align:center; height:15px;"> | |||
{{{cheveux|}}} | |||
</td></tr>|1{{{cheveux|}}}=}} {{t|1=<tr style="spacing-top: 0px; spacing-bottom: 0px; vertical-align: middle; background: {{{3|#eeffee}}}"><td style="text-align:right; padding:0;">Yeux : </td><td class="infoboxcell" style="padding:0; align:center; height:15px;"> | |||
{{{yeux|}}} | |||
</td></tr>|1{{{yeux|}}}=}} {{t|1=<tr style="padding:0; spacing-top: 0px; spacing-bottom: 0px; vertical-align: middle; background: {{{3|#eeffee}}}"><td style="text-align:right; padding:0;">Groupe sanguin : </td><td class="infoboxcell" style="padding:0; align:center; height:15px;"> | |||
{{{groupe sanguin|}}} | |||
</td></tr>|1{{{groupe sanguin|}}}=}} {{t|1=<tr style="padding:0; spacing-top: 0px; spacing-bottom: 0px; vertical-align: middle; background: {{{3|#eeffee}}}"><td style="text-align:right; padding:0;">Affiliation : </td><td class="infoboxcell" style="padding:0; align:center; height:15px;"> | |||
{{{affiliation|}}} | |||
</td></tr>|1{{{affiliation|}}}=}} {{t|1=<tr style="padding:0; spacing-top: 0px; spacing-bottom: 0px; vertical-align: middle; background: {{{3|#eeffee}}}"><td style="text-align:right; padding:0;">Numéro de service : </td><td class="infoboxcell" style="padding:0; align:center; height:15px;"> | |||
{{{numéro de service|}}} | |||
</td></tr>|1{{{numéro de service|}}}=}} {{t|1=<tr style="padding:0; spacing-top: 0px; spacing-bottom: 0px; vertical-align: middle; background: {{{3|#eeffee}}}"><td style="text-align:right; padding:0;">Grade : </td><td class="infoboxcell" style="padding:0; align:center; height:15px;"> | |||
{{{grade|}}} | |||
</td></tr>|1{{{grade|}}}=}} {{t|1=<tr style="padding:0; spacing-top: 0px; spacing-bottom: 0px; vertical-align: middle; background: {{{3|#eeffee}}}"><td style="text-align:right; padding:0;">Vaisseaux : </td><td class="infoboxcell" style="padding:0; align:center; height:15px;"> | |||
{{{vaisseaux|}}} | |||
</td></tr>|1{{{vaisseaux|}}}=}} {{t|1=<tr style="padding:0; spacing-top: 0px; spacing-bottom: 0px; vertical-align: middle; background: {{{3|#eeffee}}}"><td style="text-align:right; padding:0;">Spécialité : </td><td class="infoboxcell" style="padding:0; align:center; height:15px;"> | |||
{{{spécialité|}}} | |||
</td></tr>|1{{{spécialité|}}}=}} {{t|1=<tr style="padding:0; spacing-top: 0px; spacing-bottom: 0px; vertical-align: middle; background: {{{3|#eeffee}}}"><td style="text-align:right; padding:0;">Classe : </td><td class="infoboxcell" style="padding:0; align:center; height:15px;"> | |||
{{{classe (spartan)|}}} | |||
</td></tr>|1{{{classe (spartan)|}}}=}} {{t|1=<tr style="padding:0; spacing-top: 0px; spacing-bottom: 0px; vertical-align: middle; background: {{{3|#eeffee}}}"><td style="text-align:right; padding:0;">Type : </td><td class="infoboxcell" style="padding:0; align:center; height:15px;"> | |||
{{{type (IA)|}}} | |||
</td></tr>|1{{{type (IA)|}}}=}} {{t|1=<tr style="padding:0; spacing-top: 0px; spacing-bottom: 0px; vertical-align: middle; background: {{{3|#eeffee}}}"><td style="text-align:right; padding:0;">Apparence : </td><td class="infoboxcell" style="padding:0; align:center; height:15px;"> | |||
{{{apparence (IA)|}}} | |||
</td></tr>|1{{{apparence (IA)|}}}=}} {{t|1=<tr style="padding:0; spacing-top: 0px; spacing-bottom: 0px; vertical-align: middle; background: {{{3|#eeffee}}}"><td style="text-align:right; padding:0;">Batailles : </td><td class="infoboxcell" style="padding:0; align:center; height:15px;"> | |||
{{{batailles|}}} | |||
</td></tr>|1{{{batailles|}}}=}} {{t|1=<tr style="padding:0; spacing-top: 0px; spacing-bottom: 0px; vertical-align: middle; background: {{{3|#eeffee}}}"><td style="text-align:right; padding:0;">Acteurs : </td><td class="infoboxcell" style="padding:0; align:center; height:15px;"> | |||
{{{acteurs|}}} | |||
</td></tr>|1{{{acteurs|}}}=}} </table></div></td></tr><tr><td id="infoboxend" class="plainlinks" style="text-align:right; width:100%;"></td></tr></table></nowiki>}}{{Collapse-end}} | |||
À moins que vous ne possédiez un bon niveau en HTML, CSS et WikiCode, il est préférable de faire part des modifications à apporter à une infobox ou de la création d'une nouvelle infobox à un membre habitué. | |||
Avant toute demande de création d'infobox, soyez sûr d'avoir listé les critères, et que votre infobox sera bien utile au Wiki. | |||
{{Modèle:Aide}} | {{Modèle:Aide}} |