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:Plant table row"

From Dwarf Fortress Wiki
Jump to navigation Jump to search
m
Line 19: Line 19:
 
|style="background:{{#switch:{{{cook|n}}}|y=rgb(144, 255, 144)|n=rgb(255, 144, 144)|#default=rgb(238, 220, 130)}};"|{{#switch:{{{cook|n}}}|y=Yes|n=No|p=Pr<sup>3</sup>|{{{cook|}}}}}
 
|style="background:{{#switch:{{{cook|n}}}|y=rgb(144, 255, 144)|n=rgb(255, 144, 144)|#default=rgb(238, 220, 130)}};"|{{#switch:{{{cook|n}}}|y=Yes|n=No|p=Pr<sup>3</sup>|{{{cook|}}}}}
 
|{{{p1|''None''}}}{{#if:{{{p2|}}}|<br />{{{p2|}}}|}}{{#if:{{{p3|}}}|<br />{{{p3|}}}|}}{{#if:{{{p4|}}}|<br />{{{p4|}}}|}}{{#if:{{{p5|}}}|<br />{{{p5|}}}|}}{{#if:{{{p6|}}}|<br />{{{p6|}}}|}}{{#if:{{{p7|}}}|<br />{{{p7|}}}|}}{{#if:{{{p8|}}}|<br />{{{p8|}}}|}}{{#if:{{{p9|}}}|<br />{{{p9|}}}|}}
 
|{{{p1|''None''}}}{{#if:{{{p2|}}}|<br />{{{p2|}}}|}}{{#if:{{{p3|}}}|<br />{{{p3|}}}|}}{{#if:{{{p4|}}}|<br />{{{p4|}}}|}}{{#if:{{{p5|}}}|<br />{{{p5|}}}|}}{{#if:{{{p6|}}}|<br />{{{p6|}}}|}}{{#if:{{{p7|}}}|<br />{{{p7|}}}|}}{{#if:{{{p8|}}}|<br />{{{p8|}}}|}}{{#if:{{{p9|}}}|<br />{{{p9|}}}|}}
|{{#if:{{{p1|}}}|{{{pv1|}}}☼|—}}{{#if:{{{p2|}}}|<br />{{#if:{{{pv2|}}}|{{{pv2|}}}☼|—}}|}}{{#if:{{{p3|}}}|<br />{{#if:{{{pv3|}}}|{{{pv3|}}}☼|—}}|}}{{#if:{{{p4|}}}|<br />{{#if:{{{pv4|}}}|{{{pv4|}}}☼|—}}|}}{{#if:{{{p5|}}}|<br />{{#if:{{{pv5|}}}|{{{pv5|}}}☼|—}}|}}{{#if:{{{p6|}}}|<br />{{#if:{{{pv6|}}}|{{{pv6|}}}☼|—}}|}}{{#if:{{{p7|}}}|<br />{{#if:{{{pv7|}}}|{{{pv7|}}}☼|—}}|}}{{#if:{{{p8|}}}|<br />{{#if:{{{pv8|}}}|{{{pv8|}}}☼|—}}|}}{{#if:{{{p9|}}}|<br />{{#if:{{{pv9|}}}|{{{pv9|}}}☼|—}}|}}{{#if:{{{p10|}}}|<br />{{#if:{{{pv10|}}}|{{{pv10|}}}☼|—}}|}}{{#if:{{{p11|}}}|<br />{{#if:{{{pv11|}}}|{{{pv11|}}}☼|—}}|}}{{#if:{{{p12|}}}|<br />{{#if:{{{pv12|}}}|{{{pv12|}}}☼|—}}|}}{{#if:{{{p13|}}}|<br />{{#if:{{{pv13|}}}|{{{pv13|}}}☼|—}}|}}{{#if:{{{p14|}}}|<br />{{#if:{{{pv14|}}}|{{{pv14|}}}☼|—}}|}}{{#if:{{{p15|}}}|<br />{{#if:{{{pv15|}}}|{{{pv15|}}}☼|—}}|}}{{#if:{{{p16|}}}|<br />{{#if:{{{pv16|}}}|{{{pv16|}}}☼|—}}|}}{{#if:{{{p17|}}}|<br />{{#if:{{{pv17|}}}|{{{pv17|}}}☼|—}}|}}{{#if:{{{p18|}}}|<br />{{#if:{{{pv18|}}}|{{{pv18|}}}☼|—}}|}}{{#if:{{{p19|}}}|<br />{{#if:{{{pv19|}}}|{{{pv19|}}}☼|—}}|}}{{#if:{{{p20|}}}|<br />{{#if:{{{pv20|}}}|{{{pv20|}}}☼|—}}|}}<noinclude>
+
|{{#if:{{{pv1|}}}|{{{pv1|}}}☼|—}}{{#if:{{{p2|}}}|<br />{{#if:{{{pv2|}}}|{{{pv2|}}}☼|—}}|}}{{#if:{{{p3|}}}|<br />{{#if:{{{pv3|}}}|{{{pv3|}}}☼|—}}|}}{{#if:{{{p4|}}}|<br />{{#if:{{{pv4|}}}|{{{pv4|}}}☼|—}}|}}{{#if:{{{p5|}}}|<br />{{#if:{{{pv5|}}}|{{{pv5|}}}☼|—}}|}}{{#if:{{{p6|}}}|<br />{{#if:{{{pv6|}}}|{{{pv6|}}}☼|—}}|}}{{#if:{{{p7|}}}|<br />{{#if:{{{pv7|}}}|{{{pv7|}}}☼|—}}|}}{{#if:{{{p8|}}}|<br />{{#if:{{{pv8|}}}|{{{pv8|}}}☼|—}}|}}{{#if:{{{p9|}}}|<br />{{#if:{{{pv9|}}}|{{{pv9|}}}☼|—}}|}}{{#if:{{{p10|}}}|<br />{{#if:{{{pv10|}}}|{{{pv10|}}}☼|—}}|}}{{#if:{{{p11|}}}|<br />{{#if:{{{pv11|}}}|{{{pv11|}}}☼|—}}|}}{{#if:{{{p12|}}}|<br />{{#if:{{{pv12|}}}|{{{pv12|}}}☼|—}}|}}{{#if:{{{p13|}}}|<br />{{#if:{{{pv13|}}}|{{{pv13|}}}☼|—}}|}}{{#if:{{{p14|}}}|<br />{{#if:{{{pv14|}}}|{{{pv14|}}}☼|—}}|}}{{#if:{{{p15|}}}|<br />{{#if:{{{pv15|}}}|{{{pv15|}}}☼|—}}|}}{{#if:{{{p16|}}}|<br />{{#if:{{{pv16|}}}|{{{pv16|}}}☼|—}}|}}{{#if:{{{p17|}}}|<br />{{#if:{{{pv17|}}}|{{{pv17|}}}☼|—}}|}}{{#if:{{{p18|}}}|<br />{{#if:{{{pv18|}}}|{{{pv18|}}}☼|—}}|}}{{#if:{{{p19|}}}|<br />{{#if:{{{pv19|}}}|{{{pv19|}}}☼|—}}|}}{{#if:{{{p20|}}}|<br />{{#if:{{{pv20|}}}|{{{pv20|}}}☼|—}}|}}<noinclude>
 
|}
 
|}
  

Revision as of 12:11, 30 July 2017

Tile Graphic Name Biome
& seasons
Align Value Drink Drink
value1
Eat Cook2 Product(s)5
& value
? [[|]]
Spring Summer
Autumn Winter

None

Wet Dry
All 2☼ None No No None

Use

name=Plant article link
alt=Alternate label of link
super=superscript next to name (optional)
tile=plant tile
color=tile color
seasons={{seasons3|1|1|1|1}} ({{seasons3|spring|summer|autmn|winter}}, 1=active season; optional if plant is all-season)
biome=Biome Name (see Biome tokens)
biome2=,biome3=,biome4=,...,biome9= (for multiple biomes)
dry=wet/dry (y=dry, n=wet, b=both, not included=none)
align=Good/Evil/Savage (not included if All)
v=plant value
d=Plant alcohol (optional)
dv=drink value×5 (optional)
eat=eat raw (y=yes, not included=no)
cook=eat cooked (y=yes, p=processed, not included=no)
p1={{tile||0:0:0}} product 1
p2=,p3=,p4=,...,p20= (for multiple products)
pv1=product 1's value (if none, leave empty)
pv2=,pv3=,pv4=,...,pv20=

Example:

{{plant table head}}
{{plant table row|name=Plump helmet|tile=♠|color=5:0|biome=Wet Cavern|dry=b|v=4
  |d=Dwarven wine|dv=10|eat=y|cook=y
  |p1={{tile|·|4:0:1}} plump helmet spawn|pv1=1
  }}
{{plant table row|name=Rope reed|super=11|tile=ƒ|color=2:0|biome=Not Freezing|dry=n|v=4
  |d=River spirits
  |p1={{tile|·|6:0:0}} rope reed seed|pv1=1
  |p2={{tile|φ|7:0:0}} rope reed thread (p)|pv2=12
  |p3={{tile|≈|7:0:0}} rope reed slurry (h)|pv3=2
  }}
{{plant table row|name=Whip vine|tile=§|color=3:1|biome=Not Freezing|dry=y|align=Savage|v=1
  |d=Whip wine|dv=15|cook=p
  |p1={{tile|·|0:0:1}} whip vine seed|pv1=1
  |p2={{tile|·|3:0:1}} whip vine flour (m)|pv2=25
  }}
{{plant table row|name=Blueberry|alt=Blueberries|tile=:|color=2:0:1|biome=Any Temperate|biome2=Tundra|biome3=Taiga|dry=y|v=2
  |d=Blueberry wine|dv=10|eat=y|cook=y
  |p1={{tile|♠|2:0:0}} leaf|pv1=
  |p2={{tile|%|1:0:1}} fruit|pv2=2
  |p3={{tile|♣|7:0:1}} flower|pv3=
  |p4={{tile|·|0:0:1}} seed|pv4=1
  }}
|}

↓
Tile Graphic Name Biome
& seasons
Align Value Drink Drink
value1
Eat Cook2 Product(s)5
& value
Plump helmet
Spring Summer
Autumn Winter

Wet Cavern

Wet Dry
All 4☼ Dwarven wine 10☼ Yes Yes · plump helmet spawn 1☼
ƒ Rope reed11
Spring Summer
Autumn Winter

Not Freezing

Wet Dry
All 4☼ River spirits 10☼ No No · rope reed seed
φ rope reed thread (p)
rope reed slurry (h)
1☼
12☼
2☼
§ Whip vine
Spring Summer
Autumn Winter

Not Freezing

Wet Dry
Savage 1☼ Whip wine 15☼ No Pr3 · whip vine seed
· whip vine flour (m)
1☼
25☼
: Blueberries
Spring Summer
Autumn Winter

Any Temperate
Tundra
Taiga

Wet Dry
All 2☼ Blueberry wine 10☼ Yes Yes leaf
% fruit
flower
· seed

2☼

1☼

See also