Difference between revisions of "Template:Monster"

From Flexible Survival
Jump to: navigation, search
m (So... did I get the no-Head code right?)
(Switched out the sex organs for a "groin" entry, added the remaining IF statements. Should have fewer blanks lying around now.)
Line 1: Line 1:
 
<noinclude>
 
<noinclude>
A template to standardize the format of monster data.
+
A template to standardize the format of monster mutant power listings - for now, might add more data points later.
  
 
==Usage==
 
==Usage==
Put the following on your page, filling in the blanks as appropriate:
+
Put the following on your page, filling in the blanks as appropriate.  Note that you can leave out any parameters which don't exist (e.g. [[Rubber Balls]] don't have heads).
 
<code><nowiki>{{Monster
 
<code><nowiki>{{Monster
 
|head=
 
|head=
Line 11: Line 11:
 
|tail=
 
|tail=
 
|skin=
 
|skin=
|breasts=
+
|groin=
|penis=
 
|vagina=
 
 
}}</nowiki></code><br>
 
}}</nowiki></code><br>
 
</noinclude>
 
</noinclude>
Line 23: Line 21:
 
{{!}}style="border-style: solid; border-width: 1px; text-align:right"{{!}}{{{head}}}
 
{{!}}style="border-style: solid; border-width: 1px; text-align:right"{{!}}{{{head}}}
 
{{!}}-|}}
 
{{!}}-|}}
|style="border-style: solid; border-width: 1px"|Torso:
+
{{#if:{{{torso|}}}|{{!}}style="border-style: solid; border-width: 1px"{{!}}Torso:
|style="border-style: solid; border-width: 1px; text-align:right"|{{{torso|}}}
+
{{!}}style="border-style: solid; border-width: 1px; text-align:right"{{!}}{{{torso}}}
|-
+
{{!}}-|}}
|style="border-style: solid; border-width: 1px"|Arms:
+
{{#if:{{{arms|}}}|{{!}}style="border-style: solid; border-width: 1px"{{!}}Arms:
|style="border-style: solid; border-width: 1px; text-align:right"|{{{arms|}}}
+
{{!}}style="border-style: solid; border-width: 1px; text-align:right"{{!}}{{{arms}}}
|-
+
{{!}}-|}}
|style="border-style: solid; border-width: 1px"|Legs:
+
{{#if:{{{legs|}}}|{{!}}style="border-style: solid; border-width: 1px"{{!}}Legs:
|style="border-style: solid; border-width: 1px; text-align:right"|{{{legs|}}}
+
{{!}}style="border-style: solid; border-width: 1px; text-align:right"{{!}}{{{legs}}}
|-
+
{{!}}-|}}
|style="border-style: solid; border-width: 1px"|Tail:
+
{{#if:{{{tail|}}}|{{!}}style="border-style: solid; border-width: 1px"{{!}}Tail:
|style="border-style: solid; border-width: 1px; text-align:right"|{{{tail|}}}
+
{{!}}style="border-style: solid; border-width: 1px; text-align:right"{{!}}{{{tail}}}
|-
+
{{!}}-|}}
|style="border-style: solid; border-width: 1px"|Skin:
+
{{#if:{{{skin|}}}|{{!}}style="border-style: solid; border-width: 1px"{{!}}Skin:
|style="border-style: solid; border-width: 1px; text-align:right"|{{{skin|}}}
+
{{!}}style="border-style: solid; border-width: 1px; text-align:right"{{!}}{{{skin}}}
|-
+
{{!}}-|}}
|style="border-style: solid; border-width: 1px"|Breasts:
+
{{#if:{{{groin|}}}|{{!}}style="border-style: solid; border-width: 1px"{{!}}Groin:
|style="border-style: solid; border-width: 1px; text-align:right"|{{{breasts|}}}
+
{{!}}style="border-style: solid; border-width: 1px; text-align:right"{{!}}{{{groin|}}}
|-
+
{{!}}-|}}
|style="border-style: solid; border-width: 1px"|Penis:
 
|style="border-style: solid; border-width: 1px; text-align:right"|{{{penis|}}}
 
|-
 
|style="border-style: solid; border-width: 1px"|Vagina:
 
|style="border-style: solid; border-width: 1px; text-align:right"|{{{vagina|}}}
 
 
|}</div>
 
|}</div>
 
</includeonly>
 
</includeonly>

Revision as of 23:25, 10 April 2011

A template to standardize the format of monster mutant power listings - for now, might add more data points later.

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 (e.g. Rubber Balls don't have heads). {{Monster |head= |torso= |arms= |legs= |tail= |skin= |groin= }}