Jump to content
Toggle menu
  • 3 articles
  • 75 files
  • 7 users
  • 37.9K 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/doc: Difference between revisions

Template page
No edit summary
use TemplateData
Line 3: Line 3:
{{TemplateBox
{{TemplateBox
|1=lang
|1=lang
|1d=language
|1label=language
|1type=line
|1def=<nowiki>{{int:lang}}</nowiki>
|1def=<nowiki>{{int:lang}}</nowiki>
|1stat=optional-
|1stat=optional-
|name=
 
|desc=The template returns a localized colon, with a non-breaking space before it and/or a space (<nowiki>&#32;</nowiki>) after it, <em>if</em> needed.
|name=Colon
|desc=The template returns a localized colon, with a non-breaking space before it and/or a space (<nowiki>&#32;</nowiki>) 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.
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.
Line 27: Line 29:
|shorthand=
|shorthand=
|relieson=
|relieson=
|useTemplateData=only
}}
}}


Line 61: Line 64:
* <code><nowiki>"1{{Colon|lang=yue}}2"</nowiki></code> gives "1{{Colon|lang=yue}}2"
* <code><nowiki>"1{{Colon|lang=yue}}2"</nowiki></code> gives "1{{Colon|lang=yue}}2"
* <code><nowiki>"1{{Colon|lang=zh}}2"</nowiki></code> gives "1{{Colon|lang=zh}}2"
* <code><nowiki>"1{{Colon|lang=zh}}2"</nowiki></code> gives "1{{Colon|lang=zh}}2"
<includeonly>
<includeonly>
[[Category:Punctuation templates]]
[[Category:Punctuation templates]]
</includeonly>
</includeonly>
Cookies help us deliver our services. By using our services, you agree to our use of cookies.