Difference between revisions of "Template:Colon"
Jump to navigation
Jump to search
Mediawiki>Fuhghettaboutit m (Changed protection level of Template:Colon: Enable access by template editors ([Edit=Allow only template editors and admins] (indefinite) [Move=Allow only template editors and admins] (indefinite))) |
m (1 revision imported) |
||
(One intermediate revision by the same user not shown) | |||
Line 1: | Line 1: | ||
− | &# | + | {{LangSwitch|lang={{#if:{{{lang|}}}|{{{lang|}}}|{{PAGELANGUAGE}}}} |
+ | |default<!--Please keep the ASCII colon returned as HTML-encoded everywhere, as it MUST NOT be parsed as wiki markup --> | ||
+ | =:  | ||
+ | |<!--Colon with Germanic spacing | ||
+ | -->Zinh-Po-space/en/vls/nds/nds-nl/nl/li/lb/af/de/bar | ||
+ | =:  | ||
+ | |<!--Colon with Romance spacing | ||
+ | -->Zinh-nnbsp-Po-space/fr/fr-be/fr-ca/fr-ch/fr-lb/oc/ca/wa/br/gsw/la/it/co/eml/nap/rgn/scn/vec/es/gl/ext/pt/pt-br/ro/rm/sl/sk/cs/hu/bs/hr/sr-Latn/sr-el/Cyrl/sr/sr-ec/bg/mk/be/be-tarask/ru/Grek/el/pnt | ||
+ | = :  | ||
+ | |<!--Colon with spacing avoiding confusion with several Arabic diacritics, U+0589 Armenian punctuation Full stop, U+05C3 Hebrew punctuation sign Sof Pasuk, U+0983 Bengali combining sign Visarga, U+0903 Devanagari combining sign Visarga, U+0A03 Gurmukhi combining sign Visarga, U+0A83 Gujarati combining sign Visarga, U+0B03 Oryia combining sign Visarga, U+0B83 Tamil combining sign Visarga, Telugu combining sign Visarga, Kannada combining sign Visarga, U+0D03 Malayalam combining sign Visarga, U+0D83 Sinhalese combining sign Visarga, U+0F7F Tibetan combining sign Rnam Bcad (Nam Che), U+17C7 / U+17C8 Khmer combining signs Reahmuk / Yukaleakpintu, U+2D53 Tifinagh letter Yu (Touareg Yaw) | ||
+ | -->Zinh-nbsp-Po-space/Hebr/he/yi/ydd/Arab/ar/arz/fa/prd/glk/ps/ur/ug/Armn/hy/Beng/bn/Deva/hi/ne/Guru/pa/Gujr/gu/Orya/or/Taml/ta/Telu/te/Knda/kn/Mlym/ml/Sinh/si/Tibt/bo/Khmr/km/Tfng/ber/shy/tzm | ||
+ | = :  | ||
+ | |<!--Myanmar: do not use the ASCII colon (too much confusable with a Myanmar letter in many fonts, notably at small sizes), use an en-dash instead | ||
+ | -->Mymr/my | ||
+ | = –  | ||
+ | |<!--Not any spacing | ||
+ | -->Zinh-Po/Thai/th | ||
+ | =: | ||
+ | |<!--Ethiopic punctuation sign colon | ||
+ | -->Ethi/am/ti | ||
+ | =፥  | ||
+ | |<!--Mongolian/Mandchu punctuation sign colon | ||
+ | -->Mong/mn-Mong | ||
+ | =᠄ | ||
+ | |<!--CJK punctuation fullwidth colon (rotated if vertical layout) for Indo-Sinitic scripts used along with Chinese | ||
+ | -->Phpa/Tale/Talu/Yiii/ii/Hang/ko/ko-kp/Jpan/ja/Bpmf/Hani/Hant/zh-Hant/lzh/wuu/yue/Hans/zh/zh-Hans | ||
+ | =: | ||
+ | }}<noinclude>{{Documentation}}</noinclude> |
Latest revision as of 18:00, 21 January 2022
:
This documentation is transcluded from Template:Colon/doc.
The template returns a localized colon, with a non-breaking space before it and/or a space ( ) after it, if needed.
Localized colons need adaptation with some scripts because generic colons (:) may be confusive with other unrelated signs of these scripts, or because these scripts have specific spacing rules.
Usage
{{Colon}}
Template parameters
Parameter | Description | Default | Status | |
---|---|---|---|---|
lang | language | {{int:lang}} | optional |
Additional information
The template is intended to be used in the following namespaces: no namespace specified
The template is intended to be used by the following user groups: no user group specified
⧼Seealso⧽
Localization
To add your language to the list of languages supported by this template, please edit the template and add a row to the "{{LangSwitch}}" construct. It takes the form "|xx= Your translation
" (xx
being the code of your language)
Examples
- "1{{Colon}}2" gives "1: 2"
- "1{{Colon|lang=ar}}2" gives "1: 2"
- "1{{Colon|lang=am}}2" gives "1: 2"
- "1{{Colon|lang=ber}}2" gives "1: 2"
- "1{{Colon|lang=bn}}2" gives "1: 2"
- "1{{Colon|lang=bo}}2" gives "1: 2"
- "1{{Colon|lang=en}}2" gives "1: 2"
- "1{{Colon|lang=el}}2" gives "1: 2"
- "1{{Colon|lang=he}}2" gives "1: 2"
- "1{{Colon|lang=hi}}2" gives "1: 2"
- "1{{Colon|lang=hy}}2" gives "1: 2"
- "1{{Colon|lang=ii}}2" gives "1: 2"
- "1{{Colon|lang=ja}}2" gives "1: 2"
- "1{{Colon|lang=km}}2" gives "1: 2"
- "1{{Colon|lang=kn}}2" gives "1: 2"
- "1{{Colon|lang=ko}}2" gives "1: 2"
- "1{{Colon|lang=ml}}2" gives "1: 2"
- "1{{Colon|lang=mn-Mong}}2" gives "1: 2"
- "1{{Colon|lang=or}}2" gives "1: 2"
- "1{{Colon|lang=ps}}2" gives "1: 2"
- "1{{Colon|lang=si}}2" gives "1: 2"
- "1{{Colon|lang=ta}}2" gives "1: 2"
- "1{{Colon|lang=te}}2" gives "1: 2"
- "1{{Colon|lang=th}}2" gives "1: 2"
- "1{{Colon|lang=ti}}2" gives "1: 2"
- "1{{Colon|lang=tzm}}2" gives "1: 2"
- "1{{Colon|lang=ur}}2" gives "1: 2"
- "1{{Colon|lang=wuu}}2" gives "1: 2"
- "1{{Colon|lang=yi}}2" gives "1: 2"
- "1{{Colon|lang=yue}}2" gives "1: 2"
- "1{{Colon|lang=zh}}2" gives "1: 2"