Difference between revisions of "Template:3.5e Darkvision"

From Dungeons and Dragons Wiki
Jump to: navigation, search
m (whoops)
m
 
(5 intermediate revisions by the same user not shown)
Line 1: Line 1:
<includeonly>[[SRD:Darkvision|Darkvision]]: {{#switch: {{#sub: {{{1}}} |0 |1}} |a |e |i |o |u=An |A}} {{#if:{{{2|}}}|{{{1}}}|{{#ask: [[{{PAGENAME}}]] |?Title= }}}} can see in the dark up to {{#if:{{{2|}}}|{{{2}}}|{{{1}}}}} feet. Darkvision is black and white only, but it is otherwise like normal sight, and {{#switch: {{#sub: {{{1}}} |0 |1}} |a |e |i |o |u=an |a}} {{#if:{{{2|}}}|{{{1}}}|{{#ask: [[{{PAGENAME}}]] |?Title= }}}} can function just fine with no light at all.</includeonly><noinclude>{{Documentation}}</noinclude>
+
<includeonly>[[SRD:Darkvision|Darkvision]]: {{#switch: {{#sub: {{#if:{{{1|}}}|{{{1}}}|{{lc:{{#show: {{PAGENAME}} |?Title }}}} }} |0 |1}} |a |e |i |o |u=An |A}} {{#if:{{{1|}}}|{{{1}}}|{{lc:{{#show: {{PAGENAME}} |?Title }}}}}} can see in the dark up to {{#if:{{{2|}}}|{{{2}}}|{{{1}}}}} feet. Darkvision is black and white only, but it is otherwise like normal sight, and {{#switch: {{#sub: {{{1}}} |0 |1}} |a |e |i |o |u=an |a}} {{#if:{{{2|}}}|{{{1}}}|{{#show: {{PAGENAME}} |?Title}}}} can function just fine with no light at all.</includeonly><noinclude>{{Documentation}}</noinclude>

Latest revision as of 17:04, 19 October 2014

Template documentation (for the above template, sometimes hidden or invisible)

Usage:

{{3.5e Darkvision|Name of thing with darkvision|Range in feet darkvision extends}}

Example:

{{3.5e Darkvision|hill dwarf|60}}

This becomes:

Darkvision: A hill dwarf can see in the dark up to 60 feet. Darkvision is black and white only, but it is otherwise like normal sight, and a hill dwarf can function just fine with no light at all.