Difference between revisions of "Template:3.5e Racial Attribute Adjustment"

From Dungeons and Dragons Wiki
Jump to: navigation, search
(Multi selection support without adding new parameters. This template is a mess now.)
(missed the smw thing)
Line 2: Line 2:
 
   |{{#if: {{{2|}}}
 
   |{{#if: {{{2|}}}
 
     |{{#if: {{#pos:{{{2|}}}|,}}
 
     |{{#if: {{#pos:{{{2|}}}|,}}
       |{{#switch: {{#sub: {{{1|}}}|0|1}} |2=Two |3=Three |4=Four |5=Five |One }} of: {{#arraymap: {{{2}}}|, |x|{{#if: {{#pos:x|or }}|or {{#switch: {{#sub: {{{1|}}}|0|1}} |+=+|-=-|}}{{#sub: {{{1|}}}|1|0}} [[SRD:{{#sub:x|3|0}}|{{#sub:x|3|0}}]]|{{#switch: {{#sub: {{{1|}}}|0|1}} |+=+|-=-|}}{{#sub: {{{1|}}}|1|0}} [[SRD:x|x]]}}}}[[Racial Ability Adjustments::{{#arraymap: {{{2}}}|, |x|{{#if: {{#pos:x|or }}|{{{1}}} {{#sub:x|3|0}}|{{{1}}} x}}| or }}| ]]
+
       |{{#switch: {{#sub: {{{1|}}}|0|1}} |2=Two |3=Three |4=Four |5=Five |One }} of: {{#arraymap: {{{2}}}|, |x|{{#if: {{#pos:x|or }}|or {{#switch: {{#sub: {{{1|}}}|0|1}} |+=+|-=-|}}{{#sub: {{{1|}}}|1|0}} [[SRD:{{#sub:x|3|0}}|{{#sub:x|3|0}}]]|{{#switch: {{#sub: {{{1|}}}|0|1}} |+=+|-=-|}}{{#sub: {{{1|}}}|1|0}} [[SRD:x|x]]}}}}[[Racial Ability Adjustments::{{#switch: {{#sub: {{{1|}}}|0|1}} |2=Two of |3=Three of |4=Four of |5=Five of |}}{{#arraymap: {{{2}}}|, |x|{{#if: {{#pos:x|or }}|{{#switch: {{#sub: {{{1|}}}|0|1}} |+=+|-=-|}}{{#sub: {{{1|}}}|1|0}} {{#sub:x|3|0}}|{{{1}}} x}}| or }}| ]]
 
       |{{#arraymap: {{{2}}} | or|x|{{#switch: {{#sub: {{{1|}}}|0|1}} |+=+|-=-|}}{{#sub: {{{1|}}}|1|0}} [[SRD:x|x]]| or }}[[Racial Ability Adjustments::{{#arraymap: {{{2}}} | or|x|{{#switch: {{#sub: {{{1|}}}|0|1}} |+=+|-=-|}}{{#sub: {{{1|}}}|1|0}} x| or }}| ]]}}
 
       |{{#arraymap: {{{2}}} | or|x|{{#switch: {{#sub: {{{1|}}}|0|1}} |+=+|-=-|}}{{#sub: {{{1|}}}|1|0}} [[SRD:x|x]]| or }}[[Racial Ability Adjustments::{{#arraymap: {{{2}}} | or|x|{{#switch: {{#sub: {{{1|}}}|0|1}} |+=+|-=-|}}{{#sub: {{{1|}}}|1|0}} x| or }}| ]]}}
 
     |{{#switch: {{#sub: {{{1|}}}|0|1}} |+=+|-=-|}}{{#sub: {{{1|}}}|1|0}} to any {{#switch: {{#sub: {{{1|}}}|0|1}} |2=two attributes|3=three attributes|4=four attributes|5=five attributes|attribute}}[[Racial Ability Adjustments::{{#switch: {{#sub: {{{1|}}}|0|1}} |+=+|-=-|}}{{#sub: {{{1|}}}|1|0}} Any {{#switch: {{#sub: {{{1|}}}|0|1}} |2=Two Attributes|3=Three Attributes|4=Four Attributes|5=Five Attributes|Attribute}}| ]]}}
 
     |{{#switch: {{#sub: {{{1|}}}|0|1}} |+=+|-=-|}}{{#sub: {{{1|}}}|1|0}} to any {{#switch: {{#sub: {{{1|}}}|0|1}} |2=two attributes|3=three attributes|4=four attributes|5=five attributes|attribute}}[[Racial Ability Adjustments::{{#switch: {{#sub: {{{1|}}}|0|1}} |+=+|-=-|}}{{#sub: {{{1|}}}|1|0}} Any {{#switch: {{#sub: {{{1|}}}|0|1}} |2=Two Attributes|3=Three Attributes|4=Four Attributes|5=Five Attributes|Attribute}}| ]]}}
 
   |[[Racial Ability Adjustments::None| ]]}}</includeonly>
 
   |[[Racial Ability Adjustments::None| ]]}}</includeonly>

Revision as of 18:13, 17 April 2016