Difference between revisions of "Template:MonsterSP"

From Flexible Survival
Jump to: navigation, search
m (Attempt 12)
m (Usage)
 
(20 intermediate revisions by 3 users not shown)
Line 11: Line 11:
 
|targetgender=
 
|targetgender=
 
|tailstrike=
 
|tailstrike=
|heat=
 
 
|altcombat=
 
|altcombat=
 +
|infectious=
 
|endings=
 
|endings=
 
|flags=
 
|flags=
 +
|heat=
 +
|heatcycle=
 +
|duration=
 +
|femaleheat=
 +
|mpregheat=
 +
|coreeffect=
 
}}</nowiki></pre>
 
}}</nowiki></pre>
 +
[[Category:Templates]][[Category:Single Player Templates]]
 
</noinclude>
 
</noinclude>
 +
 
<includeonly>
 
<includeonly>
 
[[Category:Single Player]]
 
[[Category:Single Player]]
 
[[Category:Monsters (Single Player)]]
 
[[Category:Monsters (Single Player)]]
 +
{{#if:{{{heat|}}}|[[Category:Heat]]}}
 
<div class="noprint" style="float:right; border:3px solid black;width:200px;background-color:#FFF;padding:3px;">
 
<div class="noprint" style="float:right; border:3px solid black;width:200px;background-color:#FFF;padding:3px;">
 
<div align=center>'''{{FULLPAGENAME}}'''</div><br>
 
<div align=center>'''{{FULLPAGENAME}}'''</div><br>
Line 46: Line 55:
 
{{#if:{{{altcombat|}}}|{{!}}style="border-style: solid; border-width: 1px"{{!}}Alt Combat?:
 
{{#if:{{{altcombat|}}}|{{!}}style="border-style: solid; border-width: 1px"{{!}}Alt Combat?:
 
{{!}}style="border-style: solid; border-width: 1px; text-align:right"{{!}}{{{altcombat}}}
 
{{!}}style="border-style: solid; border-width: 1px; text-align:right"{{!}}{{{altcombat}}}
 +
{{!}}-|}}
 +
{{#if:{{{infectious|}}}|{{!}}style="border-style: solid; border-width: 1px"{{!}}Infectious?:
 +
{{!}}style="border-style: solid; border-width: 1px; text-align:right"{{!}}{{{infectious}}}
 
{{!}}-|}}
 
{{!}}-|}}
 
{{#if:{{{endings|}}}|{{!}}style="border-style: solid; border-width: 1px"{{!}}Endings?:
 
{{#if:{{{endings|}}}|{{!}}style="border-style: solid; border-width: 1px"{{!}}Endings?:
Line 59: Line 71:
 
<br><div align=center>'''Heat'''</div><br>
 
<br><div align=center>'''Heat'''</div><br>
 
{|style="width:198px; border-collapse: collapse; border-width: 0px; border-style: solid; border-color: #000"
 
{|style="width:198px; border-collapse: collapse; border-width: 0px; border-style: solid; border-color: #000"
{{#if:{{{heat|}}}|{{!}}style="border-style: solid; border-width: 1px"{{!}}Heat?:
+
{{!}}style="border-style: solid; border-width: 1px"{{!}}Heat?:
{{!}}style="border-style: solid; border-width: 1px; text-align:right"{{!}}{{{heat}}}
+
{{!}}style="border-style: solid; border-width: 1px; text-align:right"{{!}}{{#if:{{{heat|}}}|{{{heat}}}|No}}
{{!}}-|}}
+
{{!}}-|
 
{{#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"{{!}}{{{heatcycle}}} days
 
{{!}}style="border-style: solid; border-width: 1px; text-align:right"{{!}}{{{heatcycle}}} days
Line 75: Line 87:
 
{{!}}-|}}
 
{{!}}-|}}
 
|}
 
|}
<br><div align=center>'''Core Effect'''</div><br>
 
 
{|style="width:198px; border-collapse: collapse; border-width: 0px; border-style: solid; border-color: #000"
 
{|style="width:198px; border-collapse: collapse; border-width: 0px; border-style: solid; border-color: #000"
{{#if:{{{flags|}}}|{{!}}style="border-style: solid; border-width: 1px"{{!}}{{{coreeffect}}}
+
{{#if:{{{coreeffect|}}}|{{!}}style="border-style: solid; border-width: 1px; text-align:center"{{!}}'''Core Effect'''
 
{{!}}-|}}
 
{{!}}-|}}
|}</div>
+
{{#if:{{{coreeffect|}}}|{{!}}style="border-style: solid; border-width: 1px"{{!}}{{{coreeffect|}}}
 +
{{!}}-|}}
 +
|}
 +
</div>
 
</includeonly>
 
</includeonly>

Latest revision as of 02:54, 25 June 2018

A template to standardize the format of single-player monster stats and 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.
{{MonsterSP
|location=
|level=
|HP=
|dmg=
|loot=
|targetgender=
|tailstrike=
|altcombat=
|infectious=
|endings=
|flags=
|heat=
|heatcycle=
|duration=
|femaleheat=
|mpregheat=
|coreeffect=
}}