Difference between revisions of "One:Skills (Template)/doc"
From eRepublik Official Wiki
(splitting strength from the template) |
(strength added; additional examples added; grammar corrected) |
||
Line 1: | Line 1: | ||
{{Documentation subpage}} | {{Documentation subpage}} | ||
− | This is a template | + | This is a template for adding a section displaying a list of skills on citizen pages. |
− | + | {{TOCright}} | |
==Usage== | ==Usage== | ||
<pre> | <pre> | ||
− | {{One:Skills (Template)|manu=|land=|con=}} | + | {{One:Skills (Template)|manu=|land=|con=|str=}} |
</pre> | </pre> | ||
==Variables== | ==Variables== | ||
This template has these variables: | This template has these variables: | ||
− | *manu = Manufacturing skill ( | + | *manu = Manufacturing skill (Default 0) |
− | *land = Land ( | + | *land = Land skill (Default 0) |
− | *con = | + | *con = Construction skill (Default 0) |
+ | *str = Strength skill (Default not visible) | ||
− | ==Example== | + | ==Example 1 (land and manufacturing)== |
* Manufacturing skill 2 | * Manufacturing skill 2 | ||
* Land skill 3.1 | * Land skill 3.1 | ||
Line 20: | Line 21: | ||
<pre>{{One:Skills (Template)|manu=2|land=3.1}}</pre> | <pre>{{One:Skills (Template)|manu=2|land=3.1}}</pre> | ||
{{One:Skills (Template)|manu=2|land=3.1}} | {{One:Skills (Template)|manu=2|land=3.1}} | ||
+ | |||
+ | ==Example 2 (construction and strength)== | ||
+ | * Construction skill 4 | ||
+ | * Strength skill 2.75 | ||
+ | |||
+ | <pre>{{One:Skills (Template)|str=2.75|con=4}}</pre> | ||
+ | {{One:Skills (Template)|str=2.75|con=4}} | ||
+ | |||
+ | ==Example 3 (all skills)== | ||
+ | * Manufacturing skill 2 | ||
+ | * Land skill 3.1 | ||
+ | * Construction skill 4 | ||
+ | * Strength skill 2.75 | ||
+ | |||
+ | <pre>{{One:Skills (Template)|manu=2|land=3.1|str=2.75|con=4}}</pre> | ||
+ | {{One:Skills (Template)|manu=2|land=3.1|str=2.75|con=4}} | ||
==See also== | ==See also== | ||
− | * {{Tl|Strength}} | + | * {{Tl|Strength}} - if only strength is needed |
Latest revision as of 10:52, 24 April 2019
This documentation subpage contains instructions, categories, or other information for technical reasons.
To view the One page itself, see One:Skills (Template).
To view the One page itself, see One:Skills (Template).
This is a template for adding a section displaying a list of skills on citizen pages.
Usage
{{One:Skills (Template)|manu=|land=|con=|str=}}
Variables
This template has these variables:
- manu = Manufacturing skill (Default 0)
- land = Land skill (Default 0)
- con = Construction skill (Default 0)
- str = Strength skill (Default not visible)
Example 1 (land and manufacturing)
- Manufacturing skill 2
- Land skill 3.1
{{One:Skills (Template)|manu=2|land=3.1}}
Manufacturing | Land | Construction | |
2 | 3.1 | 0 |
Example 2 (construction and strength)
- Construction skill 4
- Strength skill 2.75
{{One:Skills (Template)|str=2.75|con=4}}
Manufacturing | Land | Construction | Strength |
0 | 0 | 4 | 2.75 |
Example 3 (all skills)
- Manufacturing skill 2
- Land skill 3.1
- Construction skill 4
- Strength skill 2.75
{{One:Skills (Template)|manu=2|land=3.1|str=2.75|con=4}}
Manufacturing | Land | Construction | Strength |
2 | 3.1 | 4 | 2.75 |
See also
- {{Strength}} - if only strength is needed