Template:5e Disease: Difference between revisions
Jump to navigation
Jump to search
(wip) |
No edit summary |
||
Line 1: | Line 1: | ||
<includeonly> | <noinclude> | ||
{{#cargo_declare: | |||
_table = 5e_Disease | |||
|Name = String | |||
|Sort_Text = String | |||
|Rarity = String | |||
|Targets = Wikitext String | |||
|Resistance = Wikitext String | |||
|Immune = Wikitext String | |||
|Primary_Effect = Wikitext | |||
|Secondary_Effect = Wikitext | |||
|Incubation = Wikitext String | |||
|Duration = Wikitext String | |||
|Vector = Wikitext String | |||
|Carriers = Wikitext String | |||
|Damage_Type= Wikitext String | |||
|Deadly = Boolean | |||
|Disease = Boolean | |||
}}</noinclude><includeonly> | |||
'''Name:''' {{#if: {{{sorttext|}}}|{{DEFAULTSORTKEY:{{{sorttext}}} 5e}}|{{DEFAULTSORTKEY:{{{name|}}} 5e}}|}}{{{name|}}}[[Category:5e Diseases]]{{#if: {{{rarity|}}}|<!-- rarity | '''Name:''' {{#if: {{{sorttext|}}}|{{DEFAULTSORTKEY:{{{sorttext}}} 5e}}|{{DEFAULTSORTKEY:{{{name|}}} 5e}}|}}{{{name|}}}[[Category:5e Diseases]]{{#if: {{{rarity|}}}|<!-- rarity | ||
'''Rarity:''' {{{rarity}}}</span> | '''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 /> | |||
'''Resistant:''' {{{resistant}}}</span>|}}{{#if: {{{immune|}}}|<!-- immune --><span style="font-size: 0.85em;"><br /> | |||
'''Immune:''' {{{immune}}}</span>|}}{{#if: {{{primary effect|}}}|<!-- primary --><span style="font-size: 0.85em;"><br /> | |||
'''Primary Effects:''' {{{primary effect}}}</span>|}}{{#if: {{{secondary effect|}}}|<!-- secondary --><span style="font-size: 0.85em;"><br /> | |||
'''Targets:''' {{{targets}}}</span> | '''Secondary Effects:''' {{{secondary effect}}}</span>|}}{{#if: {{{incubation|}}}|<!-- incubation --><span style="font-size: 0.85em;"><br /> | ||
'''Resistant:''' {{{resistant}}}</span> | '''Incubation:''' {{{incubation}}}</span>|}}{{#if: {{{duration|}}}|<!-- duration --><span style="font-size: 0.85em;"><br /> | ||
'''Immune:''' {{{immune}}}</span> | '''Duration:''' {{{duration}}}</span>|}}{{#if: {{{vector|}}}|<!-- vector --><span style="font-size: 0.85em;"><br /> | ||
'''Primary Effects:''' {{{primary effect}}}</span> | '''Vector:''' {{{vector}}}</span>|}}{{#if: {{{carriers|}}}|<!-- carriers --><span style="font-size: 0.85em;"><br /> | ||
'''Secondary Effects:''' {{{secondary effect}}}</span> | '''Carriers:''' {{{carriers}}}</span>|}}{{#if: {{{damage type|}}}|<!-- damage type --><span style="font-size: 0.85em;"><br /> | ||
'''Incubation:''' {{{incubation}}}</span> | '''Damage Type:''' {{{damage type}}}</span>|}}{{#if: {{{deadly|}}}|<!-- deadly --><span style="font-size: 0.85em;"><br /> | ||
'''Duration:''' {{{duration}}}</span> | '''Deadly:''' True</span>|}}{{#if: {{{disease|}}}|<!-- is disease --><span style="font-size: 0.85em;"><br /> | ||
'''Vector:''' {{{vector}}}</span> | '''Desease:''' True</span>|}}<!-- | ||
'''Carriers:''' {{{carriers}}}</span> | Cargo Store | ||
'''Damage Type:''' {{{damage type}}}</span>{{# | -->{{#cargo_store: | ||
''' | _table = 5e_Disease | ||
|Name = {{{name|}}} | |||
|Sort_Text = {{#if: {{{sorttext|}}}|{{{sorttext}}} 5e|{{{name|}}} 5e|}} | |||
|Rarity = {{{rarity|}}} | |||
|Targets = {{{targets|}}} | |||
|Resistance = {{{resitant|}}} | |||
|Immune = {{{immune|}}} | |||
|Primary_Effect = {{{primary effect|}}} | |||
|Secondary_Effect = {{{secondary effect|}}} | |||
|Incubation = {{{incubation|}}} | |||
|Duration = {{{duration|}}} | |||
|Vector = {{{vector|}}} | |||
|Carriers = {{{carriers|}}} | |||
|Damage_Type= {{{damage type|}}} | |||
|Deadly = {{#if: {{{deadly|}}}|1|0}} | |||
|Disease = {{#if: {{{disease|}}}|1|0}} | |||
}}</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 38: | Line 72: | ||
}} | }} | ||
</pre> | </pre> | ||
===Add'l Entries=== | |||
<pre>|disease= <!--blank or true--></pre> | |||
==Example== | ==Example== |
Revision as of 18:35, 26 April 2020
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= |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--> }}
Add'l Entries
|disease= <!--blank or true-->
Example
{{5e Disease |name=Foo |sorttext= |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--> }}
Name: Foo
Targets: Humanoids
Immune: Tortles
Primary Effects: Foolishness
Secondary Effects: Shivers, Hearing Loss
Incubation: 2 weeks
Vector: Airborne
Carriers: Humanoids
Damage Type: Cold