Template:5e Disease: Difference between revisions

From Rlyehwiki
Jump to navigation Jump to search
No edit summary
mNo edit summary
 
(5 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 16: Line 16:
|Damage_Type= Wikitext String
|Damage_Type= Wikitext String
|Deadly = Boolean
|Deadly = Boolean
|Disease = 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 30: 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>|}}{{#if: {{{disease|}}}|<!-- is disease --><span style="font-size: 0.85em;"><br />
'''Deadly:''' True</span>|}}
'''Desease:''' True</span>|}}<!--
<!--
Cargo Store
Cargo Store
-->{{#cargo_store:
-->{{#if: {{{nodb|}}}|<!--skip-->|{{#cargo_store:
_table = 5e_Disease
_table = 5e_Disease
|Name = {{{name|}}}
|Name = {{{name|}}}
Line 41: 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 49: Line 49:
|Damage_Type= {{{damage type|}}}
|Damage_Type= {{{damage type|}}}
|Deadly = {{#if: {{{deadly|}}}|1|0}}
|Deadly = {{#if: {{{deadly|}}}|1|0}}
|Disease = {{#if: {{{disease|}}}|1|0}}
}}|}}</includeonly><noinclude>
}}</includeonly><noinclude>
This template sets properties for the disease and provides a summary.
This template sets properties for the disease and provides a summary.


Line 58: Line 57:
|name=
|name=
|sorttext=
|sorttext=
|refs=
|rarity=
|rarity=
|targets=
|targets=
Line 72: Line 72:
}}
}}
</pre>
</pre>
===Add'l Entries===
<pre>|disease= <!--blank or true--></pre>


==Example==
==Example==
Line 80: 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 98: 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 110: 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 11: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

{{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

{{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