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.
Editing User:Used/MyTestingArea
Jump to navigation
Jump to search
Warning: You are not logged in.
Your IP address will be recorded in this page's edit history.
The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then save the changes below to finish undoing the edit.
Latest revision | Your text | ||
Line 1: | Line 1: | ||
'''Just an space to test and experiment with some wiki syntax.''' | '''Just an space to test and experiment with some wiki syntax.''' | ||
− | + | <!-- | |
+ | CreatureInfo new | ||
+ | |||
+ | Variables | ||
+ | name = name of the creature (maybe gathered from namespace) | ||
+ | symbol = symbol of the creature | ||
+ | color = color of the symbol | ||
+ | algin = alginment | ||
+ | good -> good alginment is displayed | ||
+ | evil -> evil alginment is displayed | ||
+ | savage -> savage alginment is displayed | ||
+ | neutral or nothing -> alginment is ignored | ||
+ | biome = list of the biomes | ||
+ | death = selects caption for "what happens after death" | ||
+ | butcher -> butchering returns | ||
+ | rot -> rotting leaves | ||
+ | item > turns after Death to (Bronze Coloss and so on) | ||
+ | valm = Value multiplier (1 2 4 5 10 15) returns nothing when left out | ||
+ | |||
+ | |||
+ | example: Unicorn | ||
+ | --> | ||
+ | |||
+ | {{infostart|{{{name|Unicorn}}}}} | ||
+ | {{infocell|{{char|{{{symbol|U}}}}}|style=color: {{fgcolor|{{{color|7:0:1}}}}}; background: black; font-size:x-large; font-weight: bold; font-family: 'Courier New', 'Quicktype Mono', 'Bitstream Vera Sans Mono', 'Lucida Console', 'Lucida Sans Typewriter', monospace; text-align:center; vertical-align:center}} | ||
+ | {{infoheader|{{L|Biome}}}} | ||
+ | {{#switch:{{{algin|good}}} | ||
+ | |good={{infocell|'''Only in {{L|Surroundings#Good|good}} areas of'''}} | ||
+ | |evil={{infocell|'''Only in {{L|Surroundings#Evil|evil}} areas of'''}} | ||
+ | |savage={{infocell|'''Only in {{L|Surroundings#savage|savage}} areas of'''}} | ||
+ | |neutral | ||
+ | |#default= | ||
+ | }} | ||
+ | {{infocell|{{{biome| | ||
+ | * {{L|Taiga}}s | ||
+ | * {{L|Forest|Temperate forest}}s | ||
+ | * {{L|Forest|Tropical forest}}s | ||
+ | * {{L|Shrubland|Temperate shrubland}}s | ||
+ | * {{L|Shrubland|Tropical shrubland}}s}}} | ||
+ | }} | ||
+ | {{infoheader|{{#switch:{{{death|butcher}}} |rot=Rotting leaves |item=Turns after death to |butcher |#default=Butchering returns}}}} | ||
+ | {{#if: {{{valm|4}}} | (Value multiplier x{{{valm|4}}})}} | ||
+ | {{infocell|'''Food items'''}} | ||
+ | {{#if:{{{meat|10-22}}}|{{inforow|{{L|Meat}}|{{{meat|10-22}}}}}}} | ||
+ | {{#if:{{{fat|9}}}|{{inforow|{{L|Fat}}|{{{fat|9}}}}}}} | ||
+ | {{#if:{{{brain|2}}}|{{inforow|{{L|Brain}}|{{{brain|2}}}}}}} | ||
+ | {{#if:{{{heart|1}}}|{{inforow|{{L|Heart}}|{{{heart|1}}}}}}} | ||
+ | {{#if:{{{lung|2}}}|{{inforow|{{L|Lung}}|{{{lung|2}}}}}}} | ||
+ | {{#if:{{{intestines|2}}}|{{inforow|{{L|Intestines}}|{{{intestines|2}}}}}}} | ||
+ | {{#if:{{{liver|1}}}|{{inforow|{{L|Liver}}|{{{liver|1}}}}}}} | ||
+ | {{#if:{{{kidney|2}}}|{{inforow|{{L|Kidney}}|{{{kidney|2}}}}}}} | ||
+ | {{#if:{{{tripe|1}}}|{{inforow|{{L|Tripe}}|{{{tripe|1}}}}}}} | ||
+ | {{#if:{{{sweetbread|1}}}|{{inforow|{{L|Sweetbread}}|{{{sweetbread|1}}}}}}} | ||
+ | {{#if:{{{eyes|2}}}|{{inforow|{{L|Eyes}}|{{{eyes|2}}}}}}} | ||
+ | {{#if:{{{spleen|1}}}|{{inforow|{{L|Spleen}}|{{{spleen|1}}}}}}} | ||
+ | {{infocell|'''Raw materials'''}} | ||
+ | {{#if:{{{bones|14}}}|{{inforow|{{L|Bones}}|{{{bones|14}}}}}}} | ||
+ | {{#if:{{{skull|1}}}|{{inforow|{{L|Skull}}|{{{skull|1}}}}}}} | ||
+ | {{#if:{{{ivory|}}}|{{inforow|{{L|Ivory}}|{{{ivory|}}}}}}} <!-- does NOT return nothing ... =( getting strange empty lines--> | ||
+ | {{#if:{{{tooth|}}}|{{inforow|{{L|Tooth}}|{{{tooth|}}}}}}} | ||
+ | {{#if:{{{hoofes|4}}}|{{inforow|{{L|Hoofes}}|{{{hoofes|4}}}}}}} | ||
+ | {{#if:{{{horns|1}}}|{{inforow|{{L|Horns}}|{{{horns|1}}}}}}} | ||
+ | {{#if:{{{hide|1}}}|{{inforow|{{L|Hides}}|{{{hide|1}}}}}}} | ||
+ | {{#if:{{{scale|}}}|{{inforow|{{L|Scale}}|{{{scale|}}}}}}} | ||
+ | {{#if:{{{chitin|}}}|{{inforow|{{L|Chitin}}|{{{chitin|}}}}}}} | ||
+ | {{infoend}} | ||
+ | |||
+ | {{#if: {{{bones|20}}} | returns anything | returns nothing }} |