Description Usage Arguments Value sprintf-like types See Also Examples
Customizable Number Aware String
1 2 | cn(n, one = "there %r %n value%s", some = one, none = some,
lots = some, nlots = 10)
|
n |
A count of the number. |
one |
The string to return if |
some |
The string to return if n is in |
none |
The string to return if |
lots |
The string to return if |
nlots |
A count of the number of values to consider to be lots |
A string of the updated message.
sprintf
-like typesThe following sprintf
-like types can be used in the custom messages:
n
the length of the object
s
's' if n != 1 otherwise ”
1 2 3 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.