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

De Histo-Sport
Aucun résumé des modifications
Aucun résumé des modifications
Ligne 1 : Ligne 1 :
{| class="infobox" style="width:22em; font-size:90%; text-align:left; border:1px solid #aaa; background:#f9f9f9; color:black; line-height:1.4em;"
<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" style="text-align:center; font-size:125%; font-weight:bold; background:#e6e6e6; padding:0.4em;" | {{{nom|}}}
  <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|}}}|
{{#if:{{{image|}}}|
|-
 
| colspan="2" style="text-align:center; padding:0.5em;" | [[File:{{{image}}}|280px]]
  <tr>
}}
    <td colspan="2" style="text-align: center; padding: 0.8em;">{{{image}}}</td>
  </tr>
  }}
 
{{#if:{{{nom de naissance|}}}|
{{#if:{{{nom de naissance|}}}|
|-
 
! style="background:#f0f0f0; padding:0.3em 0.5em;" | Nom de naissance
  <tr>
| style="padding:0.3em 0.5em;" | {{{nom de naissance}}}
    <th scope="row" style="text-align: left; width: 40%; padding: 0.3em 0.5em; border-bottom: 1px dotted #ccc;">Nom de naissance</th>
}}
    <td style="padding: 0.3em 0.5em; border-bottom: 1px dotted #ccc;">{{{nom de naissance}}}</td>
  </tr>
  }}
 
{{#if:{{{date de naissance|}}}|
{{#if:{{{date de naissance|}}}|
|-
 
! style="background:#f0f0f0; padding:0.3em 0.5em;" | Date de naissance
  <tr>
| style="padding:0.3em 0.5em;" | {{{date de naissance}}}
    <th scope="row" style="text-align: left; padding: 0.3em 0.5em; border-bottom: 1px dotted #ccc;">Date de naissance</th>
}}
    <td style="padding: 0.3em 0.5em; border-bottom: 1px dotted #ccc;">{{{date de naissance}}}</td>
  </tr>
  }}
 
{{#if:{{{lieu de naissance|}}}|
{{#if:{{{lieu de naissance|}}}|
|-
 
! style="background:#f0f0f0; padding:0.3em 0.5em;" | Lieu de naissance
  <tr>
| style="padding:0.3em 0.5em;" | {{{lieu de naissance}}}
    <th scope="row" style="text-align: left; padding: 0.3em 0.5em; border-bottom: 1px dotted #ccc;">Lieu de naissance</th>
}}
    <td style="padding: 0.3em 0.5em; border-bottom: 1px dotted #ccc;">{{{Lieu de naissance}}}</td>
  </tr>
  }}
 
{{#if:{{{date de décès|}}}|
{{#if:{{{date de décès|}}}|
|-
 
! style="background:#f0f0f0; padding:0.3em 0.5em;" | Date de décès
  <tr>
| style="padding:0.3em 0.5em;" | {{{date de décès}}}
    <th scope="row" style="text-align: left; padding: 0.3em 0.5em; border-bottom: 1px dotted #ccc;">Date de décès</th>
}}
    <td style="padding: 0.3em 0.5em; border-bottom: 1px dotted #ccc;">{{{date de décès}}}</td>
  </tr>
  }}
 
{{#if:{{{lieu de décès|}}}|
{{#if:{{{lieu de décès|}}}|
|-
 
! style="background:#f0f0f0; padding:0.3em 0.5em;" | Lieu de décès
  <tr>
| style="padding:0.3em 0.5em;" | {{{lieu de décès}}}
    <th scope="row" style="text-align: left; padding: 0.3em 0.5em; border-bottom: 1px dotted #ccc;">Lieu de décès</th>
}}
    <td style="padding: 0.3em 0.5em; border-bottom: 1px dotted #ccc;">{{{lieu de décès}}}</td>
{{#if:{{{nationalité|}}}|
  </tr>
|-
  }}
! style="background:#f0f0f0; padding:0.3em 0.5em;" | Nationalité
 
| style="padding:0.3em 0.5em;" | {{{nationalité}}}
{{#if:{{{nationalité|}}}{{{ville|}}}|
}}
 
  <tr>
    <th colspan="2" style="text-align: center; background-color: #E1E1E1; padding: 0.2em;">nationalité</th>
  </tr>
  }}
 
{{#if:{{{profession|}}}|
{{#if:{{{profession|}}}|
|-
 
! style="background:#f0f0f0; padding:0.3em 0.5em;" | Profession
  <tr>
| style="padding:0.3em 0.5em;" | {{{profession}}}
    <th scope="row" style="text-align: left; padding: 0.3em 0.5em; border-bottom: 1px dotted #ccc;">Profession</th>
}}
    <td style="padding: 0.3em 0.5em; border-bottom: 1px dotted #ccc;">{{{profession}}}</td>
  </tr>
  }}
 
{{#if:{{{période active|}}}|
{{#if:{{{période active|}}}|
|-
 
! style="background:#f0f0f0; padding:0.3em 0.5em;" | Période active
  <tr>
| style="padding:0.3em 0.5em;" | {{{période active}}}
    <th scope="row" style="text-align: left; padding: 0.3em 0.5em; border-bottom: 1px dotted #ccc;">Période active</th>
}}
    <td style="padding: 0.3em 0.5em; border-bottom: 1px dotted #ccc;">{{{période active}}}</td>
{{#if:{{{disciplines|}}}|
  </tr>
|-
  }}
! style="background:#f0f0f0; padding:0.3em 0.5em;" | Disciplines
 
| style="padding:0.3em 0.5em;" | {{{disciplines}}}
{{#if:{{{discipline|}}}{{{section|}}}{{{nombre de licenciés|}}}{{{président|}}}{{{personnalités|}}}|
}}
 
{{#if:{{{club|}}}|
  <tr>
|-
    <th colspan="2" style="text-align: center; background-color: #E1E1E1; padding: 0.2em;">Informations</th>
! style="background:#f0f0f0; padding:0.3em 0.5em;" | Club
  </tr>
| style="padding:0.3em 0.5em;" | {{{club}}}
  }}
}}
 
{{#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:{{{club(s)|}}}|
 
  <tr>
    <th scope="row" style="text-align: left; padding: 0.3em 0.5em; border-bottom: 1px dotted #ccc;">Club(s)</th>
    <td style="padding: 0.3em 0.5em; border-bottom: 1px dotted #ccc;">{{{club(s)}}}</td>
  </tr>
  }}
 
{{#if:{{{fonction|}}}|
{{#if:{{{fonction|}}}|
|-
 
! style="background:#f0f0f0; padding:0.3em 0.5em;" | Fonction
  <tr>
| style="padding:0.3em 0.5em;" | {{{fonction}}}
    <th scope="row" style="text-align: left; padding: 0.3em 0.5em; border-bottom: 1px dotted #ccc;">Fonction</th>
}}
    <td style="padding: 0.3em 0.5em; border-bottom: 1px dotted #ccc;">{{{fonction}}}</td>
  </tr>
  }}
 
{{#if:{{{compétitions notables|}}}|
{{#if:{{{compétitions notables|}}}|
|-
 
! style="background:#f0f0f0; padding:0.3em 0.5em;" | Compétitions notables
  <tr>
| style="padding:0.3em 0.5em;" | {{{compétitions notables}}}
    <th scope="row" style="text-align: left; padding: 0.3em 0.5em; border-bottom: 1px dotted #ccc;">Compétitions notables</th>
}}
    <td style="padding: 0.3em 0.5em; border-bottom: 1px dotted #ccc;">{{{compétitions notables}}}</td>
  </tr>
  }}
 
{{#if:{{{records|}}}|
{{#if:{{{records|}}}|
|-
 
! style="background:#f0f0f0; padding:0.3em 0.5em;" | Records
  <tr>
| style="padding:0.3em 0.5em;" | {{{records}}}
    <th scope="row" style="text-align: left; padding: 0.3em 0.5em; border-bottom: 1px dotted #ccc;">Records</th>
}}
    <td style="padding: 0.3em 0.5em; border-bottom: 1px dotted #ccc;">{{{records}}}</td>
  </tr>
  }}
 
{{#if:{{{distinctions|}}}{{{palmarès international|}}}{{#if:{{{palmarès national|}}}{{{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:{{{distinctions|}}}|
 
  <tr>
    <th scope="row" style="text-align: left; padding: 0.3em 0.5em; border-bottom: 1px dotted #ccc;">Distinctions</th>
    <td style="padding: 0.3em 0.5em; border-bottom: 1px dotted #ccc;">{{{distinctions}}}</td>
  </tr>
  }}
 
{{#if:{{{palmarès international|}}}|
{{#if:{{{palmarès international|}}}|
|-
 
! style="background:#f0f0f0; padding:0.3em 0.5em;" | Palmarès international
  <tr>
| style="padding:0.3em 0.5em;" | {{{palmarès international}}}
    <th scope="row" style="text-align: left; padding: 0.3em 0.5em; border-bottom: 1px dotted #ccc;">International</th>
}}
    <td style="padding: 0.3em 0.5em; border-bottom: 1px dotted #ccc;">{{{palmarès international}}}</td>
  </tr>
  }}
 
{{#if:{{{palmarès national|}}}|
{{#if:{{{palmarès national|}}}|
|-
 
! style="background:#f0f0f0; padding:0.3em 0.5em;" | Palmarès national
  <tr>
| style="padding:0.3em 0.5em;" | {{{palmarès national}}}
    <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 national}}}</td>
  </tr>
  }}
 
{{#if:{{{palmarès régional|}}}|
{{#if:{{{palmarès régional|}}}|
|-
 
! style="background:#f0f0f0; padding:0.3em 0.5em;" | Palmarès régional
  <tr>
| style="padding:0.3em 0.5em;" | {{{palmarès régional}}}
    <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|}}}|
|-
 
! style="background:#f0f0f0; padding:0.3em 0.5em;" | Palmarès local
  <tr>
| style="padding:0.3em 0.5em;" | {{{palmarès local}}}
    <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>
{{#if:{{{distinctions|}}}|
  </tr>
|-
  }}
! style="background:#f0f0f0; padding:0.3em 0.5em;" | Distinctions
 
| style="padding:0.3em 0.5em;" | {{{distinctions}}}
{{#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|}}}|
 
  <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|}}}|
{{#if:{{{fiche base|}}}|
|-
 
! style="background:#f0f0f0; padding:0.3em 0.5em;" | Fiche base
  <tr>
| style="padding:0.3em 0.5em;" | {{{fiche base}}}
    <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>

Version du 4 août 2026 à 18:56