Difference between revisions of "Template:Creature"
From Salem Wiki
ShadowTani (talk | contribs) |
ShadowTani (talk | contribs) (Made the text not hug the frame so much) |
||
Line 4: | Line 4: | ||
<!-- Infobox START --> | <!-- Infobox START --> | ||
{| style="min-width:300px; padding:0.1em; border:black 2px solid; border-radius:0.4em; background:#71583b; 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:#efebe5" | {| style="width:100%; border:black 2px solid; background:#efebe5" | ||
− | | style="width:125px; vertical-align:middle;" |'''Where found:''' | + | | style="width:125px; vertical-align:middle; padding-left:0.2em;" |'''Where found:''' |
| {{#switch: {{{Where found|}}} | | {{#switch: {{{Where found|}}} | ||
| None='''Not found in the wild''' | | None='''Not found in the wild''' | ||
Line 21: | Line 21: | ||
| | | | ||
{| style="width:100%; border:black 2px solid; background:#efebe5" | {| style="width:100%; border:black 2px solid; background:#efebe5" | ||
− | | 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 27: | 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''' | ||
Line 35: | Line 35: | ||
}} | }} | ||
|- | |- | ||
− | |'''Liftable or Inventory?:'''||{{{Liftable or Inventory|''unknown''}}} | + | | style="padding-left:0.2em;" |'''Liftable or Inventory?:'''||{{{Liftable or Inventory|''unknown''}}} |
|- | |- | ||
− | |||
{{#switch: {{{Liftable or Inventory|}}} | {{#switch: {{{Liftable or Inventory|}}} | ||
| Liftable = | | Liftable = | ||
Line 43: | Line 42: | ||
| Neither = | | Neither = | ||
| neither = | | neither = | ||
− | | = {{!}} style="vertical-align:top" {{!}}'''Item(s) gained:'''{{!}}{{!}}''unknown'' | + | | = {{!}} style="vertical-align:top; padding-left:0.2em;" {{!}}'''Item(s) gained:'''{{!}}{{!}}''unknown'' |
− | | {{!}} style{{=}}"vertical-align:top" {{!}}'''Item(s) gained:'''{{!}}{{!}}{{T2|{{{Dead animal}}}}} | + | | {{!}} style{{=}}"vertical-align:top; padding-left:0.2em;" {{!}}'''Item(s) gained:'''{{!}}{{!}}{{T2|{{{Dead animal}}}}} |
}} | }} | ||
|} | |} | ||
Line 51: | Line 50: | ||
|- | |- | ||
| | | | ||
− | {| style="width:100%; border:black 2px solid; background:#efebe5" | + | {| style="width:100%; border:black 2px solid; background:#efebe5; padding-left:0.2em;" |
| {{#IFEQ: {{{Items gained}}} | none | | style="text-align:center" colspan="2" {{!}}'''NOTE: ''Items and quantities depend upon skills known.'''''}} | | {{#IFEQ: {{{Items gained}}} | none | | style="text-align:center" colspan="2" {{!}}'''NOTE: ''Items and quantities depend upon skills known.'''''}} | ||
|- | |- | ||
Line 61: | Line 60: | ||
|- | |- | ||
| {{#switch: {{{Rare items|}}} | | {{#switch: {{{Rare items|}}} | ||
− | | = style{{=}}"width:125px" {{!}}'''Rare item(s):'''{{!}}{{!}}''unknown (use 'none' if no chance for rare items)'' | + | | = style{{=}}"width:125px;" {{!}}'''Rare item(s):'''{{!}}{{!}}''unknown (use 'none' if no chance for rare items)'' |
| none = | | none = | ||
− | | style{{=}}"width:125px; vertical-align:top" {{!}}'''Rare item(s):'''{{!}}{{!}}{{T2|{{{Rare items}}}}} | + | | style{{=}}"width:125px; vertical-align:top;" {{!}}'''Rare item(s):'''{{!}}{{!}}{{T2|{{{Rare items}}}}} |
}} | }} | ||
|} | |} |
Revision as of 03:31, 17 June 2017
|
When to use this template:
How to use this template:Breakdown of parameters:
Blank code to copy+paste: |
{{Creature | Where found= | Skill to attack= | Blood (health)= | Liftable or Inventory= | Dead animal= | Items gained= | Rare items= }} |