Template:5e Condition: Difference between revisions

From Rlyehwiki
Jump to navigation Jump to search
mNo edit summary
mNo edit summary
Line 4: Line 4:
|Name = String
|Name = String
|Sort_Text = String
|Sort_Text = String
|Refs = Wikistring
|Description = Wikitext
|Description = Wikitext
}}</noinclude><includeonly>
}}</noinclude><includeonly>
Line 15: Line 16:
|Name = {{{name|}}}
|Name = {{{name|}}}
|Sort_Text = {{#if: {{{sorttext|}}}|{{{sorttext}}} 5e|{{{name|}}} 5e|}}
|Sort_Text = {{#if: {{{sorttext|}}}|{{{sorttext}}} 5e|{{{name|}}} 5e|}}
|Refs = {{{refs|}}}
|Description = {{{desc|}}}
|Description = {{{desc|}}}
}}|}}</includeonly><noinclude>
}}|}}</includeonly><noinclude>

Revision as of 17:16, 24 January 2023

This template defines the table "5e_Condition". View table.

Use

Describes a condition for 5th edition.

Syntax

{{5e Condition
|name=
|sorttext=
|refs=
|desc=
}}

Optional Fields

|nodb= <!--ignore categories and don't store data-->

Example

{{5e Condition
|name=Foo
|sorttext=
|refs=<ref name="foo">[[user:Foo]]. Created: 2023-01-23. Licensed: [[CC-BY-SA]].</ref>
|desc=* A {{srd5lc|Creature}} has {{srd5lc|Disadvantage}} on {{SRD5|Intelligence}} and {{SRD5|Wisdom}} {{srd5lc|Check}}s.
* A creature automatically fails {{srd5lc|Saving Throw}}s against {{srd5lc|Illusion}}s.
|nodb=true
}}

Produces

Foo

[1] 5th edition condition

  1. user:Foo. Created: 2023-01-23. Licensed: CC-BY-SA.