Difference between revisions of "One:Skills (Template)"
From eRepublik Official Wiki
(styling) |
(strength added) |
||
Line 3: | Line 3: | ||
|style="font-size:14px; width:150px"|{{L|One:Land|Land}} | |style="font-size:14px; width:150px"|{{L|One:Land|Land}} | ||
|style="font-size:14px; width:150px"|{{L|One:Construction|Construction}} | |style="font-size:14px; width:150px"|{{L|One:Construction|Construction}} | ||
+ | |style="font-size:14px; width:150px"|{{#if: {{{str|}}}|{{L|Strength}} | }} | ||
|- | |- | ||
− | |style="font-size:18px"|[[File:Icon_skill_manufacturing.gif]] | + | |style="font-size:18px"|[[File:Icon_skill_manufacturing.gif]] {{{manu|0}}} |
|style="font-size:18px"|[[File:Icon_skill_land.gif]] {{{land|0}}} | |style="font-size:18px"|[[File:Icon_skill_land.gif]] {{{land|0}}} | ||
|style="font-size:18px"|[[File:Icon_skill_constructions.gif]] {{{con|0}}} | |style="font-size:18px"|[[File:Icon_skill_constructions.gif]] {{{con|0}}} | ||
+ | |style="font-size:18px"|{{#if: {{{str|}}}|[[File:Icon_skill_strength.gif]] {{{str|0}}} | }} | ||
|} | |} | ||
<noinclude>{{Documentation}}[[Category:Graphical Aid Templates]]</noinclude> | <noinclude>{{Documentation}}[[Category:Graphical Aid Templates]]</noinclude> |
Revision as of 10:53, 24 April 2019
Manufacturing | Land | Construction | |
0 | 0 | File:Icon skill constructions.gif 0 |
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