Difference between revisions of "Template:Cell Formatting"

From dataZoa Wiki
Jump to: navigation, search
Line 16: Line 16:
 
<tr><td></td><td>Color when &gt; 0</td><td>Number</td><td>Blue</td></tr>
 
<tr><td></td><td>Color when &gt; 0</td><td>Number</td><td>Blue</td></tr>
 
<tr><td colspan="4">Other</td></tr>
 
<tr><td colspan="4">Other</td></tr>
 +
<tr><td></td><td>ND</td><td>Text to use when No Data</td><td>No data exists</td></tr>
 +
<tr><td></td><td>N/A</td><td>Text to use when Not Available</td><td>No data available</td></tr>
 +
<tr><td></td><td>NDD</td><td>Text to use when Not Disclosed</td><td>Undisclosed</td></tr>
 +
<tr><td></td><td>Commas</td><td>Checkbox, use comma separator</td><td>Financial information</td></tr>
 +
<tr><td></td><td>Swap comma/period</td><td>Checkbox, European-style separators</td><td>European financial information</td></tr>
 
</table>
 
</table>

Revision as of 09:35, 8 December 2016

Tab nameFieldsDescriptionExamples
Styling
Min DecimalsMinimum number of decimals to show2 for U.S. Currency
Max DecimalsMaximum number of decimals to show2 for U.S. Currency
PrefixText to use before the number$
Yen:
SuffixText to use after the number(USD)
(thous.)
%
Scale
Multiply byNumber100, to express a percentage
Divide byNumber1000 for currency in thousands
AddNumber1.7, to add an integration constant
SubtractNumber1, to zero-base an index
+ / -
Parens when < 0CheckboxFinancial negative
Color when < 0HTML color nameRed
Color when > 0NumberBlue
Other
NDText to use when No DataNo data exists
N/AText to use when Not AvailableNo data available
NDDText to use when Not DisclosedUndisclosed
CommasCheckbox, use comma separatorFinancial information
Swap comma/periodCheckbox, European-style separatorsEuropean financial information