Template:ShipCost/doc

Purpose
The purpose of this template is to abstract and format ship costs.

Currently configured so no adjustments or conversions are applied.

Parameters
A description of the template's parameters are listed below.

TemplateData
{	"params": { "1": {			"label": "Currency country code", "description": "ISO 3166-1 alpha-3 country code of the currency, see the examples to find out what is currently supported. EUR for Euro (inflation adjustment would require using a country-specific code).", "example": "GBR", "type": "line", "required": true },		"2": {			"label": "Value", "description": "The value, in the source, that needs to be converted. The template will not accept pre-formatted values (i.e. 1,234).", "example": "500000000", "type": "number", "required": true },		"3": {			"label": "Currency units", "description": "Use this to represent larger numbers such as crores, billions et al.", "example": "c, lc, b, m, k, cr, p, pa, po, ba", "type": "line", "suggested": true },		"lk": { "label": "Linking", "description": "Gives option to whether link currency names (paise, etc.) or number names (crores, lakhs, billions, trillions)", "example": "on, off, source, original, inflated, result, converted, source-converted", "type": "line", "suggested": true },		"year": { "description": "This parameter allows for inflation. Historic values will be inflated to the most current values available then converted.", "example": "2015", "label": "Year", "type": "number", "suggested": true },               "origin": { "label": "Origin", "description": "ISO 3166-1 alpha-3 country code of the shipyard's location, by default that corresponding to the currency is assumed (no country assumed for Euro).", "example": "ESP", "type": "line", "required": false },       "r": { "label": "Rounding digits", "description": "Used to round significant digits. A value of \"0\" will drop paise or cent values from the converted number. By default the conversion will be rounded to two significant figures.", "example": "0", "type": "number" },       "force": { "label": "Force", "description": "This parameter allows to force a conversion at the most current rate available when data is lacking for the provided year when its value is \"yes\".", "example": "yes", "type": "line" },       "exact": { "label": "Exact", "description": "This provides some control over formatting. \"source\" requests to display the input value normally (in American fashion) after applying the units. \"on\" does this for both the input and result values. Otherwise all values will be displayed as per Format price.", "example": "source, on", "type": "line" },       "qty": { "label": "Quantity", "description": "This allows adding a phrase that indicates to how many or which units the cost applies to.", "example": "first, 1, 4", "type": "line" },       "tot": { "label": "Technology transfer", "description": "yes indicates that the cost includes technology transfer", "example": "yes", "type": "line" },       "suffix": { "label": "Suffix", "description": "This allows appending an arbitrary wikitext to the output.", "example": "and training facilities", "type": "line" },       "est": { "label": "Estimated", "description": "yes indicates that the cost is estimated", "example": "yes", "type": "line" },       "ref": { "label": "References", "description": "This allows displaying one or more references. Each one must consist of a ref wikitext element. The placement of the references is normalized (currently after the year, but this might be changed in the future).", "example": " ", "type": "content", "suggested": true },               "mode": { "description": "This parameter allows to disable the adjustment even if the template is enabling it.", "example": "historical", "default": "(blank)", "label": "Mode", "type": "line" }	},	"paramOrder": [ "1",		"2",		"3",       "lk", "year", "origin", "r", "force", "exact", "qty", "tot", "suffix", "est", "ref", "mode" ],	"description": "Template presents the cost of a ship." }