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 | Une '''Infobox''' est un modèle spécial présenté sous forme de tableau, situé en haut à droite d'un article et permettant de faire une synthèse de certaines caractéristiques liées au sujet de l'article (âge, taille, affiliation, …). Chaque infobox est liée à un certain sujet, et toutes les pages concernant ce sujet doivent comprendre cette infobox. | ||
Voici la liste des infobox existantes : [[:Catégorie:Infobox]] | |||
==Utilisation== | ==Utilisation== | ||
Chaque page d'infobox comprend un code | Chaque page d'infobox comprend un modèle de code à copier/coller afin de rendre effective l'infobox. Voici par exemple le code à copier/coller pour faire apparaître l'infobox [[:modèle:infoboxarmecov|Armes Covenantes]] : | ||
<toggledisplay showtext=[Voir] hidetext=[Masquer]> | |||
{{quote | {{quote | ||
|texte=<nowiki>{{infoboxarmecov</nowiki><br /> | |texte=<nowiki>{{infoboxarmecov</nowiki><br /> | ||
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>}} | <nowiki>}}</nowiki>}}</toggledisplay> | ||
<div style="color:darkred"> | <div style="color:darkred"> | ||
*Ne copiez le code | *Ne copiez jamais le code complet de l'infobox sur la page.<br> | ||
*Placez toujours l'infobox tout en haut de la page, mais après les messages d'avertissement ( | *Placez toujours l'infobox tout en haut de la page, mais après les messages d'avertissement (si il y en a).</div> | ||
Une fois le code "modèle" 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 à l'infobox d'exemple disponible sur la page de l'infobox. Toute les instructions pour savoir quoi y mettre seront indiquées. | |||
Il n'est pas obligatoire de remplir toutes les lignes, et c'est généralement impossible. Si une ligne ne concerne pas le sujet (par exemple la ligne "classe (Spartan)" d'infoboxpersoUNSC, réservée aux Spartans), alors vous pouvez la supprimer. | |||
Si une entrée ne peut être remplie car vous n'êtes pas en possession de l'information, ne la supprimez pas. Quelqu'un d'autre pourrait la remplir, et si aucune source ne précise cette information, peut-être sera-t-elle dévoilée à l'avenir. | |||
==Création== | ==Création== | ||
La création d'une infobox est un processus complexe. Pour vous en convaincre, voici le code de l'infobox [[:Modèle:InfoboxpersoUNSC]] : | |||
<toggledisplay hidetext=[Masquer] showtext=[Voir]> | |||
{{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>}}</toggledisplay> | |||
À moins que vous ne possédiez un bon niveau en HTML et CSS, ou une parfaite connaissance du fonctionnement d'une infobox, il est préférable de faire part des modifications à apporter à une infobox, ou de la création d'une nouvelle infobox, à un membre capable d'en réaliser une. | |||
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. | |||
'' | |||
'''Membres aptes à la création d'une infobox :''' | |||
*[[Utilisateur:Solar|Solar]] | |||
*[[Utilisateur:Spartan2006|Spartan2006]] | |||
{{ | {{Aide}} | ||
[[Catégorie:Aide]] |