View source for Module:Currency/Presentation

Jump to navigation Jump to search

You do not have permission to edit this page, for the following reasons:

  • The action you have requested is limited to users in one of the groups: Users, Administrators, Trusted.
  • You must confirm your email address before editing pages. Please set and validate your email address through your user preferences.

You can view and copy the source of this page.

local presentation = {}; -- table of tables that define presentation properties
--[=[-------------------------< C U R R E N C Y P R O P E R T I E S >----------------------------------------
this table is created from Template:Currency/Page, Template:Currency/Position, and Template:Currency/Symbol. The
individual currency codes are taken from the table at [[ISO 4217]]. The source templates have other codes not
conforming to 4217; those codes are not included here but are listed in the translation table or in the non-standard
table.
This table is NOT for historical ISO 4217 codes. Add historical codes to the non-standard properties table.
Meanings of the table entries:
['???'] – ISO 4217 currency code; uppercase only
page = '' – Wikipedia article name approriate to the currency code
plural = '' – specifies how to make the currency page name plural:
if singular and plural forms are the same leave empty
if adding an 's' to the end of the singular name makes it plural then set plural = 's'
if the plural name is different, set the whole plural name (see GBP for example)
position = '' – identifies where the symbol is placed relative to the amount
'a' – <amount><symbol>
'as' – <amount><&nbsp;><symbol>
הההההההההההההההההההההההההההההההההההההההההההההההההה
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
000
1:0
Debug console
* The module exports are available as the variable "p", including unsaved modifications. * Precede a line with "=" to evaluate it as an expression or use print(). Use mw.logObject() for tables. * Use mw.log() and mw.logObject() in module code to send messages to this console.

Template used on this page:

Return to Module:Currency/Presentation.