Difference between revisions of "Template:DocentArmorBonus"
From DDO Compendium
MNDeveloper (talk | contribs) |
MNDeveloper (talk | contribs) |
||
(4 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
<noinclude> | <noinclude>{{TemplateDocumentation | ||
|name = DocentArmorBonus | |name = DocentArmorBonus | ||
|description = This template is used for the armor bonus on docents. | |description = This template is used for the armor bonus on docents. | ||
|category = Item Templates | |||
|example1 = <nowiki>{{DocentArmorBonus|8|4}}</nowiki> | |example1 = <nowiki>{{DocentArmorBonus|8|4}}</nowiki> | ||
|example1output = {{DocentArmorBonus|8|4}} | |example1output = {{DocentArmorBonus|8|4}} | ||
|example2 = <nowiki>{{DocentArmorBonus|8|4|2}}</nowiki> | |||
|example2output = {{DocentArmorBonus|8|4|2}} | |||
|parameter1name = Adamantine Body bonus | |parameter1name = Adamantine Body bonus | ||
|parameter1description = The bonus if you have an Adamantine Body | |parameter1description = The bonus if you have an Adamantine Body | ||
|parameter2name = Mithral Body bonus | |parameter2name = Mithral Body bonus | ||
|parameter2description = The bonus if you have an Mithral Body | |parameter2description = The bonus if you have an Mithral Body | ||
| | |parameter3name = Composite Plating bonus | ||
|parameter3description = The bonus if you have Composite plating, this is optional. | |||
}} | }} | ||
</noinclude> | </noinclude> | ||
<onlyinclude>* <span style="color:lightgreen">'''Adamantine Body:''' +{{{1}}}</span> | <onlyinclude>* <span style="color:lightgreen">'''Adamantine Body:''' +{{{1}}}</span> | ||
* style="color:lightgreen">'''Mithral Body:''' +{{{2}}}</span></onlyinclude> | * <span style="color:lightgreen">'''Mithral Body:''' +{{{2}}}</span>{{#if: {{{3|}}}| | ||
* <span style="color:lightgreen">'''Composite Plating:''' +{{{3}}}</span>}}</onlyinclude> |
Latest revision as of 19:18, 9 November 2018
DocentArmorBonus[edit]
This template is used for the armor bonus on docents.
Example Usage | |
{{DocentArmorBonus|8|4}} | * Adamantine Body: +8
|
{{DocentArmorBonus|8|4|2}} | * Adamantine Body: +8
|
Usage[edit]
{{DocentArmorBonus|(Adamantine Body bonus)|(Mithral Body bonus)|(Composite Plating bonus)}}
Parameter Documentation | |
Adamantine Body bonus | The bonus if you have an Adamantine Body |
Mithral Body bonus | The bonus if you have an Mithral Body |
Composite Plating bonus | The bonus if you have Composite plating, this is optional. |
Template
Ignore any errors below this line, The errors occur because there is no input into the template, in the template itself.
- Adamantine Body: +{{{1}}}
- Mithral Body: +{{{2}}}