Template:5e Disease: Difference between revisions
Jump to navigation
Jump to search
(wip) |
mNo edit summary |
||
| (6 intermediate revisions by the same user not shown) | |||
| Line 1: | Line 1: | ||
<includeonly> | <noinclude> | ||
''' | {{#cargo_declare: | ||
'''Rarity:''' {{{rarity}}}</span> | _table = 5e_Disease | ||
|Name = String | |||
|Sort_Text = String | |||
|Rarity = String | |||
|Targets = Wikitext String | |||
'''Targets:''' {{{targets}}}</span> | |Resistance = Wikitext String | ||
'''Resistant:''' {{{resistant}}}</span> | |Immune = Wikitext String | ||
'''Immune:''' {{{immune}}}</span> | |Primary_Effects = Wikitext | ||
'''Primary Effects:''' {{{primary effect}}}</span> | |Secondary_Effects = Wikitext | ||
'''Secondary Effects:''' {{{secondary effect}}}</span> | |Incubation = Wikitext String | ||
'''Incubation:''' {{{incubation}}}</span> | |Duration = Wikitext String | ||
'''Duration:''' {{{duration}}}</span> | |Vector = Wikitext String | ||
'''Vector:''' {{{vector}}}</span> | |Carriers = Wikitext String | ||
'''Carriers:''' {{{carriers}}}</span> | |Damage_Type= Wikitext String | ||
'''Damage Type:''' {{{damage type}}}</span> | |Deadly = Boolean | ||
'''Deadly:''' True{{# | }}</noinclude><includeonly> | ||
<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> {{{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 /> | |||
'''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 /> | |||
'''Secondary Effects:''' {{{secondary effect}}}</span>|}}{{#if: {{{incubation|}}}|<!-- incubation --><span style="font-size: 0.85em;"><br /> | |||
'''Incubation:''' {{{incubation}}}</span>|}}{{#if: {{{duration|}}}|<!-- duration --><span style="font-size: 0.85em;"><br /> | |||
'''Duration:''' {{{duration}}}</span>|}}{{#if: {{{vector|}}}|<!-- vector --><span style="font-size: 0.85em;"><br /> | |||
'''Vector:''' {{{vector}}}</span>|}}{{#if: {{{carriers|}}}|<!-- carriers --><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 /> | |||
'''Deadly:''' True</span>|}} | |||
<!-- | |||
Cargo Store | |||
-->{{#if: {{{nodb|}}}|<!--skip-->|{{#cargo_store: | |||
_table = 5e_Disease | |||
|Name = {{{name|}}} | |||
|Sort_Text = {{#if: {{{sorttext|}}}|{{{sorttext}}} 5e|{{{name|}}} 5e|}} | |||
|Rarity = {{{rarity|}}} | |||
|Targets = {{{targets|}}} | |||
|Resistance = {{{resitant|}}} | |||
|Immune = {{{immune|}}} | |||
|Primary_Effects = {{{primary effect|}}} | |||
|Secondary_Effects = {{{secondary effect|}}} | |||
|Incubation = {{{incubation|}}} | |||
|Duration = {{{duration|}}} | |||
|Vector = {{{vector|}}} | |||
|Carriers = {{{carriers|}}} | |||
|Damage_Type= {{{damage type|}}} | |||
|Deadly = {{#if: {{{deadly|}}}|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 24: | Line 57: | ||
|name= | |name= | ||
|sorttext= | |sorttext= | ||
|refs= | |||
|rarity= | |rarity= | ||
|targets= | |targets= | ||
| Line 44: | 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 62: | 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 74: | 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
- Foo's Guide to Nothing p. 70. Licensed: Public Domain. ↑