Difference between revisions of "Template:EnhItemReq"

From DDO Compendium
Line 17: Line 17:
|parameter3name = pointsrequired
|parameter3name = pointsrequired
|parameter3description = How many points spent in the tree are required
|parameter3description = How many points spent in the tree are required
|parameter4name = corerequirements
|parameter4name = requirements
|parameter4description = What other requirements are needed for this item for core. bulleted list. This is used in any tier if there aren't other specific tier requirements.
|parameter4description = What other requirements are needed for this item . bulleted list.
|parameter5name = coreantirequirements
|parameter5name = antirequirements
|parameter5description = What would not allow you to take this for core. bulleted list. This is used in any tier if there aren't other specific tier antirequirements.
|parameter5description = What would not allow you to take this for core. bulleted list.
|parameter6name = tier1requirements
|parameter6description = What other requirements are needed for this item for tier1. bulleted list.
|parameter7name = tier1antirequirements
|parameter7description = What would not allow you to take this for tier1. bulleted list.
|parameter8name = tier2requirements
|parameter8description = What other requirements are needed for this item for tier2. bulleted list.
|parameter9name = tier2antirequirements
|parameter9description = What would not allow you to take this for tier2. bulleted list.
|parameter10name = tier3requirements
|parameter10description = What other requirements are needed for this item for tier3. bulleted list.
|parameter11name = tier3antirequirements
|parameter11description = What would not allow you to take this for tier3. bulleted list.
|parameter12name = tier4requirements
|parameter12description = What other requirements are needed for this item for tier4. bulleted list.
|parameter13name = tier4antirequirements
|parameter13description = What would not allow you to take this for tier4. bulleted list.
|parameter14name = tier5requirements
|parameter14description = What other requirements are needed for this item for tier5. bulleted list.
|parameter15name = tier5antirequirements
|parameter15description = What would not allow you to take this for tier5. bulleted list.
|parameter16name = tier6requirements
|parameter16description = What other requirements are needed for this item for tier6. bulleted list.
|parameter17name = tier6antirequirements
|parameter17description = What would not allow you to take this for tier6. bulleted list.
}}</noinclude><onlyinclude>{{#switch: {{lc:{{#dplvar:display}}}}
}}</noinclude><onlyinclude>{{#switch: {{lc:{{#dplvar:display}}}}
|table=<td data-th="Points Spent" class="centerdata">{{{3}}}</td><td data-th="Requirements">{{#if: {{{6|}}}{{{8|}}}{{{10|}}}{{{12|}}}{{{14|}}}{{{16|}}}|{{#ifeq: {{#dplvar:location}}|core|
|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">Antirequirements</span>
{{{5}}}}}}}{{#ifeq: {{#dplvar:location}}|tier1|
{{{5}}}}}</td>
{{{6|None}}}{{#if: {{{7|}}}|
|#default={{#if {{{1|}}}|'''{{{1}}}''' - ''{{{2}}}''<br>}}
;<span style="color:red">Antirequirements</span>
* {{#ifexpr: {{{3}}} = 0|No|{{{3}}}}} Action Points spent in Tree<br>{{#if: {{{4|}}}|
{{{7}}}}}}}{{#ifeq: {{#dplvar:location}}|tier2|
{{{8|None}}}{{#if: {{{9|}}}|
;<span style="color:red">Antirequirements</span>
{{{9}}}}}}}{{#ifeq: {{#dplvar:location}}|tier3|
{{{10|None}}}{{#if: {{{11|}}}|
;<span style="color:red">Antirequirements</span>
{{{11}}}}}}}{{#ifeq: {{#dplvar:location}}|tier4|
{{{12|None}}}{{#if: {{{13|}}}|
;<span style="color:red">Antirequirements</span>
{{{13}}}}}}}{{#ifeq: {{#dplvar:location}}|tier5|
{{{14|None}}}{{#if: {{{15|}}}|
;<span style="color:red">Antirequirements</span>
{{{15}}}}}}}{{#ifeq: {{#dplvar:location}}|tier6|
{{{16|None}}}{{#if: {{{17|}}}|
;<span style="color:red">Antirequirements</span>
{{{17}}}}}}}|
{{{4|None}}}{{#if: {{{5|}}}|
;<span style="color:red">Antirequirements</span>
{{{5}}}}}}}</td>
|#default='''{{{1}}}''' - ''{{{2}}}''<br>
* {{#ifexpr: {{{3}}} = 0|No|{{{3}}}}} Action Points spent in Tree<br>{{#if: {{{6|}}}{{{8|}}}{{{10|}}}{{{12|}}}{{{14|}}}{{{16|}}}|
{{#if: {{{4|}}}{{{5|}}}|;Core<br>{{#if: {{{4|}}}|
{{{4}}}}}{{#if: {{{5|}}}{{#if: {{{6|}}}{{{7|}}}|;Tier 1<br>{{#if: {{{6|}}}|
{{{6}}}}}{{#if: {{{7|}}}|
;<span style="color:red">Antirequirements</span>{{{7}}}}}}}
{{#if: {{{8|}}}{{{9|}}}|;Tier 2<br>{{#if: {{{8|}}}|
{{{8}}}}}{{#if: {{{9|}}}|
;<span style="color:red">Antirequirements</span>{{{9}}}}}}}
{{#if: {{{10|}}}{{{11|}}}|;Tier 3<br>{{#if: {{{10|}}}|
{{{10}}}}}{{#if: {{{11|}}}|
;<span style="color:red">Antirequirements</span>{{{11}}}}}}}
{{#if: {{{12|}}}{{{13|}}}|;Tier 4<br>{{#if: {{{12|}}}|
{{{10}}}}}{{#if: {{{13|}}}|
;<span style="color:red">Antirequirements</span>{{{13}}}}}}}
{{#if: {{{14|}}}{{{15|}}}|;Tier 5<br>{{#if: {{{14|}}}|
{{{10}}}}}{{#if: {{{15|}}}|
;<span style="color:red">Antirequirements</span>{{{15}}}}}}}
{{#if: {{{16|}}}{{{17|}}}|;Tier 6<br>{{#if: {{{16|}}}|
{{{16}}}}}{{#if: {{{17|}}}|
;<span style="color:red">Antirequirements</span>{{{17}}}}}}}|
;<span style="color:red">Antirequirements</span>{{{5}}}}}}}|{{#if: {{{4|}}}|
{{{4}}}}}{{#if: {{{5|}}}|
{{{4}}}}}{{#if: {{{5|}}}|
;<span style="color:red">Antirequirements</span>{{{5}}}}}}}
;<span style="color:red">Antirequirements</span>{{{5}}}}}}}
}}</onlyinclude>
}}</onlyinclude>

Revision as of 20:37, 29 June 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}}{{#if Arcanotechnician|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 }}