Difference between revisions of "Template:5e Disease"

From Dungeons and Dragons Wiki
Jump to: navigation, search
m
 
(2 intermediate revisions by the same user not shown)
Line 1: Line 1:
 
<includeonly>
 
<includeonly>
===Disease Summary===
 
 
'''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>{{#switch: {{{rarity|}}}
 
'''Rarity:''' {{{rarity}}}</span>{{#switch: {{{rarity|}}}
Line 6: Line 5:
 
  | Rare = {{#set: Rarity=Rare}}
 
  | Rare = {{#set: Rarity=Rare}}
 
  | {{#set: Rarity={{{rarity|}}}}}
 
  | {{#set: Rarity={{{rarity|}}}}}
}}|}}{{#if: {{{targets|}}}|<!-- targets --><span style="font-size: 0.85em;><br />
+
}}|}}{{#if: {{{targets|}}}|<!-- targets --><span style="font-size: 0.85em;"><br />
'''Targets:''' {{{targets}}}</span>{{#set: Targets={{{targets}}}}}|}}{{#if: {{{resitant|}}}|<!-- resistant --><span style="font-size: 0.85em;><br />
+
'''Targets:''' {{{targets}}}</span>{{#set: Targets={{{targets}}}}}|}}{{#if: {{{resitant|}}}|<!-- resistant --><span style="font-size: 0.85em;"><br />
'''Resistant:''' {{{resistant}}}</span>{{#set: Resistant={{{resistant}}}}}|}}{{#if: {{{immune|}}}|<!-- immune --><span style="font-size: 0.85em;><br />
+
'''Resistant:''' {{{resistant}}}</span>{{#set: Resistant={{{resistant}}}}}|}}{{#if: {{{immune|}}}|<!-- immune --><span style="font-size: 0.85em;"><br />
'''Immune:''' {{{immune}}}</span>{{#set: Immune={{{immune}}}}}|}}{{#if: {{{primary effect|}}}|<!-- primary --><span style="font-size: 0.85em;><br />
+
'''Immune:''' {{{immune}}}</span>{{#set: Immune={{{immune}}}}}|}}{{#if: {{{primary effect|}}}|<!-- primary --><span style="font-size: 0.85em;"><br />
'''Primary Effects:''' {{{primary effect}}}</span>{{#set: Primary Effects={{{primary effect}}}}}|}}{{#if: {{{secondary effect|}}}|<!-- secondary --><span style="font-size: 0.85em;><br />
+
'''Primary Effects:''' {{{primary effect}}}</span>{{#set: Primary Effects={{{primary effect}}}}}|}}{{#if: {{{secondary effect|}}}|<!-- secondary --><span style="font-size: 0.85em;"><br />
'''Secondary Effects:''' {{{secondary effect}}}</span>{{#set: Secondary Effects={{{secondary effect}}}}}|}}{{#if: {{{incubation|}}}|<!-- incubation --><span style="font-size: 0.85em;><br />
+
'''Secondary Effects:''' {{{secondary effect}}}</span>{{#set: Secondary Effects={{{secondary effect}}}}}|}}{{#if: {{{incubation|}}}|<!-- incubation --><span style="font-size: 0.85em;"><br />
'''Incubation:''' {{{incubation}}}</span>{{#set: Incubation={{{incubation}}}}}|}}{{#if: {{{duration|}}}|<!-- duration --><span style="font-size: 0.85em;><br />
+
'''Incubation:''' {{{incubation}}}</span>{{#set: Incubation={{{incubation}}}}}|}}{{#if: {{{duration|}}}|<!-- duration --><span style="font-size: 0.85em;"><br />
'''Duration:''' {{{duration}}}</span>{{#set: Duration={{{duration}}}}}|}}{{#if: {{{vector|}}}|<!-- vector --><span style="font-size: 0.85em;><br />
+
'''Duration:''' {{{duration}}}</span>{{#set: Duration={{{duration}}}}}|}}{{#if: {{{vector|}}}|<!-- vector --><span style="font-size: 0.85em;"><br />
'''Vector:''' {{{vector}}}</span>{{#set: Vector={{{vector}}}}}|}}{{#if: {{{carriers|}}}|<!-- carriers --><span style="font-size: 0.85em;><br />
+
'''Vector:''' {{{vector}}}</span>{{#set: Vector={{{vector}}}}}|}}{{#if: {{{carriers|}}}|<!-- carriers --><span style="font-size: 0.85em;"><br />
'''Carriers:''' {{{carriers}}}</span>{{#set: Carriers={{{carriers}}}}}|}}{{#if: {{{damage type|}}}|<!-- damage type --><span style="font-size: 0.85em;><br />
+
'''Carriers:''' {{{carriers}}}</span>{{#set: Carriers={{{carriers}}}}}|}}{{#if: {{{damage type|}}}|<!-- damage type --><span style="font-size: 0.85em;"><br />
'''Damage Type:''' {{{damage type}}}</span>{{#set: DamageType={{{damage type}}}}}|}}{{#if: {{{deadly|}}}|<!-- deadly --><span style="font-size: 0.85em;><br />
+
'''Damage Type:''' {{{damage type}}}</span>{{#set: DamageType={{{damage type}}}}}|}}{{#if: {{{deadly|}}}|<!-- deadly --><span style="font-size: 0.85em;"><br />
'''Deadly:''' True{{#set: Deadly=true}}</span>|}}<!-- is disease -->{{#set: Is Disease=true}}</includeonly><noinclude>
+
'''Deadly:''' True{{#set: Deadly=true}}</span>|}}<!-- is disease -->{{#set: Is Disease=true}}|</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 32: Line 31:
 
|secondary effect=  
 
|secondary effect=  
 
|incubation=
 
|incubation=
 +
|duration=
 
|vector=
 
|vector=
 
|carriers=
 
|carriers=
Line 51: Line 51:
 
|secondary effect=Shivers, Hearing Loss  
 
|secondary effect=Shivers, Hearing Loss  
 
|incubation=2 weeks
 
|incubation=2 weeks
 +
|duration=
 
|vector=Airborne
 
|vector=Airborne
 
|carriers=Humanoids
 
|carriers=Humanoids
Line 68: Line 69:
 
|secondary effect=Shivers, Hearing Loss  
 
|secondary effect=Shivers, Hearing Loss  
 
|incubation=2 weeks
 
|incubation=2 weeks
 +
|duration=
 
|vector=Airborne
 
|vector=Airborne
 
|carriers=Humanoids
 
|carriers=Humanoids

Latest revision as of 02:39, 27 April 2020

This template sets properties for the disease and provides a summary.

Syntax[edit]

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

Example[edit]

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