Template:5e Darkvision: Difference between revisions

From Rlyehwiki
Jump to navigation Jump to search
No edit summary
mNo edit summary
 
(3 intermediate revisions by the same user not shown)
Line 1: Line 1:
<includeonly>:'''''Darkvision.''''' {{#if: {{{fluff|}}}|{{{fluff}}}<nowiki> </nowiki>|}}You can see in {{srd5lc|Dim Light}} within {{{dist|60}}} feet of you as if it were {{srd5lc|Bright Light}}, and in {{srd5lc|Darkness}} as if it were dim light. You can't discern color in darkness, only shades of gray.</includeonly><noinclude>{{Documentation}}</noinclude>
<includeonly>:'''''Darkvision.''''' {{#if: {{{distonly|}}}|{{#if: {{{dist|}}}|{{{dist}}}|60}} feet.|{{#ifeq: {{{fluff|}}}|nofluff|<!--skip fluff-->|{{{fluff|}}}<nowiki> </nowiki>|}}You can see in {{srd5lc|Dim Light}} within {{#if: {{{dist|}}}|{{{dist}}}|60}} feet of you as if it were {{srd5lc|Bright Light}}, and in {{srd5lc|Darkness}} as if it were dim light. You can't discern color in darkness, only shades of {{#if: {{{color|}}}|{{{color}}}|gray}}.|}}</includeonly><noinclude>{{Documentation}}
 
[[Category:5e Templates|Darkvision 5e]]</noinclude>

Latest revision as of 07:56, 12 March 2022

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

Usage

Called from the 5e racial traits and 5e subrace traits templates.

Syntax

{{5e Darkvision |fluff=optReasonForDarkvision|dist=optNumberOfFeat|color=optColorSeen}}

Example

{{5e Darkvision}}

{{5e Darkvision|fluff=You are from the Feywild.}}

{{5e Darkvision|dist=90}}

{{5e Darkvision|color=red}}

produces...

Darkvision. You can see in dim light within 60 feet of you as if it were bright light, and in darkness as if it were dim light. You can't discern color in darkness, only shades of gray.
Darkvision. You are from the Feywild. You can see in dim light within 60 feet of you as if it were bright light, and in darkness as if it were dim light. You can't discern color in darkness, only shades of gray.
Darkvision. You can see in dim light within 90 feet of you as if it were bright light, and in darkness as if it were dim light. You can't discern color in darkness, only shades of gray.
Darkvision. You can see in dim light within 60 feet of you as if it were bright light, and in darkness as if it were dim light. You can't discern color in darkness, only shades of red.