Difference between revisions of "Template:Creature"
From Salem Wiki
ShadowTani (talk | contribs) (Made the text not hug the frame so much) |
Pistolshrimp (talk | contribs) |
||
(13 intermediate revisions by 6 users not shown) | |||
Line 1: | Line 1: | ||
<!-- Template START -->[[Category:Creatures]] | <!-- Template START -->[[Category:Creatures]] | ||
− | {| style="float:left; margin-right: | + | {| style="float:left; margin-right:25px" |
| | | | ||
<!-- 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="color:white; font-size:1.2em; text-align:center"|{{CheckNamespace}} | ||
|- | |- | ||
| | | | ||
− | {| style="width:100%; border:black 2px solid; background:# | + | {| style="width:100%; border:black 2px solid; background:#4c4c4c" |
| style="width:125px; vertical-align:middle; padding-left:0.2em;" |'''Where found:''' | | style="width:125px; vertical-align:middle; padding-left:0.2em;" |'''Where found:''' | ||
| {{#switch: {{{Where found|}}} | | {{#switch: {{{Where found|}}} | ||
Line 13: | Line 15: | ||
| none='''Not found in the wild''' | | none='''Not found in the wild''' | ||
| = ''unknown'' | | = ''unknown'' | ||
− | | {{T1|{{{Where found}}}}} | + | | {{TX|T1|{{{Where found}}}}} |
}} | }} | ||
|} | |} | ||
Line 20: | Line 22: | ||
|- | |- | ||
| | | | ||
− | {| style="width:100%; border:black 2px solid; background:# | + | {| style="width:100%; border:black 2px solid; background:#4c4c4c" |
| style="width:125px; padding-left:0.2em;" |'''Skill required:''' | | style="width:125px; padding-left:0.2em;" |'''Skill required:''' | ||
| {{#switch: {{{Skill to attack|}}} | | {{#switch: {{{Skill to attack|}}} | ||
Line 30: | Line 32: | ||
| {{#switch: {{{Blood (health)|}}} | | {{#switch: {{{Blood (health)|}}} | ||
| None='''Can't be Attacked''' | | None='''Can't be Attacked''' | ||
− | | none=''' | + | | none='''Can't be attacked''' |
+ | | various='''Various''' | ||
+ | | Various='''Various''' | ||
| = ''unknown'' | | = ''unknown'' | ||
| [[Has health::{{{Blood (health)}}}]] | | [[Has health::{{{Blood (health)}}}]] | ||
Line 43: | Line 47: | ||
| neither = | | neither = | ||
| = {{!}} style="vertical-align:top; padding-left:0.2em;" {{!}}'''Item(s) gained:'''{{!}}{{!}}''unknown'' | | = {{!}} style="vertical-align:top; padding-left:0.2em;" {{!}}'''Item(s) gained:'''{{!}}{{!}}''unknown'' | ||
− | | {{!}} style{{=}}"vertical-align:top; padding-left:0.2em;" {{!}}'''Item(s) gained:'''{{!}}{{!}}{{T2|{{{Dead animal}}}}} | + | | {{!}} style{{=}}"vertical-align:top; padding-left:0.2em;" {{!}}'''Item(s) gained:'''{{!}}{{!}}{{TX|T2|{{{Dead animal}}}}} |
}} | }} | ||
|} | |} | ||
Line 50: | Line 54: | ||
|- | |- | ||
| | | | ||
− | {| style="width:100%; border:black 2px solid; background:# | + | {| style="width:100%; border:black 2px solid; background:#4c4c4c; 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.'''''}} | ||
+ | |- | ||
+ | | {{#switch: {{{Items on pickup|}}} | ||
+ | | = style{{=}}"width:125px" {{!}}'''Item(s) on pickup:'''{{!}}{{!}}''unknown (use 'none' if cannot be butchered)'' | ||
+ | | none = | ||
+ | | style{{=}}"width:125px; vertical-align:top" {{!}}'''Item(s) on pickup:'''{{!}}{{!}}{{TX|T2|{{{Items on pickup}}}}} | ||
+ | }} | ||
|- | |- | ||
| {{#switch: {{{Items gained|}}} | | {{#switch: {{{Items gained|}}} | ||
− | | = style{{=}}"width:125px" {{!}}'''Item(s) gained:'''{{!}}{{!}}''unknown (use 'none' if | + | | = 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. | | none = style{{=}}"text-align:center" colspan="2" {{!}}You cannot butcher this creature. | ||
− | | style{{=}}"width:125px; vertical-align:top" {{!}}'''Item(s) gained:'''{{!}}{{!}}{{T2|{{{Items gained}}}}} | + | | style{{=}}"width:125px; vertical-align:top" {{!}}'''Item(s) gained:'''{{!}}{{!}}{{TX|T2|{{{Items gained}}}}} |
}} | }} | ||
|- | |- | ||
Line 62: | Line 72: | ||
| = 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):'''{{!}}{{!}}{{TX|T2|{{{Rare items}}}}} |
}} | }} | ||
|} | |} | ||
Line 74: | Line 84: | ||
<!-- Image END --> | <!-- Image END --> | ||
<!-- Template END --> | <!-- Template END --> | ||
− | <noinclude> | + | <noinclude>{{documentation}}</noinclude> |
− | { | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− |
Latest revision as of 17:57, 4 May 2024
|
Template documentation (for the template shown above, sometimes hidden or invisible)
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 on pickup= | Items gained= | Rare items= }} |
Visit Template:Creature/doc to edit this text! (How does this work?)