Difference between revisions of "Template:Normalize record"

From Final Fantasy XIV Online Wiki
Jump to navigation Jump to search
m
(To be deleted)
Line 1: Line 1:
<includeonly>{{#if:{{{1|}}}|{{#replaceset:{{#replaceset:{{{1}}}|/^([^(]+) \((.+)\)$/=\1, \2}}|/,([0-9])/=\1}}}}</includeonly><noinclude>
{{Delete|no longer needed / used}}
== Description ==
Normalize a record property into comma-separated values, stripping parentheses and commas from thousands.
 
== Example ==
<pre>"{{Normalize record|Value (1, true, String)}}"</pre>
"{{Normalize record|Value (1, true, String)}}"
 
<pre>"{{Normalize record|Value (1, 2,588, String2)}}"</pre>
"{{Normalize record|Value (1, 2,588, String2)}}"
 
<pre>"{{Normalize record|10 (Rowena's Token (Creation), ?, false)}}"</pre>
"{{Normalize record|10 (Rowena's Token (Creation), ?, false)}}"
 
</noinclude>

Revision as of 12:31, 14 March 2020