« Modèle:Infobox Club » : différence entre les versions

De Histo-Sport
Aucun résumé des modifications
Aucun résumé des modifications
 
(13 versions intermédiaires par le même utilisateur non affichées)
Ligne 1 : Ligne 1 :
<includeonly>{| class="infobox vcard" style="width: 22em; font-size: 88%; line-height: 1.5em; border: 1px solid #aaa; background-color: #f9f9f9; color: black; margin: 0.5em 0 0.5em 1em; padding: 0.2em; float: right; clear: right;"
<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>
! colspan="2" class="entete sport" style="text-align: center; font-size: 125%; font-weight: bold; background-color: #B0C4DE; padding: 0.4em;" | <span class="fn">{{{nom complet|{{PAGENAME}}}}}</span>
    <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:{{{accronyme|}}}|
 
! scope="row" style="text-align: left; padding-right: 10px;" | Acronyme
  {{#if:{{{image|}}}|
| {{{accronyme}}}
  <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            =
}}
}}
{{#if:{{{anciens noms|}}}|
</pre>
! scope="row" style="text-align: left;" | Anciens noms
</noinclude>
| {{{anciens noms}}}
 
|-
<noinclude>
}}
{{Documentation}}
{{#if:{{{fondation|}}}|
</noinclude>
! scope="row" style="text-align: left;" | Fondation
| {{{fondation}}}
|-
}}
{{#if:{{{déclaration|}}}|
! scope="row" style="text-align: left;" | Déclaration
| {{{déclaration}}}
|-
}}
{{#if:{{{disparition|}}}|
! scope="row" style="text-align: left;" | Disparition
| {{{disparition}}}
|-
}}
|-
! colspan="2" style="text-align: center; background-color: #E1E1E1;" | Localisation
|-
{{#if:{{{siège social|}}}|
! scope="row" style="text-align: left;" | Siège social
| {{{siège social}}}
|-
}}
{{#if:{{{ville|}}}|
! scope="row" style="text-align: left;" | Ville
| {{{ville}}}
|-
}}
|-
! colspan="2" style="text-align: center; background-color: #E1E1E1;" | Informations générales
|-
{{#if:{{{discipline|}}}|
! scope="row" style="text-align: left;" | Discipline
| {{{discipline}}}
|-
}}
{{#if:{{{section|}}}|
! scope="row" style="text-align: left;" | Section
| {{{section}}}
|-
}}
{{#if:{{{nombre de licenciés|}}}|
! scope="row" style="text-align: left;" | Licenciés
| {{{nombre de licenciés}}}
|-
}}
{{#if:{{{président|}}}|
! scope="row" style="text-align: left;" | Président
| {{{président}}}
|-
}}
{{#if:{{{personnalités|}}}|
! scope="row" style="text-align: left;" | Personnalités
| {{{personnalités}}}
|-
}}
|-
! colspan="2" style="text-align: center; background-color: #E1E1E1;" | Palmarès
|-
{{#if:{{{palmarès nationale|}}}|
! scope="row" style="text-align: left;" | National
| {{{palmarès nationale}}}
|-
}}
{{#if:{{{palmarès régional|}}}|
! scope="row" style="text-align: left;" | Régional
| {{{palmarès régional}}}
|-
}}
{{#if:{{{palmarès local|}}}|
! scope="row" style="text-align: left;" | Local
| {{{palmarès local}}}
|-
}}
{{#if:{{{site web|}}}|
|-
| colspan="2" style="text-align: center; background-color: #f9f9f9;" | [{{{site web}}} Site web officiel]
}}
|}</includeonly>

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

Ce modèle permet d'afficher une boîte d'information (infobox) sur les pages des clubs sportifs.

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            = 
}}
  • 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.