Template:General
Jump to navigation
Jump to search
Template documentation follows |
---|
Note: the template above may sometimes be partially or fully invisible. |
Visit Template:General/doc to edit this documentation. (How does this work?) |
Description
Various functions to reduce code.
Syntax
{{General | [Function] | [Value] }}
Parameters
Parameter | Description | Required |
[Function] |
Select one of the following:
|
Y |
[Value] |
Enter a value that will be used for the function |
Y |
Examples
Description | Code | Output |
Add commas as number separators to numbers | {{General|Comma|2000000}} |
2,000,000 |
Convert numbers into a format used in game Used for goods and resources |
{{General|Num_Group|2000000}} |
2.0 M |
Standardize wiki formatting for percentage values. Perc2 used for sub percentages. |
{{General|Perc|15%}} * {{General|Perc2|20%}} * {{General|Perc2|80%}} |
15%
|
Create a black shadow on text | {{General|Shadow|3000 B.C}} |
3000 B.C |