Template:Certinfo
Template for including certification information.
Contents |
Usage
{{certinfo|<Cert Name>|<altname=>}}
Example
{{certinfo|C4 (Certification)}}
Result
C4 | ||
---|---|---|
Level | Cost | Effect |
1 | 200 200 200 200 |
Allows access to C4 explosives |
2 | 500 500 500 500 |
Increases C4 capacity to 2 |
Parameters
The certification page itself should have the following format:
<onlyinclude>{{#switch: {{{1}}} | levels = 2 | costs = 50/100 | effect1=Effect for level 1 with [[wiki]] markup | effect2= Effect for level 2 with '''wiki''' markup }}</onlyinclude>
And so on. Separate costs with a "/"
For pages with different costs and levels for each class, follow the following example from Ammunition Belt:
<onlyinclude>{{#switch: {{{1}}} | levels = {{#switch: {{{class|}}} | ha = 2 | 4 }} | costs = {{#switch: {{{class|}}} | ha = 72/240 | 72/96/192/240 }} <!--format: inf/la/med/eng/ha/max --> | classes = 1/1/1/1/1/0 | effect1=Carry an additional magazine for primary weapon and sidearm | effect2=Carry 2 additional magazines for primary weapon and sidearm | effect3=Carry 3 additional magazines for primary weapon and sidearm | effect4=Carry 4 additional magazines for primary weapon and sidearm | }}</onlyinclude>
The levels
parameter in the example specifies that Heavy Assault ha 2 levels and the rest have 4. The classes
parameter is a binary format (0 or 1) that should be used to specify which classes the cert belongs to.