Modèle:Caractère/documentation
Utilisation
Permet de <section begin="description" />remplacer un caractère, un signe, un symbole, ou un glyphe qui n’existe pas dans Unicode par une image spécifique à Wikisource<section end="description" />.
Les pages contenant ce modèle sont automatiquement catégorisées :
- dans la Catégorie:Caractère spécial pour les caractères bien définis, voir la Liste de caractères validés ci-dessous.
- dans la Catégorie:Caractère inconnu pour les mots ou caractères inconnus de ce modèle.
Utilisation simple
Si, en corrigeant une page, vous rencontrez un caractère (ou un mot) inconnu de vous :
- Remplacez le immédiatement par le modèle
{{?}}; - Si ensuite vous le trouvez, vous le remplacerez par ce modèle-ci avec le nom du caractère ;
- Cherchez-le dans le tableau ci-dessus et la Liste de caractères validés ci-dessous ;
- Puis dans la page de collecte des caractères spéciaux ;
- Si le caractère n'est pas disponible, signalez-le sur la page de questions sur les glyphes & caractères en précisant bien dans quelle page vous l'avez trouvé. Les spécialistes continuerons la recherche.
Utilisation avancée
- Générer un caractère spécial et l’incliner ou le redimensionner éventuellement.
- Repérer tous ces caractères et faciliter leur gestion.
- Ranger dans des catégories les pages qui contiennent ces caractères.
- Améliorer la graphie sans modifier les pages qui contiennent les caractères.
Paramètres
<templatedata> { "params": { "1": { "aliases": [ "caractère" ], "label": "Caractère", "description": "Le nom du glyphe ou caractère à afficher.", "type": "string", "required": true, "suggestedvalues": [ "Accolade V9", "Accolade H9", "double trait entre:", "trait entre:", "sigma renversé entre:", "foudre", "tau grec", "diacritique sanskrit dha", "sanscrit dha", "diacritique sanskrit visarga", "sanscrit visarga", "denier tournois", "sol tournois", "Dit.", "nouvelle lune à visage", "premier quartier de lune à visage", "dernier quartier de lune à visage", "pleine lune à visage", "math><", "X entre:", "X horizontal", "minerai de plomb", "ch", "EU", "eu", "Vaudelin AI", "Vaudelin AN", "Vaudelin Ə", "Vaudelin ə", "Vaudelin ON", "Vaudelin EU", "Vaudelin UN", "Vaudelin OU", "Vaudelin i-ə" ] }, "taille": { "label": "Taille du caractère", "description": "La taille du caractère dans une unité CSS valide.", "example": "25px, 2em, 50%", "type": "string" }, "c": { "label": "Pas de catégorisation", "description": "Passez le caractère « : » pour empêcher la catégorisation.", "example": ":", "type": "string" }, "angle": { "label": "Angle", "description": "L’angle du texte en degré.", "example": "60", "type": "number" }, "sp": { "label": "Espacement", "description": "L’espacement du caractère, pour compatibilité avec le modèle {{{1}}}. Il s’agit de la marge à droite du caractère inséré par le modèle.", "example": "0.3em", "type": "string" } }, "description": "Permet de remplacer un caractère, un signe, un symbole, ou un glyphe qui n’existe pas dans Unicode par une image spécifique à Wikisource.", "format": "inline", "paramOrder": [ "1", "taille", "sp", "c", "angle" ] } </templatedata>
Liste de caractères validés
Les catégories sont affichées ici pour information.
| Accolades | Affichage |
|---|---|
| <syntaxhighlight lang="wikitext" inline> |
|
| <syntaxhighlight lang="wikitext" inline>Fichier:Accolade H9.svg</syntaxhighlight> | Fichier:Accolade H9.svgCatégorie:Caractère spécial |
| Grecs anciens | Affichage |
| <syntaxhighlight lang="wikitext" inline>Fichier:Platon 2Traits2Points.svg</syntaxhighlight> | Fichier:Platon 2Traits2Points.svgCatégorie:Caractère spécial |
| <syntaxhighlight lang="wikitext" inline>Fichier:Platon trait2points.svg</syntaxhighlight> | Fichier:Platon trait2points.svgCatégorie:Caractère spécial |
| <syntaxhighlight lang="wikitext" inline>Fichier:Platon SigmaRenverse2points.svg</syntaxhighlight> | Fichier:Platon SigmaRenverse2points.svgCatégorie:Caractère spécial |
| <syntaxhighlight lang="wikitext" inline>Fichier:Platon Foudre.svg</syntaxhighlight> | Fichier:Platon Foudre.svgCatégorie:Caractère spécial |
| <syntaxhighlight lang="wikitext" inline> |
|
| Sanscrit | Affichage |
| <syntaxhighlight lang="wikitext" inline>Fichier:Diacritique sanskrit dha.svg</syntaxhighlight> | Fichier:Diacritique sanskrit dha.svgCatégorie:Caractère spécial |
| <syntaxhighlight lang="wikitext" inline>Fichier:Sanscrit dha.svg</syntaxhighlight> | Fichier:Sanscrit dha.svgCatégorie:Caractère spécial |
| <syntaxhighlight lang="wikitext" inline>Fichier:Diacritique sanskrit visarga.svg</syntaxhighlight> | Fichier:Diacritique sanskrit visarga.svgCatégorie:Caractère spécial |
| <syntaxhighlight lang="wikitext" inline>Fichier:Sanscrit visarga.svg</syntaxhighlight> | Fichier:Sanscrit visarga.svgCatégorie:Caractère spécial |
| Monnaies anciennes | Affichage |
| <syntaxhighlight lang="wikitext" inline> |
|
| <syntaxhighlight lang="wikitext" inline> |
|
| <syntaxhighlight lang="wikitext" inline> |
|
| Lunes à visages | Affichage |
| <syntaxhighlight lang="wikitext" inline>⍰</syntaxhighlight> | |
| <syntaxhighlight lang="wikitext" inline>⍰</syntaxhighlight> | |
| <syntaxhighlight lang="wikitext" inline>⍰</syntaxhighlight> | |
| <syntaxhighlight lang="wikitext" inline>⍰</syntaxhighlight> | |
| Divers | Affichage |
| <syntaxhighlight lang="wikitext" inline>Fichier:Math car interaction.svg</syntaxhighlight> | Fichier:Math car interaction.svgCatégorie:Caractère spécial |
| <syntaxhighlight lang="wikitext" inline>Fichier:Platon Xentre2points.svg</syntaxhighlight> | Fichier:Platon Xentre2points.svgCatégorie:Caractère spécial |
| <syntaxhighlight lang="wikitext" inline> |
|
| <syntaxhighlight lang="wikitext" inline>Fichier:Encyc minerai de plomb.svg</syntaxhighlight> | Fichier:Encyc minerai de plomb.svgCatégorie:Caractère spécial |
| Pour Livre:Poisson - Alphabet nouveau - 1609.djvu | Affichage |
| <syntaxhighlight lang="wikitext" inline>ch</syntaxhighlight> | chCatégorie:Caractère spécial |
| Pour Livre:De la Ramée - Grammaire de P. de la Ramée, 1572.pdf | Affichage |
| <syntaxhighlight lang="wikitext" inline>EU</syntaxhighlight> | EUCatégorie:Caractère spécial |
| <syntaxhighlight lang="wikitext" inline>eu</syntaxhighlight> | euCatégorie:Caractère spécial |
| Pour Livre:Vaudelin - Nouvelle manière d’écrire comme on parle en France, 1713.pdf | Affichage |
| <syntaxhighlight lang="wikitext" inline>AI</syntaxhighlight> | AICatégorie:Caractère spécial |
| <syntaxhighlight lang="wikitext" inline>AN</syntaxhighlight> | ANCatégorie:Caractère spécial |
| <syntaxhighlight lang="wikitext" inline>Ə</syntaxhighlight> | ƏCatégorie:Caractère spécial |
| <syntaxhighlight lang="wikitext" inline>ə</syntaxhighlight> | əCatégorie:Caractère spécial |
| <syntaxhighlight lang="wikitext" inline>ON</syntaxhighlight> | ONCatégorie:Caractère spécial |
| <syntaxhighlight lang="wikitext" inline>EU</syntaxhighlight> | EUCatégorie:Caractère spécial |
| <syntaxhighlight lang="wikitext" inline>UN</syntaxhighlight> | UNCatégorie:Caractère spécial |
| <syntaxhighlight lang="wikitext" inline>OU</syntaxhighlight> | OUCatégorie:Caractère spécial |
| <syntaxhighlight lang="wikitext" inline>i-ə</syntaxhighlight> | i-əCatégorie:Caractère spécial |
CARACTÈRES EN RECHERCHE OU EN TEST — NE PAS UTILISER ou en discuter
| <syntaxhighlight lang="wikitext" inline>Fichier:Palmes académiques.svg</syntaxhighlight> | Fichier:Palmes académiques.svgCatégorie:Caractère spécial |
| <syntaxhighlight lang="wikitext" inline>R_</syntaxhighlight> | R_Catégorie:Caractère spécial |
| <syntaxhighlight lang="wikitext" inline>><</syntaxhighlight> | ><Catégorie:Caractère spécial |
| <syntaxhighlight lang="wikitext" inline>❄</syntaxhighlight> | ❄Catégorie:Caractère spécial |
| <syntaxhighlight lang="wikitext" inline>W.</syntaxhighlight> | W.Catégorie:Caractère spécial |
| <syntaxhighlight lang="wikitext" inline>♯</syntaxhighlight> | ♯Catégorie:Caractère spécial |
Conception des caractères
Ces caractères ont été créés avec l’application libre Inskscape.
Vous pouvez en créer vous-même en reprenant un des caractères pré-existants du modèle. Dans ce cas il ne faut pas copier-coller la courbe de contour du caractère car alors le fond du caractère n'est plus transparent. Il faut seulement déplacer les points de construction de la courbe et éventuellement en ajouter ou en enlever.
Exemples
| Code | Affichage |
|---|---|
| <syntaxhighlight lang="wikitext" inline>Fichier:Platon Foudre.svg</syntaxhighlight> | Fichier:Platon Foudre.svg |
| <syntaxhighlight lang="wikitext" inline>Fichier:Math car interaction.svg</syntaxhighlight> | Fichier:Math car interaction.svg |
| <syntaxhighlight lang="wikitext"> | |
| <syntaxhighlight lang="wikitext" inline>⍰</syntaxhighlight> | ⍰ |
| <syntaxhighlight lang="wikitext" inline>⍰</syntaxhighlight> | ⍰ |