Jump to content
Toggle menu
  • 8 articles
  • 75 files
  • 7 users
  • 37.8K edits
Neodyland Wiki
Toggle preferences menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

Template:Colon: Difference between revisions

Template page
No edit summary
m 42 revisions imported
 
(16 intermediate revisions by 9 users not shown)
Line 1: Line 1:
 
{{#invoke:Colon|colon}}<noinclude>{{documentation}}</noinclude>
  | ber =
  | bn =
  | bo =
  space
  | co = Zinh-nnbsp-Po-space
  | es
  | fr -Po-space
  | gsw = Zinh-nnbsp-Po-space
  | he =
  | hi =
  | hy =
  | ii =
  | it = Zinh-l-Po-space
  | ja = Jpan
  | km = Khmr
  | kn =
  | ko =
  | ml =
  | mn =
  | oc = Zinh-nnbsp-Po-space
  | or =
  | ps =
  | pt = Zinh-nnbsp-Po-space
  | pt-br =nnbsp-Po-space
  | --space
  | si =
  | ta =
  | te =
  | th =
  | ti =
  | tzm =
  | ur =
  | wuu =
  | yi =
  | yue =
  | zh =
  | zh-Hans = Hans
  | zh-Hant = Hant
  | default = Po-
  }}
|Ethi = &#x1365;&#32;<!-- punctuation sign colon -->
|Mong = &#x1804;<!-- Mongolian/punctuation sign colon -->
 
|Bpmf||Talu|Yiii<!-- Indo-Sinitic scripts used along with -->
|Hang|Hani|Hans|Hant| = &#xFF1A;<!--  punctuation fullwidth colon (rotated if  layout) -->
 
|<!-- avoids confusion with critics -->
|Armn<!-- avoids confusion with U+0589  punctuation Full stop -->
|Hebr<!-- avoids confusion with U+05C3 punctuation  -->
|Deva<!-- avoids confusion with U+0903 combining sign -->
|<!-- avoids confusion with U+0983 combining sign Visarga -->
<!-- avoids confusion with U+0A03 combining sign  -->
|Gujr<!-- avoids confusion with U+0A83 combining sign Visarga --><!-- avoids confusion with U+0B03 combining sign Visarga -->
|<!-- avoids confusion with U+0C03 combining sign Visarga -->
- avoids confusion with U+0C83  combining sign Visarga -->
|<!-- avoids confusion with U+0D03 combining sign Visarga -->
!-- avoids confusion with U+0D83  combining sign Vim -->
|Tibt<!-- avoids confusion with  combining sign Rnam ) -->
|Khmr<!-- avoids confusion with U+17C7 / U+17C8 Khmer combining signs  / Yuka -->
|Tfng<!-- confusion with +2D53 letter Yu ) -->
2;
 
|Zinh-nnbsp-Po-space = &#x202F;&#x3A;&#32;
|Zinh-Po-space|= &#x3A;&#32;
}}
[templates using ]]
 
</include>

Latest revision as of 06:04, 9 August 2026

:

Template documentation[ view · edit · history · purge ]
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

<templatedata>JSON</templatedata> ./. {{TemplateBox}}
TemplateData

TemplateData is a way to store information about template parameters (the description of those and of the whole template) for both humans and machines. It is used by VisualEditor and possibly other tools like Upload Wizard.


Existing template documentation
At Wikimedia Commons, it is recommended to use {{TemplateBox}} with either ‎useTemplateData=1 or ‎useTemplateData=only on the ‎/doc subpage and transcluding it with {{Documentation}} into the template. ‎<nowiki>-tags can be wrapped around the arguments, if required, to avoid templates being expanded.

Newly created template documentation and imports
Another option, especially for imported templates, or for users with JSON experience, is placing raw ‎<templatedata>-tags into the Wikitext of the template, as described in various Wikipediae.


Wikipedia's help about TemplateDataCommons-specific information

The template returns a localized colon, with a non-breaking space before it and/or a space (&#32;) 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.

Template parameters[Edit template data]

This template prefers inline formatting of parameters.

ParameterDescriptionTypeStatus
languagelang

Default
{{int:lang}}
Lineoptional

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"
Cookies help us deliver our services. By using our services, you agree to our use of cookies.