Difference between revisions of "Template:Creature"

From Salem Wiki
Jump to: navigation, search
(forgot a ")
m
(35 intermediate revisions by 7 users not shown)
Line 1: Line 1:
<!-- Template START -->
+
<!-- Template START -->[[Category:Creatures]]
{|
+
{| style="float:left; margin-right:25px"
| style="vertical-align:top" |
 
<!-- Image START -->
 
{| style="padding:0.2em; border:black 2px solid; border-radius:0.4em; background:#527ACC"
 
| style="width:200px; border:black 1px solid; background:#000000; padding:-1px" |[[Image:{{PAGENAME}}.png|200px]]
 
|}
 
<!-- Image END -->
 
 
|
 
|
 
<!-- Infobox START -->
 
<!-- Infobox START -->
{| style="min-width:300px; padding:0.2em; border:black 2px solid; border-radius:0.4em; background:#527ACC; font-family:Calibri"
+
{| style="min-width:300px; padding:0.1em; border:black 2px solid; border-radius:0.4em; background:#71583b; font-family:Calibri"
! style="color:white; font-size:1.4em"|'''Basic Info:'''
+
! style="color:white; font-size:1.4em;"|'''Basic Info:'''
 
|-
 
|-
 
|
 
|
{| style="width:100%; border:black 2px solid; background:#bacae9"
+
{| style="width:100%; border:black 2px solid; background:#4c4c4c"
| style="width:125px" |'''Creature Name:'''||{{PAGENAME}}
+
| style="width:125px; vertical-align:middle; padding-left:0.2em;" |'''Where found:'''
|-
 
| '''Where found:'''
 
 
| {{#switch: {{{Where found|}}}
 
| {{#switch: {{{Where found|}}}
 +
| None='''Not found in the wild'''
 +
| none='''Not found in the wild'''
 
  | = ''unknown''
 
  | = ''unknown''
  | {{T1|{{{Where found}}}}}
+
  | {{TX|T1|{{{Where found}}}}}
 
}}
 
}}
 
|}
 
|}
Line 26: Line 20:
 
|-
 
|-
 
|
 
|
{| style="width:100%; border:black 2px solid; background:#bacae9"
+
{| style="width:100%; border:black 2px solid; background:#4c4c4c"
| style="width:125px" |'''Skill required:'''
+
| style="width:125px; padding-left:0.2em;" |'''Skill required:'''
 
| {{#switch: {{{Skill to attack|}}}
 
| {{#switch: {{{Skill to attack|}}}
 
  | = ''unknown''
 
  | = ''unknown''
Line 33: Line 27:
 
}}
 
}}
 
|-
 
|-
|'''Blood (health):'''
+
| style="padding-left:0.2em;" |'''Blood (health):'''
 
| {{#switch: {{{Blood (health)|}}}
 
| {{#switch: {{{Blood (health)|}}}
 +
| None='''Can't be Attacked'''
 +
| none='''Can't be attacked'''
 +
| various='''Various'''
 +
| Various='''Various'''
 
  | = ''unknown''
 
  | = ''unknown''
 
  | [[Has health::{{{Blood (health)}}}]]
 
  | [[Has health::{{{Blood (health)}}}]]
 
}}
 
}}
|}
 
 
|-
 
|-
! style="color:white; font-size:1.4em"|'''Dead/Knocked out:'''
+
| style="padding-left:0.2em;" |'''Liftable or Inventory?:'''||{{{Liftable or Inventory|''unknown''}}}
|-
 
|
 
{| style="width:100%; border:black 2px solid; background:#bacae9"
 
| style="width:125px" |'''Liftable or Inventory?:'''||{{{Liftable or Inventory|''unknown''}}}
 
 
|-
 
|-
 
{{#switch: {{{Liftable or Inventory|}}}
 
{{#switch: {{{Liftable or Inventory|}}}
 
  | Liftable =
 
  | Liftable =
 
  | liftable =
 
  | liftable =
  | = {{!}}'''Item(s) gained:'''{{!}}{{!}}''unknown''
+
| Neither =
  | {{!}}'''Item gained:'''{{!}}{{!}}[[{{{Dead animal}}}]]
+
| neither =
 +
  | = {{!}} style="vertical-align:top; padding-left:0.2em;" {{!}}'''Item(s) gained:'''{{!}}{{!}}''unknown''
 +
  | {{!}} style{{=}}"vertical-align:top; padding-left:0.2em;" {{!}}'''Item(s) gained:'''{{!}}{{!}}{{TX|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:#4c4c4c; padding-left:0.2em;"
| {{#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" {{!}}'''Skill required:'''{{!}}{{!}}''unknown (use 'none' if cannot be skinned)''
 
| none = style{{=}}"text-align:center" {{!}}You cannot skin this creature.
 
| style{{=}}"width:125px" {{!}}'''Skill required:'''{{!}}{{!}}[[Requires skill::{{{Skill to skin}}}]]
 
}}
 
 
|-
 
|-
| {{#switch: {{{Skill to skin|}}}
+
| {{#switch: {{{Items on pickup|}}}
  | = style{{=}}"width:125px" {{!}}'''Item(s) gained:'''{{!}}{{!}}''unknown''
+
  | = style{{=}}"width:125px" {{!}}'''Item(s) on pickup:'''{{!}}{{!}}''unknown (use 'none' if cannot be butchered)''
 
  | none =
 
  | none =
  | '''Item(s) gained:'''{{!}}{{!}}{{T2|{{{Items from skinning}}}}}
+
  | style{{=}}"width:125px; vertical-align:top" {{!}}'''Item(s) on pickup:'''{{!}}{{!}}{{TX|T2|{{{Items on pickup}}}}}
 
}}
 
}}
|}
 
 
|-
 
|-
! style="color:white; font-size:1.4em"|'''Butchering:'''
+
| {{#switch: {{{Items gained|}}}
 +
| = style{{=}}"width:125px" {{!}}'''Item(s) gained:'''{{!}}{{!}}''unknown (use 'none' if no chance for pickup items)''
 +
| none = style{{=}}"text-align:center" colspan="2" {{!}}You cannot butcher this creature.
 +
| style{{=}}"width:125px; vertical-align:top" {{!}}'''Item(s) gained:'''{{!}}{{!}}{{TX|T2|{{{Items gained}}}}}
 +
}}
 
|-
 
|-
|
+
| {{#switch: {{{Rare items|}}}
{| style="width:100%; border:black 2px solid; background:#bacae9"
+
  | = style{{=}}"width:125px;" {{!}}'''Rare item(s):'''{{!}}{{!}}''unknown (use 'none' if no chance for rare items)''
| {{#switch: {{{Items from butchering|}}}
+
  | none =
  | = style{{=}}"width:125px" {{!}}'''Item(s) gained:'''{{!}}{{!}}''unknown (use 'none' if cannot be butchered)''
+
  | style{{=}}"width:125px; vertical-align:top;" {{!}}'''Rare item(s):'''{{!}}{{!}}{{TX|T2|{{{Rare items}}}}}
  | none = You cannot butcher this creature.
 
  | style{{=}}"width:125px" {{!}}'''Item(s) gained:'''{{!}}{{!}}{{T2|{{{Items from butchering}}}}}
 
 
}}
 
}}
 
|}
 
|}
 
|}
 
|}
<!-- Infobox END -->
 
 
|}
 
|}
 +
<!-- Infobox END --><!-- Image START -->
 +
{| style="padding:0.2em; float:right"
 +
|
 +
[[Image:{{PAGENAME}}.png|thumb|200px|{{PAGENAME}}]]
 +
|}
 +
<!-- Image END -->
 
<!-- Template END -->
 
<!-- Template END -->
 
+
<noinclude>{{documentation}}</noinclude>
[[Category:Creatures]]
 
 
 
<noinclude>
 
<pre>{{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 from skinning=
 
| Items from butchering=
 
}}</pre>
 
</noinclude>
 

Revision as of 20:46, 12 December 2019

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


Template documentation (for the template shown above, sometimes hidden or invisible)

When to use this template:

To add a new creature to the wiki.

How to use this template:

Breakdown of parameters:

Where found
Enter the biomes that the creature naturally spawns in. Separate multiple entries with a comma. See Terrains for biome types.
For example: Where found=Grassland, Autumnal
Skill to attack
Enter the skill that is required to be able to attack the creature.
For example: Skill to attack=Small Game Hunting
Blood (health)
Enter the amount of health the creature has. Use the creatures talk page to work together with the community and figure out the health amounts.
For example: Blood (health)=10
Liftable or Inventory
Enter either Liftable or Inventory. Liftable means you can pick it up with the Lift action. Inventory means you pick it up into your inventory.
For example: Liftable or Inventory=Liftable
Dead animal
Enter the name of the creature when it is in your inventory. Some creatures may not be dead when picked up, as is the case with Turkeys who are only knocked-out, but still use this parameter for their inventory name. (You can ignore this parameter if the creature is liftable)
For example: Dead animal=Dead Timber Rattler
Items on pickup
Enter all expected items it is possible to receive when you pick up the creature. Separate multiple entries with a comma.
For example: Items on pickup=Carrot
Items gained
Enter all expected items it is possible to receive from skinning and/or butchering the creature. Ignore any skill requirements and do not list rare/random items such as inspirationals. Separate multiple entries with a comma.
For example: Items gained=Meat Shreds, Raw Venison Cut, Raw Venison Steak, Brain, Raw Deer Hide
Rare items
Enter all random or rare items it is possible to receive from skinning and/or butchering the creature. Separate multiple entries with a comma.
For example: Rare items=Stringy Sinew, Tiny Pocketwatch

Blank code to copy+paste:

{{Creature
| Where found=
| Skill to attack=
| Blood (health)=
| Liftable or Inventory=
| Dead animal=
| Items on pickup=
| Items gained=
| Rare items=
}}

Visit Template:Creature/doc to edit this text! (How does this work?)