« Modèle:Infobox Club » : différence entre les versions
De Histo-Sport
Aucun résumé des modifications |
Aucun résumé des modifications |
||
| (6 versions intermédiaires par le même utilisateur non affichées) | |||
| Ligne 1 : | Ligne 1 : | ||
<includeonly> | <includeonly><table class="infobox" style="width: 23em; border: 1px solid #aaa; background-color: #f9f9f9; color: black; float: right; margin: 0.5em 0 0.5em 1em; padding: 0; font-size: 88%; line-height: 1.5em; border-radius: 10px; overflow: hidden; border-collapse: separate;"> | ||
<tr> | |||
<th colspan="2" style="text-align: center; font-size: 125%; background-color: #B0C4DE; padding: 0.6em; border-bottom: 1px solid #aaa;">{{{nom complet|{{PAGENAME}}}}}</th> | |||
|- | </tr> | ||
{{#if:{{{ | |||
{{ | {{#if:{{{image|}}}| | ||
{{ | <tr> | ||
<td colspan="2" style="text-align: center; padding: 0.8em;">{{{image}}}</td> | |||
</tr> | |||
}} | |||
{{#if:{{{accronyme|}}}| | |||
<tr> | |||
<th scope="row" style="text-align: left; width: 40%; padding: 0.3em 0.5em; border-bottom: 1px dotted #ccc;">Acronyme</th> | |||
<td style="padding: 0.3em 0.5em; border-bottom: 1px dotted #ccc;">{{{accronyme}}}</td> | |||
</tr> | |||
}} | |||
{{#if:{{{anciens noms|}}}| | |||
<tr> | |||
<th scope="row" style="text-align: left; padding: 0.3em 0.5em; border-bottom: 1px dotted #ccc;">Anciens noms</th> | |||
<td style="padding: 0.3em 0.5em; border-bottom: 1px dotted #ccc;">{{{anciens noms}}}</td> | |||
</tr> | |||
}} | |||
{{#if:{{{fondation|}}}| | |||
<tr> | |||
<th scope="row" style="text-align: left; padding: 0.3em 0.5em; border-bottom: 1px dotted #ccc;">Fondation</th> | |||
<td style="padding: 0.3em 0.5em; border-bottom: 1px dotted #ccc;">{{{fondation}}}</td> | |||
</tr> | |||
}} | |||
{{#if:{{{déclaration|}}}| | |||
<tr> | |||
<th scope="row" style="text-align: left; padding: 0.3em 0.5em; border-bottom: 1px dotted #ccc;">Déclaration</th> | |||
<td style="padding: 0.3em 0.5em; border-bottom: 1px dotted #ccc;">{{{déclaration}}}</td> | |||
</tr> | |||
}} | |||
{{#if:{{{disparition|}}}| | |||
<tr> | |||
<th scope="row" style="text-align: left; padding: 0.3em 0.5em; border-bottom: 1px dotted #ccc;">Disparition</th> | |||
<td style="padding: 0.3em 0.5em; border-bottom: 1px dotted #ccc;">{{{disparition}}}</td> | |||
</tr> | |||
}} | |||
{{#if:{{{siège social|}}}{{{ville|}}}| | |||
<tr> | |||
<th colspan="2" style="text-align: center; background-color: #E1E1E1; padding: 0.2em;">Localisation</th> | |||
</tr> | |||
}} | |||
{{#if:{{{siège social|}}}| | |||
<tr> | |||
<th scope="row" style="text-align: left; padding: 0.3em 0.5em; border-bottom: 1px dotted #ccc;">Siège social</th> | |||
<td style="padding: 0.3em 0.5em; border-bottom: 1px dotted #ccc;">{{{siège social}}}</td> | |||
</tr> | |||
}} | |||
{{#if:{{{ville|}}}| | |||
<tr> | |||
<th scope="row" style="text-align: left; padding: 0.3em 0.5em; border-bottom: 1px dotted #ccc;">Ville</th> | |||
<td style="padding: 0.3em 0.5em; border-bottom: 1px dotted #ccc;">{{{ville}}}</td> | |||
</tr> | |||
}} | |||
{{#if:{{{discipline|}}}{{{section|}}}{{{nombre de licenciés|}}}{{{président|}}}{{{personnalités|}}}| | |||
<tr> | |||
<th colspan="2" style="text-align: center; background-color: #E1E1E1; padding: 0.2em;">Informations</th> | |||
</tr> | |||
}} | |||
{{#if:{{{discipline|}}}| | |||
<tr> | |||
<th scope="row" style="text-align: left; padding: 0.3em 0.5em; border-bottom: 1px dotted #ccc;">Discipline</th> | |||
<td style="padding: 0.3em 0.5em; border-bottom: 1px dotted #ccc;">{{{discipline}}}</td> | |||
</tr> | |||
}} | |||
{{#if:{{{section|}}}| | |||
<tr> | |||
<th scope="row" style="text-align: left; padding: 0.3em 0.5em; border-bottom: 1px dotted #ccc;">Section</th> | |||
<td style="padding: 0.3em 0.5em; border-bottom: 1px dotted #ccc;">{{{section}}}</td> | |||
</tr> | |||
}} | |||
{{#if:{{{nombre de licenciés|}}}| | |||
<tr> | |||
<th scope="row" style="text-align: left; padding: 0.3em 0.5em; border-bottom: 1px dotted #ccc;">Licenciés</th> | |||
<td style="padding: 0.3em 0.5em; border-bottom: 1px dotted #ccc;">{{{nombre de licenciés}}}</td> | |||
</tr> | |||
}} | |||
{{#if:{{{président|}}}| | |||
<tr> | |||
<th scope="row" style="text-align: left; padding: 0.3em 0.5em; border-bottom: 1px dotted #ccc;">Président</th> | |||
<td style="padding: 0.3em 0.5em; border-bottom: 1px dotted #ccc;">{{{président}}}</td> | |||
</tr> | |||
}} | |||
{{#if:{{{personnalités|}}}| | |||
<tr> | |||
<th scope="row" style="text-align: left; padding: 0.3em 0.5em; border-bottom: 1px dotted #ccc;">Personnalités</th> | |||
<td style="padding: 0.3em 0.5em; border-bottom: 1px dotted #ccc;">{{{personnalités}}}</td> | |||
</tr> | |||
}} | |||
{{#if:{{{palmarès nationale|}}}{{{palmarès régional|}}}{{{palmarès local|}}}| | |||
<tr> | |||
<th colspan="2" style="text-align: center; background-color: #E1E1E1; padding: 0.2em;">Palmarès</th> | |||
</tr> | |||
}} | |||
{{#if:{{{palmarès nationale|}}}| | |||
<tr> | |||
<th scope="row" style="text-align: left; padding: 0.3em 0.5em; border-bottom: 1px dotted #ccc;">National</th> | |||
<td style="padding: 0.3em 0.5em; border-bottom: 1px dotted #ccc;">{{{palmarès nationale}}}</td> | |||
</tr> | |||
}} | |||
{{#if:{{{palmarès régional|}}}| | |||
<tr> | |||
<th scope="row" style="text-align: left; padding: 0.3em 0.5em; border-bottom: 1px dotted #ccc;">Régional</th> | |||
<td style="padding: 0.3em 0.5em; border-bottom: 1px dotted #ccc;">{{{palmarès régional}}}</td> | |||
</tr> | |||
}} | |||
{{#if:{{{palmarès local|}}}| | |||
<tr> | |||
<th scope="row" style="text-align: left; padding: 0.3em 0.5em; border-bottom: 1px dotted #ccc;">Local</th> | |||
<td style="padding: 0.3em 0.5em; border-bottom: 1px dotted #ccc;">{{{palmarès local}}}</td> | |||
</tr> | |||
}} | |||
{{#if:{{{site web|}}}| | |||
<tr> | |||
<th colspan="2" style="text-align: center; background-color: #E1E1E1; padding: 0.2em;">Lien</th> | |||
</tr> | |||
<tr> | |||
<th scope="row" style="text-align: left; padding: 0.5em;">Site web</th> | |||
<td style="padding: 0.5em;">{{{site web}}}</td> | |||
</tr> | |||
}} | |||
</table></includeonly><noinclude> | |||
== Mode d'emploi == | |||
Pour utiliser ce modèle sur une page de club, copiez-collez ceci : | |||
<pre> | |||
{{Infobox | |||
| nom complet = | |||
| image = | |||
| accronyme = | |||
| anciens noms = | |||
| fondation = | |||
| déclaration = | |||
| disparition = | |||
| siège social = | |||
| ville = | |||
| discipline = | |||
| section = | |||
| nombre de licenciés = | |||
| président = | |||
| personnalités = | |||
| palmarès nationale = | |||
| palmarès régional = | |||
| palmarès local = | |||
| site web = | |||
}} | }} | ||
</pre> | |||
</noinclude> | |||
<noinclude> | |||
{{Documentation}} | |||
</noinclude> | |||
{{ | |||
Dernière version du 26 février 2026 à 17:11
Mode d'emploi
[modifier le wikicode]Pour utiliser ce modèle sur une page de club, copiez-collez ceci :
{{Infobox
| nom complet =
| image =
| accronyme =
| anciens noms =
| fondation =
| déclaration =
| disparition =
| siège social =
| ville =
| discipline =
| section =
| nombre de licenciés =
| président =
| personnalités =
| palmarès nationale =
| palmarès régional =
| palmarès local =
| site web =
}}
Documentation du modèle
Utilisation
[modifier le wikicode]Ce modèle permet d'afficher une boîte d'information (infobox) sur les pages des clubs sportifs.
Syntaxe
[modifier le wikicode]Copiez et collez ceci en haut de l'article d'un club :
{{Infobox
| nom complet =
| image =
| accronyme =
| anciens noms =
| fondation =
| déclaration =
| disparition =
| siège social =
| ville =
| discipline =
| section =
| nombre de licenciés =
| président =
| personnalités =
| palmarès nationale =
| palmarès régional =
| palmarès local =
| site web =
}}
Paramètres
[modifier le wikicode]- nom complet : Nom officiel du club.
- image : Logo (syntaxe : [[Fichier:Nom.png|200px|center]]).
- fondation : Date de création.
- ville : Ville d'origine.
- site web : URL officielle.