Template

New Taiwan dollar

From Halal Explorer

(Redirected from Template:NTD)

Lua error: Cannot create process: proc_open(/dev/null): Failed to open stream: Operation not permitted

[view] [edit] [history] [purge] Template-info.svg Template documentation

Usage

This template renders the abbreviation for the New Taiwan dollar (NT$) followed by a formatted value and a US dollar conversion using the current exchange rate (NT$29.44 per US$ as of January 2018). The output can be manipulated in a few ways. The template can be abbreviated with {{NTD}}.

Parameter Intended inputs Description Example inputs Example outputs
First unnamed parameter
  • A number
  • The lower limit value or sole value.
  • If not used, outputs simple currency article link.
  • {{ntd|123}}
  • {{ntd}}
  • Lua error: Cannot create process: proc_open(/dev/null): Failed to open stream: Operation not permitted
  • Lua error: Cannot create process: proc_open(/dev/null): Failed to open stream: Operation not permitted
Second unnamed parameter
  • A number
  • Optional upper limit value that turns output to a range.
  • {{ntd|34|56}}
  • Lua error: Cannot create process: proc_open(/dev/null): Failed to open stream: Operation not permitted
l
  • y
  • Link
  • Adds link.
  • {{ntd|890|l=y}}
  • Lua error: Cannot create process: proc_open(/dev/null): Failed to open stream: Operation not permitted
c
  • n
  • Convert
  • Removes conversion.
  • {{ntd|123|c=n}}
  • Lua error: Cannot create process: proc_open(/dev/null): Failed to open stream: Operation not permitted

To update the exchange rate, go to Module:New Taiwan dollar and edit line 20.