Template:Accent
Code |
---|
{{subst:#switch: |` |g |grave={{subst:#switch:|a=à|e=è|i=ì|o=ò|u=ù|A=À|E=È|I=Ì|O=Ò|U=Ù}} |' |´ |a |acute={{subst:#switch:|a=á|e=é|i=í|o=ó|u=ú|y=ý|A=Á|E=É|I=Í|O=Ó|U=Ú|Y=Ý}} |^ |c |C |circum |circumflex={{subst:#switch:|a=â|e=ê|i=î|o=ô|u=û|A=Â|E=Ê|I=Î|O=Ô|U=Û}} |~ |t |tilde={{subst:#switch:|a=ã|n=ñ|o=õ|A=Ã|N=Ñ|O=Õ}} |: |u |umlaut={{subst:#switch:|a=ä|e=ë|i=ï|o=ö|u=ü|y=ÿ|A=Ä|E=Ë|I=Ï|O=Ö|U=Ü|Y=Ÿ}} |#default=}} |
Usage
This template puts accent marks over letters. To do this change the first parameter (or the type parameter) to be the type of accent needed and change the second parameter (or the letter parameter) to be the letter to put the accent on. For example to make a ñ you would use {{subst:Accent|~|n}} In this way you can make all of the letters into different accents.
Note: You MUST substitute the template or else it will not work.
To admins: This page is purposefully not transcluded onto very many or any pages, however this is because to work properly it must be substituted, please do not delete because of this.
Template:Substituted
Table
Accent | A , a | E , e | I , i | N , n | O , o | U , u | Y , y |
---|---|---|---|---|---|---|---|
Grave, G, ` | À , à | È , è | Ì , ì | -- | Ò , ò | Ù , ù | -- |
Acute, A, ' | Á , á | É , é | Í , í | -- | Ó , ó | Ú , ú | Ý , ý |
Circumflex, C, ^ | Â , â | Ê , ê | Î , î | -- | Ô , ô | Û , û | -- |
Tilde, T, ~ | Ã , ã | -- | -- | Ñ , ñ | Õ , õ | -- | -- |
Umlaut, U | Ä , ä | Ë , ë | Ï , ï | -- | Ö , ö | Ü , ü | Ÿ , ÿ |
The above documentation is transcluded from Template:Accent/doc. (edit | history) Editors can experiment in this template's sandbox (create) and testcases (create) pages. Please add categories and interwikis to the /doc subpage. Subpages of this template. |