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 "User:Used/MyTestingArea"

From Dwarf Fortress Wiki
Jump to navigation Jump to search
m (nearly done)
(yeah, done =))
Line 1: Line 1:
'''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|
 
{{infostart|
 
{{{name|Unicorn}}}}}
 
{{{name|Unicorn}}}}}
Line 44: Line 19:
 
{{infoheader|{{#switch:{{{death|butcher}}} |rot=Rotting leaves |item=Turns after death to |butcher |#default=Butchering returns}}}}
 
{{infoheader|{{#switch:{{{death|butcher}}} |rot=Rotting leaves |item=Turns after death to |butcher |#default=Butchering returns}}}}
 
{{#if: {{{valm|4}}} | (Value multiplier x{{{valm|4}}})}}
 
{{#if: {{{valm|4}}} | (Value multiplier x{{{valm|4}}})}}
{{infocell|'''Food items'''}}
+
{{#ifeq:{{{death|butcher}}}|item|{{infocell|{{{item|}}}}}|{{!-}}}}
 +
{{#ifeq:{{{death|butcher}}}|item|{{!-}}|{{infocell|'''Food items'''}}}}
 
{{#if:{{{meat|10-22}}}|{{inforow|{{L|Meat}}|{{{meat|10-22}}}}}|{{!-}}}}
 
{{#if:{{{meat|10-22}}}|{{inforow|{{L|Meat}}|{{{meat|10-22}}}}}|{{!-}}}}
 
{{#if:{{{fat|9}}}|{{inforow|{{L|Fat}}|{{{fat|9}}}}}|{{!-}}}}
 
{{#if:{{{fat|9}}}|{{inforow|{{L|Fat}}|{{{fat|9}}}}}|{{!-}}}}
Line 57: Line 33:
 
{{#if:{{{eyes|2}}}|{{inforow|{{L|Eyes}}|{{{eyes|2}}}}}|{{!-}}}}
 
{{#if:{{{eyes|2}}}|{{inforow|{{L|Eyes}}|{{{eyes|2}}}}}|{{!-}}}}
 
{{#if:{{{spleen|1}}}|{{inforow|{{L|Spleen}}|{{{spleen|1}}}}}|{{!-}}}}
 
{{#if:{{{spleen|1}}}|{{inforow|{{L|Spleen}}|{{{spleen|1}}}}}|{{!-}}}}
{{infocell|'''Raw materials'''}}
+
{{#ifeq:{{{death|butcher}}}|item|{{!-}}|{{infocell|'''Raw materials'''}}}}
 
{{#if:{{{bones|14}}}|{{inforow|{{L|Bones}}|{{{bones|14}}}}}|{{!-}}}}
 
{{#if:{{{bones|14}}}|{{inforow|{{L|Bones}}|{{{bones|14}}}}}|{{!-}}}}
 
{{#if:{{{skull|1}}}|{{inforow|{{L|Skull}}|{{{skull|1}}}}}|{{!-}}}}
 
{{#if:{{{skull|1}}}|{{inforow|{{L|Skull}}|{{{skull|1}}}}}|{{!-}}}}
Line 64: Line 40:
 
{{#if:{{{hoofes|4}}}|{{inforow|{{L|Hoofes}}|{{{hoofes|4}}}}}|{{!-}}}}
 
{{#if:{{{hoofes|4}}}|{{inforow|{{L|Hoofes}}|{{{hoofes|4}}}}}|{{!-}}}}
 
{{#if:{{{horns|1}}}|{{inforow|{{L|Horns}}|{{{horns|1}}}}}|{{!-}}}}
 
{{#if:{{{horns|1}}}|{{inforow|{{L|Horns}}|{{{horns|1}}}}}|{{!-}}}}
{{#if:{{{hide|1}}}|{{inforow|{{L|Hides}}|{{{hide|1}}}}}|{{!-}}}}
+
{{#if:{{{skin|hide}}}|{{inforow|{{L|Skin}}|{{#switch:{{{skin|hide}}}|none=not skinable |scale=Scales |chitin=Chitin |hide |#default=Raw hide}}}}|{{!-}}}}
{{#if:{{{scale|}}}|{{inforow|{{L|Scale}}|{{{scale|}}}}}|{{!-}}}}
+
{{#ifeq:{{{contrib|yes}}}|no||{{infocell|style=text-align:center; background-color: #eee; border-top: 1px solid #aaa|''There are too little information about this creature.<br /> Please contribute if you can!''}}|{{!-}}}}
{{#if:{{{chitin|}}}|{{inforow|{{L|Chitin}}|{{{chitin|}}}}}|{{!-}}}}
+
{{#ifeq:{{{wiki}}}|no||{{infocell|style=text-align:center; background-color: #eee; border-top: 1px solid #aaa|1={{wp|{{{wiki|{{{name}}}}}}|Wikipedia article}}}}|{{!-}}}}
 +
{{infoend}}
 +
 
 +
 
 +
{{infostart|
 +
{{{name|Bronze colossus}}}}}
 +
{{infocell|{{char|{{{symbol|C}}}}}|style=color: {{fgcolor|{{{color|6:0:0}}}}}; 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={{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|* Any land}}}}}
 +
{{infoheader|{{#switch:{{{death|item}}} |rot=Rotting leaves |item=Turns after death to |butcher |#default=Butchering returns}}}}
 +
{{#if: {{{valm|}}} | (Value multiplier x{{{valm|}}})}}
 +
{{#ifeq:{{{death|item}}}|item|{{infocell|{{{item|{{L|Bronze}} {{L|statue}} (worth 1500☼)}}}}}|{{!-}}}}
 +
{{#ifeq:{{{death|item}}}|item|{{!-}}|{{infocell|'''Food items'''}}}}
 +
{{#if:{{{meat|}}}|{{inforow|{{L|Meat}}|{{{meat|}}}}}|{{!-}}}}
 +
{{#if:{{{fat|}}}|{{inforow|{{L|Fat}}|{{{fat|}}}}}|{{!-}}}}
 +
{{#if:{{{brain|}}}|{{inforow|{{L|Brain}}|{{{brain|}}}}}|{{!-}}}}
 +
{{#if:{{{heart|}}}|{{inforow|{{L|Heart}}|{{{heart|}}}}}|{{!-}}}}
 +
{{#if:{{{lung|}}}|{{inforow|{{L|Lung}}|{{{lung|}}}}}|{{!-}}}}
 +
{{#if:{{{intestines|}}}|{{inforow|{{L|Intestines}}|{{{intestines|}}}}}|{{!-}}}}
 +
{{#if:{{{liver|}}}|{{inforow|{{L|Liver}}|{{{liver|}}}}}|{{!-}}}}
 +
{{#if:{{{kidney|}}}|{{inforow|{{L|Kidney}}|{{{kidney|}}}}}|{{!-}}}}
 +
{{#if:{{{tripe|}}}|{{inforow|{{L|Tripe}}|{{{tripe|}}}}}|{{!-}}}}
 +
{{#if:{{{sweetbread|}}}|{{inforow|{{L|Sweetbread}}|{{{sweetbread|}}}}}|{{!-}}}}
 +
{{#if:{{{eyes|}}}|{{inforow|{{L|Eyes}}|{{{eyes|}}}}}|{{!-}}}}
 +
{{#if:{{{spleen|}}}|{{inforow|{{L|Spleen}}|{{{spleen|}}}}}|{{!-}}}}
 +
{{#ifeq:{{{death|item}}}|item|{{!-}}|{{infocell|'''Raw materials'''}}}}
 +
{{#if:{{{bones|}}}|{{inforow|{{L|Bones}}|{{{bones|}}}}}|{{!-}}}}
 +
{{#if:{{{skull|}}}|{{inforow|{{L|Skull}}|{{{skull|}}}}}|{{!-}}}}
 +
{{#if:{{{ivory|}}}|{{inforow|{{L|Ivory}}|{{{ivory|}}}}}|{{!-}}}}
 +
{{#if:{{{tooth|}}}|{{inforow|{{L|Tooth}}|{{{tooth|}}}}}|{{!-}}}}
 +
{{#if:{{{hoofes|}}}|{{inforow|{{L|Hoofes}}|{{{hoofes|}}}}}|{{!-}}}}
 +
{{#if:{{{horns|}}}|{{inforow|{{L|Horns}}|{{{horns|}}}}}|{{!-}}}}
 +
{{#if:{{{skin|}}}|{{inforow|{{L|Skin}}|{{#switch:{{{skin|}}}|hide=Raw hide |scale=Scales |chitin=Chitin |none |#default=not skinable}}}}|{{!-}}}}
 +
{{#ifeq:{{{contrib|no}}}|no||{{infocell|style=text-align:center; background-color: #eee; border-top: 1px solid #aaa|''There are too little information about this creature.<br /> Please contribute if you can!''}}|{{!-}}}}
 +
{{#ifeq:{{{wiki|no}}}|no||{{infocell|style=text-align:center; background-color: #eee; border-top: 1px solid #aaa|1={{wp|{{{wiki|{{{name}}}}}}|Wikipedia article}}}}|{{!-}}}}
 
{{infoend}}
 
{{infoend}}
 +
 +
'''Just an space to test and experiment with some wiki syntax.'''
 +
 +
== '''CreatureInfo new''' ==
 +
 +
=== Variablen ===
 +
 +
name  = name of the creature
 +
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"
 +
          rot  -> rotting leaves
 +
          item -> turns after Death to
 +
          butcher or nothing -> butchering returns
 +
item  = when death=item then item description
 +
valm  = Value multiplier (1 2 4 5 10 15) returns nothing when left out
 +
skin  = selects skintype (and skinnable)
 +
          none  -> not skinable
 +
          scale  -> scale
 +
          chitin -> chitin
 +
          hide or nothing -> raw hide
 +
contrib = displays contribute message
 +
wiki  = links to wiki or not
 +
meat fat brain ... = as always; returns nothing when left out

Revision as of 15:35, 27 June 2010

Unicorn

U

Template:L

Only in Template:L areas of

Butchering returns

(Value multiplier x4)

Food items

Template:L 10-22
Template:L 9
Template:L 2
Template:L 1
Template:L 2
Template:L 2
Template:L 1
Template:L 2
Template:L 1
Template:L 1
Template:L 2
Template:L 1

Raw materials

Template:L 14
Template:L 1
Template:L 4
Template:L 1
Template:L Raw hide

There are too little information about this creature.
Please contribute if you can!

Template:Wp


Bronze colossus

C

Template:L
  • Any land
Turns after death to

Template:L Template:L (worth 1500☼)

Just an space to test and experiment with some wiki syntax.

CreatureInfo new

Variablen

name   = name of the creature
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" 
         rot  -> rotting leaves
         item -> turns after Death to
         butcher or nothing -> butchering returns
item   = when death=item then item description 
valm   = Value multiplier (1 2 4 5 10 15) returns nothing when left out
skin   = selects skintype (and skinnable)
         none   -> not skinable
         scale  -> scale
         chitin -> chitin
         hide or nothing -> raw hide
contrib = displays contribute message
wiki   = links to wiki or not
meat fat brain ... = as always; returns nothing when left out