Template:()/doc

From Wikimedia Commons, the free media repository
Jump to navigation Jump to search

The template returns localized parentheses, with our without a space before it, if needed. If the specified text to embed is empty, no parentheses will be rendered.

Localized parentheses need adaptation with some scripts these scripts have specific spacing rules (possibly fullwidth with CJK languages, or no spacing at all with some South-Asian scripts, or using alternate prefered punctuation signs or forms).

Usage

{{() |1= }}

Or use the shorthand

{{Pars|...}}

Template parameters

ParameterDescriptionDefaultStatus
1textemptyoptional
langlanguage{{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{{()|text}}2" gives "1 (text)2"
  • "1{{()|text|lang=en}}2" gives "1 (text)2"
  • "1{{()|text|lang=fr}}2" gives "1 (text)2"
  • "1{{()|text|lang=th}}2" gives "1 (text)2"
  • "1{{()|text|lang=ii}}2" gives "1(text)2"
  • "1{{()|text|lang=ko}}2" gives "1(text)2"
  • "1{{()|text|lang=ja}}2" gives "1(text)2"
  • "1{{()|text|lang=lzh}}2" gives "1(text)2"
  • "1{{()|text|lang=wuu}}2" gives "1(text)2"
  • "1{{()|text|lang=yue}}2" gives "1(text)2"
  • "1{{()|text|lang=zh}}2" gives "1(text)2"