« 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 : | ||
<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 complet|{{PAGENAME}}}}}</th> | |||
</tr> | |||
{{#if:{{{image|}}}| | {{#if:{{{image|}}}| | ||
<tr> | |||
}} | <td colspan="2" style="text-align: center; padding: 0.8em;">{{{image}}}</td> | ||
</tr> | |||
}} | |||
{{#if:{{{nom de naissance|}}}| | {{#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|}}}| | {{#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|}}}| | {{#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|}}}| | {{#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|}}}| | {{#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> | ||
{{#if:{{{nationalité|}}}| | </tr> | ||
}} | |||
{{#if:{{{nationalité|}}}{{{ville|}}}| | |||
<tr> | |||
<th colspan="2" style="text-align: center; background-color: #E1E1E1; padding: 0.2em;">nationalité</th> | |||
</tr> | |||
}} | |||
{{#if:{{{profession|}}}| | {{#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|}}}| | {{#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> | ||
{{#if:{{{ | </tr> | ||
}} | |||
{{#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> | |||
</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:{{{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|}}}| | ||
<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|}}}| | {{#if:{{{compétitions notables|}}}| | ||
<tr> | |||
<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|}}}| | ||
| | |||
<tr> | |||
<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|}}}| | ||
<tr> | |||
<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|}}}| | ||
<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 national}}}</td> | ||
</tr> | |||
}} | |||
{{#if:{{{palmarès régional|}}}| | {{#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|}}}| | {{#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> | ||
{{#if:{{{ | </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|}}}| | |||
<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|}}}| | ||
<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> | |||