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

De Histo-Sport
Aucun résumé des modifications
Aucun résumé des modifications
 
(15 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;">
|-
 
! 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>
  <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:{{{image|}}}|
 
  <tr>
    <td colspan="2" style="text-align: center; padding: 0.8em;">{{{image}}}</td>
  </tr>
  }}
 
{{#if:{{{accronyme|}}}|
{{#if:{{{accronyme|}}}|
! scope="row" style="text-align: left; padding-right: 10px;" | Acronyme
 
| {{{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|}}}|
{{#if:{{{anciens noms|}}}|
! scope="row" style="text-align: left;" | Anciens noms
 
| {{{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|}}}|
{{#if:{{{fondation|}}}|
! scope="row" style="text-align: left;" | Fondation
 
| {{{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|}}}|
{{#if:{{{déclaration|}}}|
! scope="row" style="text-align: left;" | Déclaration
 
| {{{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|}}}|
{{#if:{{{disparition|}}}|
! scope="row" style="text-align: left;" | Disparition
 
| {{{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>
! colspan="2" style="text-align: center; background-color: #E1E1E1;" | Localisation
  }}
|-
 
{{#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|}}}|
{{#if:{{{siège social|}}}|
! scope="row" style="text-align: left;" | Siège social
 
| {{{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|}}}|
{{#if:{{{ville|}}}|
! scope="row" style="text-align: left;" | Ville
 
| {{{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>
! colspan="2" style="text-align: center; background-color: #E1E1E1;" | Informations générales
  }}
|-
 
{{#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|}}}|
{{#if:{{{discipline|}}}|
! scope="row" style="text-align: left;" | Discipline
 
| {{{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|}}}|
{{#if:{{{section|}}}|
! scope="row" style="text-align: left;" | Section
 
| {{{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|}}}|
{{#if:{{{nombre de licenciés|}}}|
! scope="row" style="text-align: left;" | Licenciés
 
| {{{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|}}}|
{{#if:{{{président|}}}|
! scope="row" style="text-align: left;" | Président
 
| {{{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|}}}|
{{#if:{{{personnalités|}}}|
! scope="row" style="text-align: left;" | Personnalités
 
| {{{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>
! colspan="2" style="text-align: center; background-color: #E1E1E1;" | Palmarès
  }}
|-
 
{{#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|}}}|
{{#if:{{{palmarès nationale|}}}|
! scope="row" style="text-align: left;" | National
 
| {{{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|}}}|
{{#if:{{{palmarès régional|}}}|
! scope="row" style="text-align: left;" | Régional
 
| {{{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|}}}|
{{#if:{{{palmarès local|}}}|
! scope="row" style="text-align: left;" | Local
 
| {{{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|}}}{{{fiche base|}}}|
 
  <tr>
    <th colspan="2" style="text-align: center; background-color: #E1E1E1; padding: 0.2em;">Lien</th>
  </tr>
  }}
 
{{#if:{{{site web|}}}|
{{#if:{{{site web|}}}|
|-
 
| colspan="2" style="text-align: center; background-color: #f9f9f9;" | [{{{site web}}} Site web officiel]
  <tr>
    <th scope="row" style="text-align: left; padding: 0.5em;">Site web</th>
    <td style="padding: 0.5em;">{{{site web}}}</td>
  </tr>
  }}
 
{{#if:{{{fiche base|}}}|
 
  <tr>
    <th scope="row" style="text-align: left; padding: 0.5em;">Fiche base</th>
    <td style="padding: 0.5em;">[{{{fiche base}}} Voir la fiche]</td>
  </tr>
  }}
 
</table></includeonly><noinclude>
== Mode d'emploi ==
Pour utiliser ce modèle sur une page de club, copiez-collez ceci :
<pre>
{{Infobox Club
| nom complet        =
| image              =
| accronyme          =
| anciens noms        =
| fondation          =
| déclaration        =
| disparition        =
| siège social        =
| ville              =
| discipline          =
| section            =
| affiliation        =
| nombre de licenciés =
| président          =
| personnalités      =
| palmarès nationale  =
| palmarès régional  =
| palmarès local      =
| couleurs            =
| site web           =
| fiche base          =
}}
}}
|}</includeonly>
</pre>
</noinclude>
 
<noinclude>
{{Documentation}}
</noinclude>

Dernière version du 4 juillet 2026 à 10:20

Mode d'emploi

[modifier le wikicode]

Pour utiliser ce modèle sur une page de club, copiez-collez ceci :

{{Infobox Club
| nom complet         = 
| image               = 
| accronyme           = 
| anciens noms        = 
| fondation           = 
| déclaration         = 
| disparition         = 
| siège social        = 
| ville               = 
| discipline          = 
| section             = 
| affiliation         =
| nombre de licenciés = 
| président           = 
| personnalités       = 
| palmarès nationale  = 
| palmarès régional   = 
| palmarès local      = 
| couleurs            =
| site web            = 
| fiche base          = 
}}



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.