Difference between revisions of "Template:EnhItemReq"

From DDO Compendium
Line 24: Line 24:
|table=<td data-th="Points Spent" class="centerdata">{{{3}}}</td><td data-th="Requirements">
|table=<td data-th="Points Spent" class="centerdata">{{{3}}}</td><td data-th="Requirements">
{{{4|None}}}{{#if: {{{5|}}}|
{{{4|None}}}{{#if: {{{5|}}}|
;<span style="color:red">Antirequirements</span>
;<span style="color:red">Antirequisite</span>
{{{5}}}}}</td>
{{{5}}}}}</td>
|#default={{#if: {{{1|}}}|'''{{{1}}}''' - ''{{{2}}}''<br>}}
|#default={{#if: {{{1|}}}|'''{{{1}}}''' - ''{{{2}}}''<br>}}

Revision as of 02:28, 9 July 2018


EnhItemReq[edit]

Template used for the requirements of a tree item. There may be > 1 in an item.

Example Usage
{{EnhItemReq|Arcanotechnician|Arcanotechnician|0| * Artificer 1}}Arcanotechnician - Arcanotechnician
  • No Action Points spent in Tree
  • Artificer 1
{{#dplvar:set|location|core|tree|Arcanotechnician}}{{#dplvar:set|display|table}}{{EnhItemReq|Arcanotechnician|Arcanotechnician|0| * Artificer 1}}0
  • Artificer 1

Usage[edit]

{{EnhItemReq|(tree)|(name)|(pointsrequired)|(requirements)|(antirequirements)}}

Parameter Documentation
treeThe tree for these requirements
nameThe name of the enhancement in this tree
pointsrequiredHow many points spent in the tree are required
requirementsWhat other requirements are needed for this item . bulleted list.
antirequirementsWhat would not allow you to take this for core. bulleted list.

Template

Ignore any errors below this line, The errors occur because there is no input into the template, in the template itself.


{{{3}}} None