Difference between revisions of "Template:3.5e Power"
From Dungeons and Dragons Wiki
Tarkisflux (talk | contribs) m (propogating "or" support fixes) |
Tarkisflux (talk | contribs) m (updating descriptor functionality) |
||
Line 5: | Line 5: | ||
| colspan="2" | [[SRD:{{{disc}}} Discipline|{{{disc}}}]][[Discipline::{{{disc}}}| ]]<!-- | | colspan="2" | [[SRD:{{{disc}}} Discipline|{{{disc}}}]][[Discipline::{{{disc}}}| ]]<!-- | ||
--> {{#if: {{{subdisc|}}}|({{#arraymap: {{{subdisc}}}|, |x|[[Subdiscipline::x| ]][[SRD:x Subdiscipline|x]]}})}} <!-- | --> {{#if: {{{subdisc|}}}|({{#arraymap: {{{subdisc}}}|, |x|[[Subdiscipline::x| ]][[SRD:x Subdiscipline|x]]}})}} <!-- | ||
− | --> {{#if: {{{desc|}}}|[{{#arraymap:{{{desc}}}|,|z| {{#if: {{#pos: z|or <nowiki></nowiki>}}|{{#ifeq: {{#pos: z|or <nowiki></nowiki>}}|0|or | + | --> {{#if: {{{desc|}}} |[{{#arraymap:{{{desc}}}|,|z|{{#if: {{#pos: z|or <nowiki></nowiki>}}|{{#ifeq: {{#pos: z|or <nowiki></nowiki>}}|0|or {{3.5e Spell/Desc Link|{{#sub: z|3|0}}}}[[Descriptor::{{#sub: z|3|0}}| ]]|{{3.5e Spell/Desc Link|{{#sub: z|0|{{#expr: {{#pos: z|or <nowiki></nowiki>}}-1}}}}}}[[Descriptor::{{#sub: z|0|{{#expr: {{#pos: z|or <nowiki></nowiki>}}-1}}}}| ]] or {{3.5e Spell/Desc Link|{{#sub: z|{{#expr: {{#pos: z|or <nowiki></nowiki>}}+3}}|0}}}}[[Descriptor::{{#sub: z|{{#expr: {{#pos: z|or <nowiki></nowiki>}}+3}}|0}}| ]]}}|{{3.5e Spell/Desc Link|z}}[[Descriptor::z| ]]}}}}]}} |
|- | |- | ||
! [[SRD:Psionic_Power_Descriptions#Level|Level]]: | ! [[SRD:Psionic_Power_Descriptions#Level|Level]]: |
Revision as of 06:17, 11 February 2012
Template documentation (for the above template, sometimes hidden or invisible)
Visit Template:3.5e Power/doc to edit this text! (How does this work?)