Template:5e Disease: Difference between revisions

From Rlyehwiki
Jump to navigation Jump to search
No edit summary
mNo edit summary
 
(2 intermediate revisions by the same user not shown)
Line 8: Line 8:
|Resistance = Wikitext String
|Resistance = Wikitext String
|Immune = Wikitext String
|Immune = Wikitext String
|Primary_Effect = Wikitext
|Primary_Effects = Wikitext
|Secondary_Effect = Wikitext
|Secondary_Effects = Wikitext
|Incubation = Wikitext String
|Incubation = Wikitext String
|Duration = Wikitext String
|Duration = Wikitext String
Line 17: Line 17:
|Deadly = Boolean
|Deadly = Boolean
}}</noinclude><includeonly>
}}</noinclude><includeonly>
'''Name:''' {{#if: {{{sorttext|}}}|{{DEFAULTSORTKEY:{{{sorttext}}} 5e}}|{{DEFAULTSORTKEY:{{{name|}}} 5e}}|}}{{{name|}}}[[Category:5e Diseases]]{{#if: {{{rarity|}}}|<!-- rarity
<span style="display:inline-block; width:50vw; background:steelblue; border-top:solid 1px steelblue; border-top-left-radius:0.5em; border-top-right-radius:0.5em; color:ghostwhite;">'''Disease Summary'''</span><br />
<span style="font-size:1.3em;">'''{{{name|}}}'''</span>&nbsp;{{{refs|}}}{{#if: {{{sorttext|}}}|{{DEFAULTSORTKEY:{{{sorttext}}} 5e}}|{{DEFAULTSORTKEY:{{{name|}}} 5e}}|}}[[Category:5e Diseases]]{{#if: {{{rarity|}}}|<!-- rarity
'''Rarity:''' {{{rarity}}}</span>|}}{{#if: {{{targets|}}}|<!-- targets --><span style="font-size: 0.85em;"><br />
'''Rarity:''' {{{rarity}}}</span>|}}{{#if: {{{targets|}}}|<!-- targets --><span style="font-size: 0.85em;"><br />
'''Targets:''' {{{targets}}}</span>|}}{{#if: {{{resitant|}}}|<!-- resistant --><span style="font-size: 0.85em;"><br />
'''Targets:''' {{{targets}}}</span>|}}{{#if: {{{resitant|}}}|<!-- resistant --><span style="font-size: 0.85em;"><br />
Line 29: Line 30:
'''Carriers:''' {{{carriers}}}</span>|}}{{#if: {{{damage type|}}}|<!-- damage type --><span style="font-size: 0.85em;"><br />
'''Carriers:''' {{{carriers}}}</span>|}}{{#if: {{{damage type|}}}|<!-- damage type --><span style="font-size: 0.85em;"><br />
'''Damage Type:''' {{{damage type}}}</span>|}}{{#if: {{{deadly|}}}|<!-- deadly --><span style="font-size: 0.85em;"><br />
'''Damage Type:''' {{{damage type}}}</span>|}}{{#if: {{{deadly|}}}|<!-- deadly --><span style="font-size: 0.85em;"><br />
'''Deadly:''' True</span>|}}<!--
'''Deadly:''' True</span>|}}
<!--
Cargo Store
Cargo Store
-->{{#if: {{{nodb|}}}|<!--skip-->|{{#cargo_store:
-->{{#if: {{{nodb|}}}|<!--skip-->|{{#cargo_store:
Line 39: Line 41:
|Resistance = {{{resitant|}}}
|Resistance = {{{resitant|}}}
|Immune = {{{immune|}}}
|Immune = {{{immune|}}}
|Primary_Effect = {{{primary effect|}}}
|Primary_Effects = {{{primary effect|}}}
|Secondary_Effect = {{{secondary effect|}}}
|Secondary_Effects = {{{secondary effect|}}}
|Incubation = {{{incubation|}}}
|Incubation = {{{incubation|}}}
|Duration = {{{duration|}}}
|Duration = {{{duration|}}}
Line 55: Line 57:
|name=
|name=
|sorttext=
|sorttext=
|refs=
|rarity=
|rarity=
|targets=
|targets=
Line 75: Line 78:
|name=Foo
|name=Foo
|sorttext=
|sorttext=
|refs=<ref>{{Cite Pub|Foo's Guide to Nothing|pages=70}} Licensed: [[Public Domain]].</ref>
|rarity=Common
|rarity=Common
|targets=Humanoids
|targets=Humanoids
Line 93: Line 97:
|name=Foo
|name=Foo
|sorttext=
|sorttext=
|refs=<ref>{{Cite Pub|Foo's Guide to Nothing|pages=70}} Licensed: [[Public Domain]].</ref>
|rarity=Common
|rarity=Common
|targets=Humanoids
|targets=Humanoids
Line 105: Line 110:
|damage type=Cold <!-- poison, psychic, fire, etc. -->
|damage type=Cold <!-- poison, psychic, fire, etc. -->
|deadly= <!--blank or true-->
|deadly= <!--blank or true-->
|nodb=true
}}
}}

Latest revision as of 12:26, 4 January 2022

This template defines the table "5e_Disease". View table. This template sets properties for the disease and provides a summary.

Syntax[edit]

{{5e Disease
|name=
|sorttext=
|refs=
|rarity=
|targets=
|resistant=
|immune=
|primary effect= <!-- 1-3 word summary -->
|secondary effect= 
|incubation=
|duration=
|vector=
|carriers=
|damage type= <!-- poison, psychic, fire, etc. -->
|deadly= <!--blank or true-->
}}

Example[edit]

{{5e Disease
|name=Foo
|sorttext=
|refs=<ref>{{Cite Pub|Foo's Guide to Nothing|pages=70}} Licensed: [[Public Domain]].</ref>
|rarity=Common
|targets=Humanoids
|resistant=Lizardfolk
|immune=Tortles
|primary effect=Foolishness <!-- 1-3 word summary -->
|secondary effect=Shivers, Hearing Loss 
|incubation=2 weeks
|duration=
|vector=Airborne
|carriers=Humanoids
|damage type=Cold <!-- poison, psychic, fire, etc. -->
|deadly= <!--blank or true-->
}}


Disease Summary
Foo [1]
Targets: Humanoids

Immune: Tortles

Primary Effects: Foolishness

Secondary Effects: Shivers, Hearing Loss

Incubation: 2 weeks

Vector: Airborne

Carriers: Humanoids

Damage Type: Cold