Currency
Currency loop lists currencies.
{loop type="currency" name="the-loop-name" [argument="value"], [...]}
Arguments
| Argument | Description | Default | Example |
|---|---|---|---|
| default_only | A boolean value to display only the default currency. | default_only="true" | |
| exclude | A single or a list of currency ids. | exclude="2", exclude="1,4,7" | |
| id | A single or a list of currency ids. | id="2", id="1,4,7" | |
| lang | A lang id | lang="1" | |
| order | A list of values see sorting possible values | manual | order="id_reverse" |
Plus the global arguments
Outputs
| Variable | Value |
|---|---|
| $ID | the currency id |
| $ISOCODE | the ISO numeric currency code |
| $IS_DEFAULT | returns if the currency is the default currency |
| $IS_TRANSLATED | check if the currency is translated |
| $LOCALE | The locale used for this research |
| $NAME | the currency name |
| $POSITION | the currency position |
| $RATE | the currency rate |
| $SYMBOL | the ISO numeric currency symbol |
Plus the global outputs
Order possible values
| Ascending value | Descending value | Sorted fields |
|---|---|---|
| code | code-reverse | currency code |
| id | id_reverse | id |
| name | name_reverse | name |