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:Lethosor/Sandbox"

From Dwarf Fortress Wiki
Jump to navigation Jump to search
m (test of customizable info box)
m (loop test)
Line 1: Line 1:
{{/Rounded info box|hbgcolor=red|bgcolor=lime|bordercolor=purple|color=yellow|hcolor=pink}}
+
{{/Loop test|a|b|c}}
 
 
 
 
 
 
{{infostart|
 
{{{name}}}}}
 
{{infocell|{{char|{{{symbol|?}}}}}|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}}
 
{{/Infoheader1|Biome}}
 
{{/Infocell1|{{#if:{{{biome|}}}|{{{biome|}}}|Any location}}}}
 
{{#ifexpr:{{#if:{{{alignment|}}}|1|0}} or {{#ifexpr:{{{bldgdest|0}}}>0|1|0}} or {{#if:{{{attribs|}}}|1|0}}|
 
{{infoheader|Attributes}}
 
{{#if:{{{alignment|}}}|{{inforow|Alignment:|{{{alignment}}} }}|{{!-}}}}
 
{{#ifexpr:{{{bldgdest|0}}}>0|{{infocell|[[Building destroyer]]: Level {{{bldgdest}}}}}|{{!-}}}}}}
 
{{#if:{{{attribs|}}}|{{infocell|{{{attribs}}}}}|{{!-}}}}
 
{{#ifexpr:{{#if:{{{pet|}}}|1|0}} or {{#if:{{{exotic|}}}|1|0}}|
 
{{infoheader|Tamed Attributes}}
 
{{inforow|Pet value|{{formatnum:{{{petvalue|0}}}}}}}
 
{{#if:{{{grazer|}}}|{{inforow|[[Pasture|Grazer]]:|{{{grazer}}} }}|{{!-}}}}
 
{{#ifexpr:{{#if:{{{milkable|}}}|1|0}} or {{#if:{{{shearable|}}}|1|0}} or {{#if:{{{egglaying|}}}|1|0}}|{{infocell|{{{milkable}}}  {{{shearable}}}   {{{egglaying}}}}}|{{!-}}}}
 
{{infocell|{{#ifexpr:{{#expr:{{{train_hunt|0}}}+{{{train_war|0}}}>0}}|
 
[[Animal trainer|Trainable]]:   {{#ifexpr:{{{train_hunt|0}}}>0|Hunting|}}   {{#ifexpr:{{{train_war|0}}}>0|War|}}|Not [[Animal trainer|trainable]]}}}}
 
{{#if:{{{exotic}}}|{{infocell|[[Exotic pet]]}}}}|
 
{{infoheader|Cannot be tamed}}}}{{
 
#ifexpr:{{#expr:{{{size0|0}}}+{{{size1|0}}}+{{{size2|0}}}}}>0| 
 
{{infoheader|Size}}
 
{{infocell|{{#ifexpr:{{{size0|0}}}>0|{{inforow|'''Child:'''|{{formatnum:{{{size0}}} cm<sup>3</sup> }}}}
 
{{#ifexpr:{{{size1|0}}}>0|{{inforow|'''Adolescent:'''|{{formatnum:{{{size1}}} cm<sup>3</sup> }}}}}}
 
|{{#ifexpr:{{{size1|0}}}>0|{{inforow|'''Child:'''|{{formatnum:{{{size1}}} cm<sup>3</sup> }}}}}}}}
 
{{#ifexpr:{{{size2|0}}}>0|{{inforow|'''Adult:'''|{{formatnum:{{{size2}}} cm<sup>3</sup> }}}}}}}}||}}
 
{{infoheader|{{#switch:{{{death|}}}
 
|rot=Rotting leaves
 
|item=Becomes after death
 
|nobutcher=Cannot be butchered
 
|butcher |#default=[[Meat industry|Butchering returns]]}}}}
 
{{#if:{{{valm|}}}|([[Multiply value|Value multiplier]] x{{{valm|}}})}}
 
{{#ifeq:{{{death|}}}|item|{{infocell|{{{item|}}}}}|{{!-}}}}
 
{{#switch:{{{death|}}}
 
|nobutcher
 
|item={{!-}}
 
|#default={{infocell|'''Food items'''}}}}
 
{{#if:{{{meat|}}}|{{inforow|[[Meat]]|{{{meat|}}}}}|{{!-}}}}
 
{{#if:{{{fat|}}}|{{inforow|[[Fat]]|{{{fat|}}}}}|{{!-}}}}
 
{{#if:{{{brain|}}}|{{inforow|[[Brain]]|{{{brain|}}}}}|{{!-}}}}
 
{{#if:{{{gizzard|}}}|{{inforow|[[Gizzard]]|{{{gizzard|}}}}}|{{!-}}}}
 
{{#if:{{{heart|}}}|{{inforow|[[Heart]]|{{{heart|}}}}}|{{!-}}}}
 
{{#if:{{{lung|}}}|{{inforow|[[Lung]]s|{{{lung|}}}}}|{{!-}}}}
 
{{#if:{{{intestine|}}}|{{inforow|[[Intestines]]|{{{intestine|}}}}}|{{!-}}}}
 
{{#if:{{{liver|}}}|{{inforow|[[Liver]]|{{{liver|}}}}}|{{!-}}}}
 
{{#if:{{{kidney|}}}|{{inforow|[[Kidney]]s|{{{kidney|}}}}}|{{!-}}}}
 
{{#if:{{{tripe|}}}|{{inforow|[[Tripe]]|{{{tripe|}}}}}|{{!-}}}}
 
{{#if:{{{sweetbread|}}}|{{inforow|[[Sweetbread]]|{{{sweetbread|}}}}}|{{!-}}}}
 
{{#if:{{{eye|}}}|{{inforow|[[Eye]]s|{{{eye|}}}}}|{{!-}}}}
 
{{#if:{{{spleen|}}}|{{inforow|[[Spleen]]|{{{spleen|}}}}}|{{!-}}}}
 
{{#switch:{{{death|}}}
 
|nobutcher
 
|item={{!-}}
 
|#default={{infocell|'''Raw materials'''}}}}
 
{{#if:{{{bone|}}}|{{inforow|[[Bones]]|{{{bone|}}}}}|{{!-}}}}
 
{{#if:{{{skull|}}}|{{inforow|[[Skull]]|{{{skull|}}}}}|{{!-}}}}
 
{{#if:{{{ivory|}}}|{{inforow|[[Ivory]]|{{{ivory|}}}}}|{{!-}}}}
 
{{#if:{{{tooth|}}}|{{inforow|[[Teeth]]|{{{tooth|}}}}}|{{!-}}}}
 
{{#if:{{{hoof|}}}|{{inforow|[[Hooves]]|{{{hoof|}}}}}|{{!-}}}}
 
{{#if:{{{horn|}}}|{{inforow|[[Horns]]|{{{horn|}}}}}|{{!-}}}}
 
{{#if:{{{shell|}}}|{{inforow|[[Shell]]|{{{shell|}}}}}|{{!-}}}}
 
{{#if:{{{skin|}}}|{{inforow|[[Skin]]|{{#switch:{{{skin|hide}}}|hide=Raw hide|scale=Scales|chitin=Chitin|none=not skinnable|#default='''Unknown'''}}}}|{{!-}}}}
 
{{#if:{{{wool|}}}|{{inforow|[[Wool]]|{{{wool|}}}}}|{{!-}}}}
 
{{#if:{{{gizzard_stone|}}}|{{inforow|[[Gizzard stone]]|{{{gizzard_stone|}}}}}|{{!-}}}}
 
{{#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=[[wikipedia:{{#if:{{{wiki|}}}|{{{wiki|}}}|{{{name}}}}}|Wikipedia article]]}}|{{!-}}}}
 
{{infoend}}<noinclude>{{documentation}}</noinclude>
 
 
 
 
 
 
 
 
 
  
  
  
 +
{{/Rounded info box|hbgcolor=red|bgcolor=lime|bordercolor=purple|color=yellow|hcolor=pink}}
  
 
{{spoil_small|title=Title goes here|
 
{{spoil_small|title=Title goes here|

Revision as of 16:06, 11 February 2013

{{

 #forargs: arg
 | key
 | value
 | 
  • =

}}


{{{1}}}

{{{2}}}



Hello

Hello
Causes cave-in Will not cause cave-in
B B B .
B B B X
B B B .
F F F W
B B B .
B B B X
B B B W
F F F W
Causes cave-in Will not cause cave-in
B B B .
B B B X
B B B .
F F F W
B B B .
B B B X
B B B W
F F F W
BLACK DGRAY
BLUE LBLUE
GREEN LGREEN
CYAN LCYAN
RED LRED
MAGENTA LMAGENTA
BROWN YELLOW
LGRAY WHITE


{{{name}}}
? ? ? ? ? ?
? ? ? ? ? ?
? ? ? ? ? ?
? ? ? ? ? ?
Biome

?

Location
Wet Dry

[[wikipedia:{{{name}}}|Wikipedia article]]

Template:Grasslookup

Not found
not found not found not found not found not found not found
not found not found not found not found not found not found
not found not found not found not found not found not found
not found not found not found not found not found not found
Biome


Location
Wet Dry

Wikipedia article

Not found
not found not found not found not found not found not found
not found not found not found not found not found not found
not found not found not found not found not found not found
not found not found not found not found not found not found
Biome


Location
Wet Dry

Wikipedia article