Template:5e Darkvision/doc: Difference between revisions
Jump to navigation
Jump to search
(Created page with "=== Usage === <nowiki>{{5e Darkvision |fluff=You never saw light while growing up. |dist=240 }}</nowiki> becomes {{5e Darkvision |fluff=You never saw light while growing up....") |
mNo edit summary |
||
(One intermediate revision by the same user not shown) | |||
Line 1: | Line 1: | ||
=== Usage === | === Usage === | ||
Called from the 5e racial traits and 5e subrace traits templates. | |||
< | ==Syntax== | ||
<pre>{{5e Darkvision |fluff=optReasonForDarkvision|dist=optNumberOfFeat|color=optColorSeen}}</pre> | |||
==Example== | |||
{{5e Darkvision | <pre> | ||
{{5e Darkvision}} | |||
{{5e Darkvision|fluff=You are from the Feywild.}} | |||
{{5e Darkvision|dist=90}} | |||
{{5e Darkvision|color=red}} | |||
</pre> | |||
produces... | |||
{{5e Darkvision}} | {{5e Darkvision}} | ||
{{5e Darkvision|fluff=You are from the Feywild.}} | |||
{{5e Darkvision|dist=90}} | |||
{{5e Darkvision|color=red}} | |||
<noinclude> | |||
[[Category:5e Template Documentation|Darkvision 5e]] | |||
</noinclude> |
Latest revision as of 07:52, 8 October 2019
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.