« Modèle:Infobox article » : différence entre les versions
De Tj-encyclopédie
Autres actions
Page créée avec « .infobox { float: right; clear: right; margin: 0 0 1em 1em; background: var(--color-surface-2); border: 1px solid var(--color-base--subtle); font-size: 0.9em; width: 260px; } .infobox-titre { background: var(--color-accent); color: var(--color-base-fixed); text-align: center; padding: 0.4em; } .infobox-image, .infobox-legende { text-align: center; padding: 0.3em; } » |
Aucun résumé des modifications |
||
| Ligne 1 : | Ligne 1 : | ||
. | <noinclude> | ||
== Description == | |||
Infobox générique pour les articles de l'encyclopédie. | |||
=== Utilisation === | |||
<pre> | |||
{{Infobox article | |||
| titre = | |||
| image = | |||
| image_légende = | |||
}} | |||
</pre> | |||
[[Catégorie:Modèle Infobox]] | |||
</noinclude><includeonly><table class="tj-infobox" style="float:right; clear:right; margin:0 0 1em 1em; border:1px solid var(--border-color-base, #aaa); background:var(--color-surface-2, #f9f9f9); color:var(--color-base, #202122); font-size:90%; width:260px; border-collapse:collapse;"> | |||
<tr> | |||
} | <th colspan="2" style="background:#2c4a8e; color:white; padding:6px 4px; font-size:105%; text-align:center; word-wrap:break-word; white-space:normal;">{{{titre|{{PAGENAME}}}}}</th> | ||
</tr> | |||
{{#if:{{{image|}}}| | |||
<tr> | |||
} | <td colspan="2" style="text-align:center; padding:6px 4px; background:var(--color-surface-2, #f9f9f9);">[[Fichier:{{{image|}}}|250px|center]]</td> | ||
</tr> | |||
}} | |||
{{#if:{{{image_légende|}}}| | |||
<tr> | |||
<td colspan="2" style="text-align:center; padding:2px 4px; font-style:italic; font-size:90%; background:var(--color-surface-2, #f9f9f9);">{{{image_légende|}}}</td> | |||
</tr> | |||
}} | |||
</table></includeonly> | |||
Dernière version du 18 juin 2026 à 21:24
Description
Infobox générique pour les articles de l'encyclopédie.
Utilisation
{{Infobox article
| titre =
| image =
| image_légende =
}}