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

De Histo-Sport
Aucun résumé des modifications
Aucun résumé des modifications
Balise : Révoqué
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;">
<tr>
<th colspan="2" style="text-align: center; font-size: 125%; background-color: #B0C4DE; padding: 0.6em; border-bottom: 1px solid #aaa;">{{{nom|{{PAGENAME}}}}}</th>
</tr>
{{#if:{{{image|}}}|
<tr>
<td colspan="2" style="text-align: center; padding: 0.8em;">{{{image}}}</td>
</tr>
}}
{{#if:{{{nom de naissance|}}}|
<tr>
<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|}}}{{{lieu de naissance|}}}|
<tr>
<th colspan="2" style="text-align: center; background-color: #E1E1E1; padding: 0.2em;">Naissance</th>
</tr>
}}
{{#if:{{{date de naissance|}}}|
<tr>
<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|}}}|
<tr>
<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|}}}{{{lieu de décès|}}}|
<tr>
<th colspan="2" style="text-align: center; background-color: #E1E1E1; padding: 0.2em;">Décès</th>
</tr>
}}
{{#if:{{{date de décès|}}}|
<tr>
<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|}}}|
<tr>
<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>
</tr>
}}
{{#if:{{{nationalité|}}}{{{profession|}}}|
<tr>
<th colspan="2" style="text-align: center; background-color: #E1E1E1; padding: 0.2em;">Identité</th>
</tr>
}}
{{#if:{{{nationalité|}}}|
<tr>
<th scope="row" style="text-align: left; padding: 0.3em 0.5em; border-bottom: 1px dotted #ccc;">Nationalité</th>
<td style="padding: 0.3em 0.5em; border-bottom: 1px dotted #ccc;">{{{nationalité}}}</td>
</tr>
}}
{{#if:{{{profession|}}}|
<tr>
<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|}}}{{{disciplines|}}}{{{club|}}}{{{fonction|}}}|
<tr>
<th colspan="2" style="text-align: center; background-color: #E1E1E1; padding: 0.2em;">Carrière sportive</th>
</tr>
}}
{{#if:{{{période active|}}}|
<tr>
<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>
</tr>
}}
{{#if:{{{disciplines|}}}|
<tr>
<th scope="row" style="text-align: left; padding: 0.3em 0.5em; border-bottom: 1px dotted #ccc;">Disciplines</th>
<td style="padding: 0.3em 0.5em; border-bottom: 1 dotted #ccc;">{{{disciplines}}}</td>
</tr>
}}
{{#if:{{{club|}}}|
<tr>
<th scope="row" style="text-align: left; padding: 0.3em 0.5em; border-bottom: 1px dotted #ccc;">Club</th>
<td style="padding: 0.3em 0.5em; border-bottom: 1px dotted #ccc;">{{{club}}}</td>
</tr>
}}
{{#if:{{{fonction|}}}|
<tr>
<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|}}}{{{records|}}}|
<tr>
<tr>
<th colspan="2" style="text-align: center; background-color: #E1E1E1; padding: 0.2em;">Performances</th>
<th colspan="2" style="text-align: center; background-color: #E1E1E1; padding: 0.2em;">Performances</th>
</tr>
</tr>
}}{{#if:{{{compétitions notables|}}}|
}}


{{#if:{{{compétitions notables|}}}|
<tr>
<tr>
<th scope="row" style="text-align: left; padding: 0.3em 0.5em; border-bottom: 1px dotted #ccc;">Compétitions notables</th>
<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>
<td style="padding: 0.3em 0.5em; border-bottom: 1px dotted #ccc;">{{{compétitions notables}}}</td>
</tr>
</tr>
}}{{#if:{{{records|}}}|
}}


{{#if:{{{records|}}}|
<tr>
<tr>
<th scope="row" style="text-align: left; padding: 0.3em 0.5em; border-bottom: 1px dotted #ccc;">Records</th>
<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>
<td style="padding: 0.3em 0.5em; border-bottom: 1px dotted #ccc;">{{{records}}}</td>
</tr>
</tr>
}}{{#if:{{{palmarès international|}}}{{{palmarès national|}}}{{{palmarès régional|}}}{{{palmarès local|}}}|
}}


{{#if:{{{palmarès international|}}}{{{palmarès national|}}}{{{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>
</tr>
</tr>
}}{{#if:{{{palmarès international|}}}|
}}


{{#if:{{{palmarès international|}}}|
<tr>
<tr>
<th scope="row" style="text-align: left; padding: 0.3em 0.5em;">International</th>
<th scope="row">International</th>
<td style="padding: 0.3em 0.5em;">{{{palmarès international}}}</td>
<td>{{{palmarès international}}}</td>
</tr>
</tr>
}}{{#if:{{{palmarès national|}}}|
}}


{{#if:{{{palmarès national|}}}|
<tr>
<tr>
<th scope="row" style="text-align: left; padding: 0.3em 0.5em;">National</th>
<th scope="row">National</th>
<td style="padding: 0.3em 0.5em;">{{{palmarès national}}}</td>
<td>{{{palmarès national}}}</td>
</tr>
</tr>
}}{{#if:{{{palmarès régional|}}}|
}}


{{#if:{{{palmarès régional|}}}|
<tr>
<tr>
<th scope="row" style="text-align: left; padding: 0.3em 0.5em;">Régional</th>
<th scope="row">Régional</th>
<td style="padding: 0.3em 0.5em;">{{{palmarès régional}}}</td>
<td>{{{palmarès régional}}}</td>
</tr>
</tr>
}}{{#if:{{{palmarès local|}}}|
}}


{{#if:{{{palmarès local|}}}|
<tr>
<tr>
<th scope="row" style="text-align: left; padding: 0.3em 0.5em;">Local</th>
<th scope="row">Local</th>
<td style="padding: 0.3em 0.5em;">{{{palmarès local}}}</td>
<td>{{{palmarès local}}}</td>
</tr>
</tr>
}}{{#if:{{{distinctions|}}}|
}}


{{#if:{{{distinctions|}}}|
<tr>
<tr>
<th colspan="2" style="text-align: center; background-color: #E1E1E1; padding: 0.2em;">Distinctions</th>
<th colspan="2" style="text-align: center; background-color: #E1E1E1; padding: 0.2em;">Distinctions</th>
</tr>
</tr>
<tr>
<tr>
<th scope="row" style="text-align: left; padding: 0.5em;">Distinctions</th>
<th scope="row">Distinctions</th>
<td style="padding: 0.5em;">{{{distinctions}}}</td>
<td>{{{distinctions}}}</td>
</tr>
</tr>
}}{{#if:{{{fiche base|}}}|
}}


{{#if:{{{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>
<tr>
<tr>
<th scope="row" style="text-align: left; padding: 0.5em;">Fiche base</th>
<th scope="row">Fiche base</th>
<td style="padding: 0.5em;">[{{{fiche base}}} Voir la fiche]</td>
<td>[{{{fiche base}}} Voir la fiche]</td>
</tr>
</tr>
}}</table></includeonly><noinclude>
== Mode d'emploi ==
Pour utiliser ce modèle sur une page d'athlète, copiez-collez ceci :<pre>
{{Infobox Athlète
| nom =
| image =
| nom de naissance =
| date de naissance =
| lieu de naissance =
| date de décès =
| lieu de décès =
| nationalité =
| profession =
| période active =
| disciplines =
| club =
| fonction =
| compétitions notables =
| records =
| palmarès international =
| palmarès national =
| palmarès régional =
| palmarès local =
| distinctions =
| fiche base =
}}
}}
</pre></noinclude><noinclude>
 
{{Documentation}}
</table></includeonly>
</noinclude>

Version du 4 août 2026 à 18:33