« Modèle:Infobox V3/Langue/Échantillon/Documentation » : différence entre les versions
Apparence
Page créée avec « <noinclude><div class="documentation" style="background-color: #e6f4ea;">{{Sous-page de documentation}}</noinclude> = 📘 Description = Ce modèle affiche un **échantillon de langue** dans une infobox V3. Il est conçu pour montrer une phrase ou expression dans la langue étudiée, accompagnée d’une **transcription phonétique** et d’une **traduction**. = 🔧 Syntaxe = À insérer entre les balises : <syntaxhighlight lang="text"> {{Infobox V3/Tableau... » |
|||
| Ligne 35 : | Ligne 35 : | ||
= 🧪 Exemples = | = 🧪 Exemples = | ||
<div> | |||
{{Infobox V3/Début Documentation}} | {{Infobox V3/Début Documentation}} | ||
{{Infobox V3/Langue/Échantillon | {{Infobox V3/Langue/Échantillon | ||
| Ligne 44 : | Ligne 44 : | ||
}} | }} | ||
{{Infobox V3/Fin Documentation}} | {{Infobox V3/Fin Documentation}} | ||
<pre> | |||
{{Infobox V3/Langue/Échantillon | |||
| Charte = biographie | |||
| Échantillon = Mäläc̈ tälüm šorah | |||
| Transcription = [ˈmæ.læt͡ʃ ˈtæ.lʊm ˈʃɔ.ɾɑ] | |||
| Traduction = Je me souviens de ta lumière | |||
}} | |||
</pre> | |||
</div> | |||
{{clr}} | |||
= 🧩 Paramètres = | = 🧩 Paramètres = | ||
Version du 9 juin 2025 à 21:04
📘 Description
Ce modèle affiche un **échantillon de langue** dans une infobox V3. Il est conçu pour montrer une phrase ou expression dans la langue étudiée, accompagnée d’une **transcription phonétique** et d’une **traduction**.
🔧 Syntaxe
À insérer entre les balises :
{{Infobox V3/Tableau début}}
...
{{Infobox V3/Langue/Échantillon
| Charte = biographie
| Échantillon =
| Transcription =
| Traduction =
}}
...
{{Infobox V3/Tableau fin}}
Ou dans une infobox modulaire :
{{Infobox V3/Début}}
{{Infobox V3/Langue/Échantillon
| Charte = biographie
| Échantillon =
| Transcription =
| Traduction =
}}
{{Infobox V3/Fin}}
🧪 Exemples
Échantillon
| Texte original | Mäläc̈ tälüm šorah |
|---|---|
| Transcription phonétique | [ˈmæ.læt͡ʃ ˈtæ.lʊm ˈʃɔ.ɾɑ] |
| Traduction | Je me souviens de ta lumière |
{{Infobox V3/Langue/Échantillon
| Charte = biographie
| Échantillon = Mäläc̈ tälüm šorah
| Transcription = [ˈmæ.læt͡ʃ ˈtæ.lʊm ˈʃɔ.ɾɑ]
| Traduction = Je me souviens de ta lumière
}}
🧩 Paramètres
| Paramètre | Description | Exemple |
|---|---|---|
Charte |
Nom de la charte graphique utilisée | biographie
|
Échantillon |
Phrase ou mot dans la langue étudiée | Mäläc̈ tälüm šorah
|
Transcription |
Transcription phonétique (API, etc.) | [ˈmæ.læt͡ʃ ˈtæ.lʊm ˈʃɔ.ɾɑ]
|
Traduction |
Traduction du texte original | Je me souviens de ta lumière
|
🧰 CSS recommandé
Tu peux ajouter un style spécifique pour les échantillons, par exemple :
```css .infobox .transcription {
font-family: 'Charis SIL', 'Doulos SIL', serif; font-style: italic; color: #444;
} .infobox .langue-echantillon {
font-weight: bold;
}