Difference between revisions of "Template:DocentArmorBonus"

From DDO Compendium
 
(5 intermediate revisions by the same user not shown)
Line 1: Line 1:
<noinclude>[[Category:Template]]{{TemplateDocumentation
<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
|parameter1values =
|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
|parameter2values =  
|parameter3name = Composite Plating bonus
|parameter3description = The bonus if you have Composite plating, this is optional.
}}
}}
</noinclude>
</noinclude>
<onlyinclude>* '''Adamantine Body:''' +{{{1}}}
<onlyinclude>* <span style="color:lightgreen">'''Adamantine Body:''' +{{{1}}}</span>
* '''Mithral Body:''' +{{{2}}}</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
  • Mithral Body: +4
{{DocentArmorBonus|8|4|2}}* Adamantine Body: +8
  • Mithral Body: +4
  • Composite Plating: +2
  • Usage[edit]

    {{DocentArmorBonus|(Adamantine Body bonus)|(Mithral Body bonus)|(Composite Plating bonus)}}

    Parameter Documentation
    Adamantine Body bonusThe bonus if you have an Adamantine Body
    Mithral Body bonusThe bonus if you have an Mithral Body
    Composite Plating bonusThe 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}}}