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

De Histo-Sport
Aucun résumé des modifications
Balise : Révocation manuelle
Aucun résumé des modifications
 
(2 versions intermédiaires par le même utilisateur non affichées)
Ligne 1 : Ligne 1 :
<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;">
<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>
   <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>
     <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>
   </tr>


  {{#if:{{{image|}}}|
{{#if:{{{image|}}}|
 
   <tr>
   <tr>
     <td colspan="2" style="text-align: center; padding: 0.8em;">{{{image}}}</td>
     <td colspan="2" style="text-align: center; padding: 0.8em;">{{{image}}}</td>
Ligne 10 : Ligne 12 :
   }}
   }}


  {{#if:{{{accronyme|}}}|
{{#if:{{{accronyme|}}}|
 
   <tr>
   <tr>
     <th scope="row" style="text-align: left; width: 40%; padding: 0.3em 0.5em; border-bottom: 1px dotted #ccc;">Acronyme</th>
     <th scope="row" style="text-align: left; width: 40%; padding: 0.3em 0.5em; border-bottom: 1px dotted #ccc;">Acronyme</th>
Ligne 17 : Ligne 20 :
   }}
   }}


  {{#if:{{{anciens noms|}}}|
{{#if:{{{anciens noms|}}}|
 
   <tr>
   <tr>
     <th scope="row" style="text-align: left; padding: 0.3em 0.5em; border-bottom: 1px dotted #ccc;">Anciens noms</th>
     <th scope="row" style="text-align: left; padding: 0.3em 0.5em; border-bottom: 1px dotted #ccc;">Anciens noms</th>
Ligne 24 : Ligne 28 :
   }}
   }}


  {{#if:{{{fondation|}}}|
{{#if:{{{fondation|}}}|
 
   <tr>
   <tr>
     <th scope="row" style="text-align: left; padding: 0.3em 0.5em; border-bottom: 1px dotted #ccc;">Fondation</th>
     <th scope="row" style="text-align: left; padding: 0.3em 0.5em; border-bottom: 1px dotted #ccc;">Fondation</th>
Ligne 31 : Ligne 36 :
   }}
   }}


  {{#if:{{{déclaration|}}}|
{{#if:{{{déclaration|}}}|
 
   <tr>
   <tr>
     <th scope="row" style="text-align: left; padding: 0.3em 0.5em; border-bottom: 1px dotted #ccc;">Déclaration</th>
     <th scope="row" style="text-align: left; padding: 0.3em 0.5em; border-bottom: 1px dotted #ccc;">Déclaration</th>
Ligne 38 : Ligne 44 :
   }}
   }}


  {{#if:{{{disparition|}}}|
{{#if:{{{disparition|}}}|
 
   <tr>
   <tr>
     <th scope="row" style="text-align: left; padding: 0.3em 0.5em; border-bottom: 1px dotted #ccc;">Disparition</th>
     <th scope="row" style="text-align: left; padding: 0.3em 0.5em; border-bottom: 1px dotted #ccc;">Disparition</th>
Ligne 45 : Ligne 52 :
   }}
   }}


  {{#if:{{{siège social|}}}{{{ville|}}}|
{{#if:{{{siège social|}}}{{{ville|}}}|
 
   <tr>
   <tr>
     <th colspan="2" style="text-align: center; background-color: #E1E1E1; padding: 0.2em;">Localisation</th>
     <th colspan="2" style="text-align: center; background-color: #E1E1E1; padding: 0.2em;">Localisation</th>
Ligne 51 : Ligne 59 :
   }}
   }}


  {{#if:{{{siège social|}}}|
{{#if:{{{siège social|}}}|
 
   <tr>
   <tr>
     <th scope="row" style="text-align: left; padding: 0.3em 0.5em; border-bottom: 1px dotted #ccc;">Siège social</th>
     <th scope="row" style="text-align: left; padding: 0.3em 0.5em; border-bottom: 1px dotted #ccc;">Siège social</th>
Ligne 58 : Ligne 67 :
   }}
   }}


  {{#if:{{{ville|}}}|
{{#if:{{{ville|}}}|
 
   <tr>
   <tr>
     <th scope="row" style="text-align: left; padding: 0.3em 0.5em; border-bottom: 1px dotted #ccc;">Ville</th>
     <th scope="row" style="text-align: left; padding: 0.3em 0.5em; border-bottom: 1px dotted #ccc;">Ville</th>
Ligne 65 : Ligne 75 :
   }}
   }}


  {{#if:{{{discipline|}}}{{{section|}}}{{{nombre de licenciés|}}}{{{président|}}}{{{personnalités|}}}|
{{#if:{{{discipline|}}}{{{section|}}}{{{nombre de licenciés|}}}{{{président|}}}{{{personnalités|}}}|
 
   <tr>
   <tr>
     <th colspan="2" style="text-align: center; background-color: #E1E1E1; padding: 0.2em;">Informations</th>
     <th colspan="2" style="text-align: center; background-color: #E1E1E1; padding: 0.2em;">Informations</th>
Ligne 71 : Ligne 82 :
   }}
   }}


  {{#if:{{{discipline|}}}|
{{#if:{{{discipline|}}}|
 
   <tr>
   <tr>
     <th scope="row" style="text-align: left; padding: 0.3em 0.5em; border-bottom: 1px dotted #ccc;">Discipline</th>
     <th scope="row" style="text-align: left; padding: 0.3em 0.5em; border-bottom: 1px dotted #ccc;">Discipline</th>
Ligne 78 : Ligne 90 :
   }}
   }}


  {{#if:{{{section|}}}|
{{#if:{{{section|}}}|
 
   <tr>
   <tr>
     <th scope="row" style="text-align: left; padding: 0.3em 0.5em; border-bottom: 1px dotted #ccc;">Section</th>
     <th scope="row" style="text-align: left; padding: 0.3em 0.5em; border-bottom: 1px dotted #ccc;">Section</th>
Ligne 85 : Ligne 98 :
   }}
   }}


  {{#if:{{{nombre de licenciés|}}}|
{{#if:{{{nombre de licenciés|}}}|
 
   <tr>
   <tr>
     <th scope="row" style="text-align: left; padding: 0.3em 0.5em; border-bottom: 1px dotted #ccc;">Licenciés</th>
     <th scope="row" style="text-align: left; padding: 0.3em 0.5em; border-bottom: 1px dotted #ccc;">Licenciés</th>
Ligne 92 : Ligne 106 :
   }}
   }}


  {{#if:{{{président|}}}|
{{#if:{{{président|}}}|
 
   <tr>
   <tr>
     <th scope="row" style="text-align: left; padding: 0.3em 0.5em; border-bottom: 1px dotted #ccc;">Président</th>
     <th scope="row" style="text-align: left; padding: 0.3em 0.5em; border-bottom: 1px dotted #ccc;">Président</th>
Ligne 99 : Ligne 114 :
   }}
   }}


  {{#if:{{{personnalités|}}}|
{{#if:{{{personnalités|}}}|
 
   <tr>
   <tr>
     <th scope="row" style="text-align: left; padding: 0.3em 0.5em; border-bottom: 1px dotted #ccc;">Personnalités</th>
     <th scope="row" style="text-align: left; padding: 0.3em 0.5em; border-bottom: 1px dotted #ccc;">Personnalités</th>
Ligne 106 : Ligne 122 :
   }}
   }}


  {{#if:{{{palmarès nationale|}}}{{{palmarès régional|}}}{{{palmarès local|}}}|
{{#if:{{{palmarès nationale|}}}{{{palmarès régional|}}}{{{palmarès local|}}}|
 
   <tr>
   <tr>
     <th colspan="2" style="text-align: center; background-color: #E1E1E1; padding: 0.2em;">Palmarès</th>
     <th colspan="2" style="text-align: center; background-color: #E1E1E1; padding: 0.2em;">Palmarès</th>
Ligne 112 : Ligne 129 :
   }}
   }}


  {{#if:{{{palmarès nationale|}}}|
{{#if:{{{palmarès nationale|}}}|
 
   <tr>
   <tr>
     <th scope="row" style="text-align: left; padding: 0.3em 0.5em; border-bottom: 1px dotted #ccc;">National</th>
     <th scope="row" style="text-align: left; padding: 0.3em 0.5em; border-bottom: 1px dotted #ccc;">National</th>
Ligne 119 : Ligne 137 :
   }}
   }}


  {{#if:{{{palmarès régional|}}}|
{{#if:{{{palmarès régional|}}}|
 
   <tr>
   <tr>
     <th scope="row" style="text-align: left; padding: 0.3em 0.5em; border-bottom: 1px dotted #ccc;">Régional</th>
     <th scope="row" style="text-align: left; padding: 0.3em 0.5em; border-bottom: 1px dotted #ccc;">Régional</th>
Ligne 126 : Ligne 145 :
   }}
   }}


  {{#if:{{{palmarès local|}}}|
{{#if:{{{palmarès local|}}}|
 
   <tr>
   <tr>
     <th scope="row" style="text-align: left; padding: 0.3em 0.5em; border-bottom: 1px dotted #ccc;">Local</th>
     <th scope="row" style="text-align: left; padding: 0.3em 0.5em; border-bottom: 1px dotted #ccc;">Local</th>
Ligne 133 : Ligne 153 :
   }}
   }}


  {{#if:{{{site web|}}}|
{{#if:{{{site web|}}}{{{fiche base|}}}|
 
   <tr>
   <tr>
     <th colspan="2" style="text-align: center; background-color: #E1E1E1; padding: 0.2em;">Lien</th>
     <th colspan="2" style="text-align: center; background-color: #E1E1E1; padding: 0.2em;">Lien</th>
   </tr>
   </tr>
  }}
{{#if:{{{site web|}}}|
   <tr>
   <tr>
     <th scope="row" style="text-align: left; padding: 0.5em;">Site web</th>
     <th scope="row" style="text-align: left; padding: 0.5em;">Site web</th>
Ligne 142 : Ligne 167 :
   </tr>
   </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>
</table></includeonly><noinclude>
== Mode d'emploi ==
== Mode d'emploi ==
Pour utiliser ce modèle sur une page de club, copiez-collez ceci :
Pour utiliser ce modèle sur une page de club, copiez-collez ceci :
<pre>
<pre>
{{Infobox
{{Infobox Club
| nom complet        =  
| nom complet        =  
| image              =  
| image              =  
Ligne 158 : Ligne 192 :
| discipline          =  
| discipline          =  
| section            =  
| section            =  
| affiliation        =
| nombre de licenciés =  
| nombre de licenciés =  
| président          =  
| président          =  
Ligne 164 : Ligne 199 :
| palmarès régional  =  
| palmarès régional  =  
| palmarès local      =  
| palmarès local      =  
| couleurs            =
| site web            =  
| site web            =  
| fiche base          =
}}
}}
</pre>
</pre>
</noinclude>
<noinclude>
{{Documentation}}
</noinclude>
</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.