Difference between revisions of "Template:Normalize record"
Jump to navigation
Jump to search
m |
m |
||
Line 1: | Line 1: | ||
<includeonly>{{#if:{{{1|}}}|{{#replaceset:{{#replaceset:{{{1}}}|/^([^(]+) \((.+)\)$/=\1, \2}}|/,([0-9])=\1}}}}</includeonly><noinclude> | <includeonly>{{#if:{{{1|}}}|{{#replaceset:{{#replaceset:{{{1}}}|/^([^(]+) \((.+)\)$/=\1, \2}}|/,([0-9])/=\1}}}}</includeonly><noinclude> | ||
== Description == | == Description == | ||
Normalize a record property into comma-separated values, stripping parentheses and commas from thousands. | Normalize a record property into comma-separated values, stripping parentheses and commas from thousands. |
Revision as of 11:36, 10 November 2018
Description
Normalize a record property into comma-separated values, stripping parentheses and commas from thousands.
Example
"{{Normalize record|Value (1, true, String)}}"
"Value, 1, true, String"
"{{Normalize record|Value (1, 2,588, String2)}}"
"Value, 1, 2588, String2"
"{{Normalize record|10 (Rowena's Token (Creation), ?, false)}}"
"10, Rowena's Token (Creation), ?, false"