ଛାଞ୍ଚ:Circa

ଉଇକିପିଡ଼ିଆ ରୁ

ପ୍ରାୟ

Documentation icon Template documentation[view] [edit] [history] [purge]

ଛାଞ୍ଚ:COinS safe

Usage[ସମ୍ପାଦନା]

This template generates an abbreviation for circa: ପ୍ରାୟ By default the abbreviation is marked with <abbr>.

Examples[ସମ୍ପାଦନା]

Syntax What it looks like Notes
{{Circa}} 1325 ପ୍ରାୟ 1325 Default style; line break allowed between "ପ୍ରାୟ" and "1325"; normal-width space
{{Circa|1325}} ପ୍ରାୟ 1325 Default style: no line break allowed; thin space
{{Circa|1325|i=yes}} ପ୍ରାୟ 1325 With italic "c.", though italics are discouraged at WP:YEAR
{{Circa|1325|lk=abbr}} ପ୍ରାୟ 1325 With abbreviation marking only (default)
{{Circa|1325|lk=yes}} ପ୍ରାୟ 1325 With link only
{{Circa|1325|lk=no}} ପ୍ରାୟ 1325 With neither link nor abbreviation marking
{{Circa|1350|cap=yes}} ପ୍ରାୟ 1350 Starting with capital letter
{{Circa|1000|1050}} ପ୍ରାୟ 1000 – c. 1050 For ranges
{{c.|1325}} 1325 Shorthand for {{Circa|1325|lk=no}}
{{c.|1000|1050}} 1050 Shorthand for {{Circa|1000|1050|lk=no}}

Parameters[ସମ୍ପାଦନା]

Using the date itself as parameter (for example, "{{Circa|1956}}", giving "ପ୍ରାୟ 1956"), web browsers do not insert a line break anywhere in the string. By contrast, "{{Circa}} 1956" allows a line break between the "ପ୍ରାୟ" and the number. Also, with the date as a parameter a thinner space is used with many browsers:

  • "ପ୍ରାୟ 1956" is generated by "{{Circa|1956}}".
  • "ପ୍ରାୟ 1956" is generated by "{{Circa}} 1956".

If the parameter |i= is set to a non-empty value, the "c." is put in italics: for example, "{{Circa|i=''}}" generates "ପ୍ରାୟ" instead of "ପ୍ରାୟ".

If the parameter |lk= (for "link") is set as "|lk=no" or "|lk=off", the abbreviation is rendered as "ପ୍ରାୟ", without a wikilink or abbreviation element. If it is set to "|lk=abbr", it is rendered with the abbreviation element but without the wikilink. If it is set to "|lk=yes" or "|lk=on", it is rendered as "ପ୍ରାୟ", with a wikilink to the Circa article and not an abbreviation element. Otherwise, the abbreviation is marked with the "<abbr>" element, as in "ପ୍ରାୟ", and linked to the Circa article. The lk parameter can be used to avoid overuse of "<abbr>" or overlinking when this template is used repeatedly in the body of an article. A convenient way of doing this is to use {{Circa}} the first time, and {{c.}} thereafter. For example:

  • [[Dionysius Exiguus]] was born {{Circa|470}}, lived in Rome from {{c.|500}}, and died {{c.|544}}.
    Dionysius Exiguus was born ପ୍ରାୟ 470, lived in Rome from 500, and died 544.

If the parameter "cap=yes" is specified, the result starts with a capital letter.

ଛାଞ୍ଚ:Circa/doc/sortable