Difference between revisions of "Template:Creature"

From Salem Wiki
Jump to: navigation, search
(trying to fix inventory animals not showing on pages.)
(Combined some of the boxes. Inventory animal field not working, will try fix.)
Line 32: Line 32:
 
  | [[Has health::{{{Blood (health)}}}]]
 
  | [[Has health::{{{Blood (health)}}}]]
 
}}
 
}}
|}
 
|-
 
! style="color:white; font-size:1.4em"|'''Dead/Knocked out:'''
 
 
|-
 
|-
|
 
{| style="width:100%; border:black 2px solid; background:#bacae9"
 
 
| style="width:125px" |'''Liftable or Inventory?:'''||{{{Liftable or Inventory|''unknown''}}}
 
| style="width:125px" |'''Liftable or Inventory?:'''||{{{Liftable or Inventory|''unknown''}}}
 
|-
 
|-
 +
 
{{#switch: {{{Liftable or Inventory|}}}
 
{{#switch: {{{Liftable or Inventory|}}}
 
  | Liftable =
 
  | Liftable =
 
  | liftable =
 
  | liftable =
 
  | = {{!}} style="vertical-align:top" {{!}}'''Item(s) gained:'''{{!}}{{!}}''unknown''
 
  | = {{!}} style="vertical-align:top" {{!}}'''Item(s) gained:'''{{!}}{{!}}''unknown''
  |{{!}} style="vertical-align:top" {{!}}'''Item(s) gained:'''{{!}}{{!}}{{T2{{!}}{{{Dead animal}}}}}
+
  | {{!}} style="vertical-align:top" {{!}}'''Item(s) gained:'''{{!}}{{!}}{{T2{{!}}{{{Dead animal}}}}}
 
}}
 
}}
 
|}
 
|}
 
|-
 
|-
! style="color:white; font-size:1.4em"|'''Skinning:'''
+
! style="color:white; font-size:1.4em"|'''Skinning/Butchering:'''
 
|-
 
|-
 
|
 
|
 
{| style="width:100%; border:black 2px solid; background:#bacae9"
 
{| style="width:100%; border:black 2px solid; background:#bacae9"
 
| {{#switch: {{{Skill to skin|}}}
 
| {{#switch: {{{Skill to skin|}}}
  | = style{{=}}"width:125px" {{!}}'''Skill required:'''{{!}}{{!}}''unknown (use 'none' if cannot be skinned)''
+
  | = style{{=}}"width:125px" {{!}}'''Skill required to skin:'''{{!}}{{!}}''unknown (use 'none' if cannot be skinned)''
 
  | none = style{{=}}"text-align:center" {{!}}You cannot skin this creature.
 
  | none = style{{=}}"text-align:center" {{!}}You cannot skin this creature.
  | style{{=}}"width:125px" {{!}}'''Skill required:'''{{!}}{{!}}[[Requires skill::{{{Skill to skin}}}]]
+
  | style{{=}}"width:125px" {{!}}'''Skill required to skin:'''{{!}}{{!}}[[Requires skill::{{{Skill to skin}}}]]
 
}}
 
}}
 
|-
 
|-
| {{#switch: {{{Skill to skin|}}}
+
| {{#IFEQ: {{{Items gained}}} | none | | style="text-align:center" colspan="2" {{!}}'''NOTE: ''Items and quantities depend upon skills known.'''''}}
| = style{{=}}"width:125px; vertical-align:top" {{!}}'''Item(s) gained:'''{{!}}{{!}}''unknown''
 
| none =
 
| '''Item(s) gained:'''{{!}}{{!}}{{T2|{{{Items from skinning}}}}}
 
}}
 
|}
 
|-
 
! style="color:white; font-size:1.4em"|'''Butchering:'''
 
|-
 
|
 
{| style="width:100%; border:black 2px solid; background:#bacae9"
 
| {{#IFEQ: {{{Items from butchering}}} | none | | style="text-align:center" colspan="2" {{!}}'''''Items and the quantities received depend upon skills known.'''''}}
 
 
|-
 
|-
 
| {{#switch: {{{Items from butchering|}}}
 
| {{#switch: {{{Items from butchering|}}}
 
  | = style{{=}}"width:125px" {{!}}'''Item(s) gained:'''{{!}}{{!}}''unknown (use 'none' if cannot be butchered)''
 
  | = style{{=}}"width:125px" {{!}}'''Item(s) gained:'''{{!}}{{!}}''unknown (use 'none' if cannot be butchered)''
 
  | none = style{{=}}"text-align:center" colspan="2" {{!}}You cannot butcher this creature.
 
  | none = style{{=}}"text-align:center" colspan="2" {{!}}You cannot butcher this creature.
  | style{{=}}"width:125px; vertical-align:top" {{!}}'''Item(s) gained:'''{{!}}{{!}}{{T2|{{{Items from butchering}}}}}
+
  | style{{=}}"width:125px; vertical-align:top" {{!}}'''Item(s) gained:'''{{!}}{{!}}{{T2|{{{Items gained}}}}}
 
}}
 
}}
 
|-
 
|-
Line 105: Line 90:
 
| Dead animal=
 
| Dead animal=
 
| Skill to skin=
 
| Skill to skin=
| Items from skinning=
+
| Items gained=
| Items from butchering=
 
 
| Rare items=
 
| Rare items=
 
}}</pre>
 
}}</pre>
 
</noinclude>
 
</noinclude>

Revision as of 23:16, 12 August 2012

Basic Info:
Creature Name: Creature
Where found: unknown
Attacking:
Skill required: unknown
Blood (health): unknown
Liftable or Inventory?: unknown
Item(s) gained: unknown
Skinning/Butchering:
Skill required to skin: unknown (use 'none' if cannot be skinned)
NOTE: Items and quantities depend upon skills known.
Item(s) gained: unknown (use 'none' if cannot be butchered)
Rare item(s): unknown (use 'none' if no chance for rare items)
200px


{{Creature
<!-- Please separate entries with commas when more than one entry is required -->
| Where found=
| Skill to attack=
| Blood (health)=
| Liftable or Inventory=
| Dead animal=
| Skill to skin=
| Items gained=
| Rare items=
}}