[dismiss]
This wiki is a copy of the original Oblivion CS wiki created and maintained by the UESP.net. See CSwiki:Copy Notice for more info.
Difference between revisions of "Template:MessageFormatting"
Jump to navigation
Jump to search
m
no edit summary
imported>Quetzilla m |
imported>Quetzilla m |
||
Line 1: | Line 1: | ||
===Formatting notation=== | ====Formatting notation==== | ||
'''%.2f''' - This means format the variable with 2 decimal places. | '''%.2f''' - This means format the variable with 2 decimal places. | ||
Line 9: | Line 9: | ||
Number 1234 wins | Number 1234 wins | ||
===Formating switches=== | ====Formating switches==== | ||
The following formatting switches can be used in Oblivion. Put them in any sequence right after the '%' | The following formatting switches can be used in Oblivion. Put them in any sequence right after the '%' | ||
Line 30: | Line 30: | ||
|} | |} | ||
===Other Functions=== | ====Other Functions==== | ||
'''%g''' - This usually works just like "%.0f", displaying 0 decimal places. When the number is 1000000 or larger, though, the game diplays it in scientific notation (1E+006) | '''%g''' - This usually works just like "%.0f", displaying 0 decimal places. When the number is 1000000 or larger, though, the game diplays it in scientific notation (1E+006) |