Template:Colon/doc: Difference between revisions
More actions
mNo edit summary |
No edit summary |
||
| Line 19: | Line 19: | ||
* {{Tlx|;}} alias {{Tlx|Semicolon}} | * {{Tlx|;}} alias {{Tlx|Semicolon}} | ||
* {{Tlx|,}} alias {{Tlx|Comma}} | * {{Tlx|,}} alias {{Tlx|Comma}} | ||
* {{Tlx|()}} alias {{Tlx|Pars}} | |||
* {{Tlx|Full stop}} | * {{Tlx|Full stop}} | ||
|setscats= | |setscats= | ||
Revision as of 16:55, 18 June 2020
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/doc}}
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
See also
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"