Difference between revisions of "Template:Heat"

From Flexible Survival
Jump to: navigation, search
(Attempt to create heat template - attempt 1)
 
m (Attempt to create heat template - attempt 2)
Line 18: Line 18:
 
{|style="width:198px; border-collapse: collapse; border-width: 1px; border-style: solid; border-color: #000"
 
{|style="width:198px; border-collapse: collapse; border-width: 1px; border-style: solid; border-color: #000"
 
{{#if:{{{heatcycle|}}}|{{!}}style="border-style: solid; border-width: 1px"{{!}}Heat Cycle:
 
{{#if:{{{heatcycle|}}}|{{!}}style="border-style: solid; border-width: 1px"{{!}}Heat Cycle:
{{!}}style="border-style: solid; border-width: 1px; text-align:right"{{!}}{{{location}}} days
+
{{!}}style="border-style: solid; border-width: 1px; text-align:right"{{!}}{{{heatcycle}}} days
 
{{!}}-|}}
 
{{!}}-|}}
 
{{#if:{{{duration|}}}|{{!}}style="border-style: solid; border-width: 1px"{{!}}Duration:
 
{{#if:{{{duration|}}}|{{!}}style="border-style: solid; border-width: 1px"{{!}}Duration:
{{!}}style="border-style: solid; border-width: 1px; text-align:right"{{!}}{{{level}}} days
+
{{!}}style="border-style: solid; border-width: 1px; text-align:right"{{!}}{{{duration}}} days
 
{{!}}-|}}
 
{{!}}-|}}
 
{{#if:{{{femaleheat|}}}|{{!}}style="border-style: solid; border-width: 1px"{{!}}Female Heat?:
 
{{#if:{{{femaleheat|}}}|{{!}}style="border-style: solid; border-width: 1px"{{!}}Female Heat?:
{{!}}style="border-style: solid; border-width: 1px; text-align:right"{{!}}{{{HP}}}
+
{{!}}style="border-style: solid; border-width: 1px; text-align:right"{{!}}{{{femaleheat}}}
 
{{!}}-|}}
 
{{!}}-|}}
 
{{#if:{{{mpregheat|}}}|{{!}}style="border-style: solid; border-width: 1px"{{!}}MPreg Heat?:
 
{{#if:{{{mpregheat|}}}|{{!}}style="border-style: solid; border-width: 1px"{{!}}MPreg Heat?:
{{!}}style="border-style: solid; border-width: 1px; text-align:right"{{!}}{{{dmg|}}}
+
{{!}}style="border-style: solid; border-width: 1px; text-align:right"{{!}}{{{mpregheat|}}}
 
{{!}}-|}}
 
{{!}}-|}}
 
|}
 
|}

Revision as of 00:42, 27 April 2015

A template to standardize the format of infection heat info.

Usage

Put the following on your page, filling in the blanks as appropriate. Note that you can leave out any parameters which don't exist or you don't have the information.
{{Heat
|heatcycle=
|duration=
|femaleheat=
|mpregheat=
|coreeffect=
}}