v50 Steam/Premium information for editors
- v50 information can now be added to pages in the main namespace. v0.47 information can still be found in the DF2014 namespace. See here for more details on the new versioning policy.
- Use this page to report any issues related to the migration.
This notice may be cached—the current version can be found here.
Difference between revisions of "Template:CreatureInfo v0.31"
Jump to navigation
Jump to search
m |
(remove checks for plural parameters) |
||
Line 45: | Line 45: | ||
{{#if:{{{horn|}}}|{{inforow|{{L|Horns}}|{{{horn|}}}}}|{{!-}}}} | {{#if:{{{horn|}}}|{{inforow|{{L|Horns}}|{{{horn|}}}}}|{{!-}}}} | ||
{{#if:{{{shell|}}}|{{inforow|{{L|Shell}}|{{{shell|}}}}}|{{!-}}}} | {{#if:{{{shell|}}}|{{inforow|{{L|Shell}}|{{{shell|}}}}}|{{!-}}}} | ||
− | {{#if:{{{skin|}}}|{{inforow|{{L|Skin}}|{{#switch:{{{skin|hide}}}|hide=Raw hide|scale=Scales|chitin=Chitin|none=not skinnable|#default='''Unknown''' | + | {{#if:{{{skin|}}}|{{inforow|{{L|Skin}}|{{#switch:{{{skin|hide}}}|hide=Raw hide|scale=Scales|chitin=Chitin|none=not skinnable|#default='''Unknown'''}}}}|{{!-}}}} |
{{#ifeq:{{{contrib|}}}|no|{{!-}}|{{infocell|style=text-align:center; background-color: #eee; border-top: 1px solid #aaa|''There is too little information about this creature.<br /> Please contribute if you can!''}}|{{!-}}}} | {{#ifeq:{{{contrib|}}}|no|{{!-}}|{{infocell|style=text-align:center; background-color: #eee; border-top: 1px solid #aaa|''There is too little information about this creature.<br /> Please contribute if you can!''}}|{{!-}}}} | ||
{{#ifeq:{{{wiki|}}}|no|{{!-}}|{{infocell|style=text-align:center; background-color: #eee; border-top: 1px solid #aaa|1={{wp|{{{wiki|{{{name}}}}}}|Wikipedia article}}}}|{{!-}}}} | {{#ifeq:{{{wiki|}}}|no|{{!-}}|{{infocell|style=text-align:center; background-color: #eee; border-top: 1px solid #aaa|1={{wp|{{{wiki|{{{name}}}}}}|Wikipedia article}}}}|{{!-}}}} | ||
− | {{infoend}} | + | {{infoend}}<noinclude>{{documentation}}</noinclude> |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | <noinclude>{{documentation}}</noinclude> |
Revision as of 04:30, 7 November 2010
? | |
Template:L | |
---|---|
Template:L | |
Food items | |
Raw materials | |
There is too little information about this creature. | |
(view - edit - history - purge) Documentation
W | |
Template:L | |
---|---|
| |
Template:L | |
Food items | |
Template:L | 574-773 |
Template:L | 107-236 |
Template:L | 42-60 |
Template:L | 21-30 |
Template:Ls | 84-120 |
Template:L | 127-180 |
Template:L | 42-60 |
Template:Ls | 42-60 |
Template:L | 42-60 |
Template:L | 21-30 |
Template:Ls | 2 |
Template:L | 21-30 |
Raw materials | |
Template:L | 109-157 |
Template:L | 1 |
CreatureInfo 0.31
- It is possible to display Itemcorpses (for example bronze colossus).
- It is possible to display [NOT_BUTCHERABLE] ( for example magma crab).
- Unnecessary lines are not displayed (like hooves for whales)
- Alignment (good evil savage) integrated, but not displayed if it is neutral
- Pet attributes shown if the creature can be tamed
Variables
General
- name = name of the creature
- symbol = symbol of the creature
- color = color of the symbol
- align = alignment
- good -> good alignment is displayed
- evil -> evil alignment is displayed
- savage -> savage alignment is displayed
- neutral or nothing -> alignment is ignored
- biome = list of the biomes
- pet attributes = list of pet attributes
- petv = pet value
- train -> can be trained at a kennel
- death = selects caption for "what happens after death"
- rot -> rotting leaves
- item -> turns after Death to
- item = if death=item then item description
- nobutcher -> creature can not be butchered
- butcher or nothing -> butchering returns
- valm = Value multiplier returns nothing when left out
- contrib = displays contribute message
- wiki = links to wiki or not
Butchering results
- meat
- fat
- brain
- heart
- lung
- intestine
- liver
- kidney
- tripe
- sweetbread
- eye
- spleen
- bone
- skull
- ivory
- tooth
- hoof
- horn
- shell
- skin = selects skintype (and skinnable)
- none -> not skinnable
- scale -> scale
- chitin -> chitin
- hide -> raw hide
- none -> not skinnable
Usage
{{CreatureInfo v0.31 |name=Whale |symbol=W|color=7:0:0 |biome=* Any [[ocean]] |align=neutral |meat=574-773 |fat=107-236 |eye=2 |lung=84-120 |heart=21-30 |intestine=127-180 |liver=42-60 |tripe=42-60 |sweetbread=21-30 |spleen=21-30 |kidney=42-60 |brain=42-60 |bone=109-157 |skull=1 |contrib=no }}