Wiki - KEONHACAI COPA

Bản mẫu:US$

Tài liệu bản mẫu[xem] [sửa] [lịch sử] [làm mới]

This template adds the currency mark "US$" linked to the United States dollar article.

Cách sử dụng[sửa mã nguồn]

{{US$|value}} (value must be specified)

Example:

  • {{US$|123.45}} produces 123,45 đô la Mỹ

Inflation calculation[sửa mã nguồn]

The template supports calculation of inflation. A second parameter can be used to specify a year from 1800 onwards and the relative value in 2024 will be calculated.

{{US$|value|year}}

Examples:

  • {{US$|10|1799}}10 đô la Mỹ
  • {{US$|10|1800}}10 đô la Mỹ (17.243 đô la Mỹ vào năm 2022)
  • {{US$|10|2013}}10 đô la Mỹ (1.256 đô la Mỹ vào năm 2022)

A third parameter |about=yes will cause the template to calculate to the nearest dollar (instead of the nearest cent), and prefix the calculated value with "about". The rounding can be fine-tuned further by using |round=integer. These parameters may be combined.

Examples:

  • {{US$|10|1935}}10 đô la Mỹ (21.345 đô la Mỹ vào năm 2022)
  • {{US$|10|1935|about=yes}}10 đô la Mỹ (khoảng 213 đô la Mỹ vào năm 2022)
  • {{US$|10|1935|round=0}}10 đô la Mỹ (213 đô la Mỹ vào năm 2022)
  • {{US$|1000|1935|round=2}}1.000 đô la Mỹ (2.134.466 đô la Mỹ vào năm 2022)
  • {{US$|1000|1935|round=-2}}1.000 đô la Mỹ (21.300 đô la Mỹ vào năm 2022)
  • {{US$|1000|1935|round=-2|about=yes}}1.000 đô la Mỹ (khoảng 21.300 đô la Mỹ vào năm 2022)

Link[sửa mã nguồn]

The parameter |link=yes may be used to link US$ to the article United States dollar. This is turned off by default, but may be appropriate for the first occurrence of the term in an article.

Example:

  • {{US$|10|1935|link=yes}}10 đô la Mỹ (21.345 đô la Mỹ vào năm 2022)

See also[sửa mã nguồn]

Wiki - Keonhacai copa chuyên cung cấp kiến thức thể thao, keonhacai tỷ lệ kèo, bóng đá, khoa học, kiến thức hằng ngày được chúng tôi cập nhật mỗi ngày mà bạn có thể tìm kiếm tại đây có nguồn bài viết: https://vi.wikipedia.org/wiki/B%E1%BA%A3n_m%E1%BA%ABu:US$