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 "Dwarf Fortress Wiki:Sandbox/2"

From Dwarf Fortress Wiki
Jump to navigation Jump to search
m (Lethosor moved page Template:Test2 to Dwarf Fortress Wiki:Sandbox/2 without leaving a redirect: should be a sandbox page. Looks like nothing includes this page as a template, so hopefully nothing breaks with the move)
 
(26 intermediate revisions by one other user not shown)
Line 1: Line 1:
<includeonly>{{infostart|{{{name|{{PAGENAME}}}}}}}
+
<noinclude>
{{infocell|{{Tooltip|Shortcut|Keyboard shortcut}}: {{k-|b|o|{{{key|{{{key1|???}}}}}}|{{{key2|}}}}}|style=text-align:center}}
+
{{plant table head}}
{{infocell|}}
+
</noinclude>
<div style="display:flex; flex-wrap: wrap; width:100%; background-color:#eaecf0;"><!--  
+
|-
 +
|style="background:black;text-align:center;"|{{tile|{{{tile|?}}}|{{{color|7:0:1}}}}}
 +
|style="text-align:center;"|{{{graphic|}}}
 +
|style="font-size:85%;"|[[{{{name|}}}|{{{alt|{{{name|}}}}}}]]<sup>{{{super|}}}</sup>
 +
|
 +
{|align="center" width="100%"
 +
|style="font-size:85%;"|{{BiomeColor|{{{biome|}}}}}{{#if:{{{biome2|}}}|<br />{{BiomeColor|{{{biome2|}}}}}{{#if:{{{biome3|}}}|<br />{{BiomeColor|{{{biome3|}}}}}{{#if:{{{biome4|}}}|<br />{{BiomeColor|{{{biome4|}}}}}{{#if:{{{biome5|}}}|<br />{{BiomeColor|{{{biome5|}}}}}{{#if:{{{biome6|}}}|<br />{{BiomeColor|{{{biome6|}}}}}{{#if:{{{biome7|}}}|<br />{{BiomeColor|{{{biome7|}}}}}{{#if:{{{biome8|}}}|<br />{{BiomeColor|{{{biome8|}}}}}{{#if:{{{biome9|}}}|<br />{{BiomeColor|{{{biome9|}}}}}}}}}}}}}}}}}}}}}
 +
|-
 +
|{{#switch:{{{dry}}}|yes|y={{wetdry||dry}}|no|n={{wetdry|wet|}}|both|b={{wetdry|wet|dry}}|{{wetdry||}}}}
 +
|-
 +
|
 +
{{{seasons|{{seasons|1|1|1|1}}}}}
 +
|}
 +
|style="font-size:85%;"|{{aligncolor|{{{align|All}}}}}
 +
|{{{value|2}}}☼
 +
|style="font-size:85%;background:{{#if:{{{drink|}}}|rgb(144, 255, 144)|rgb(255, 144, 144)}}" {{#if:{{{drink|}}}||data-sort-value="—"}}|{{{drink|''None''}}}
 +
|style="font-size:85%;"|{{#if:{{{drink|}}}|{{{drinkv|10}}}☼|—}}
 +
|style="font-size:85%;background:{{#switch:{{{eat|n}}}|y=rgb(144, 255, 144)|n=rgb(255, 144, 144)|#default=rgb(238, 220, 130)}}"|{{#switch:{{{eat|n}}}|y=Yes|n=No|p=Pr<sup>3</sup>|#default={{{eat|}}}}}
 +
|style="font-size:85%;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="width:100%;font-size:85%;"
 +
|{{#if:{{{p1|}}}|{{{p1|}}}
 +
{{!}}style="padding-left:1em;text-align:right;"{{!}}{{#if:{{{pv1|}}}|{{{pv1|}}}☼|—}}
 +
{{#if:{{{p2|}}}|{{!}}-
 +
{{!}}{{{p2|}}}
 +
{{!}}style="padding-left:1em;text-align:right;"{{!}}{{#if:{{{pv2|}}}|{{{pv2|}}}☼|—}}
 +
{{#if:{{{p3|}}}|{{!}}-
 +
{{!}}{{{p3|}}}
 +
{{!}}style="padding-left:1em;text-align:right;"{{!}}{{#if:{{{pv3|}}}|{{{pv3|}}}☼|—}}
 +
{{#if:{{{p4|}}}|{{!}}-
 +
{{!}}{{{p4|}}}
 +
{{!}}style="padding-left:1em;text-align:right;"{{!}}{{#if:{{{pv4|}}}|{{{pv4|}}}☼|—}}
 +
{{#if:{{{p5|}}}|{{!}}-
 +
{{!}}{{{p5|}}}
 +
{{!}}style="padding-left:1em;text-align:right;"{{!}}{{#if:{{{pv5|}}}|{{{pv5|}}}☼|—}}
 +
{{#if:{{{p6|}}}|{{!}}-
 +
{{!}}{{{p6|}}}
 +
{{!}}style="padding-left:1em;text-align:right;"{{!}}{{#if:{{{pv6|}}}|{{{pv6|}}}☼|—}}
 +
{{#if:{{{p7|}}}|{{!}}-
 +
{{!}}{{{p7|}}}
 +
{{!}}style="padding-left:1em;text-align:right;"{{!}}{{#if:{{{pv7|}}}|{{{pv7|}}}☼|—}}
 +
{{#if:{{{p8|}}}|{{!}}-
 +
{{!}}{{{p8|}}}
 +
{{!}}style="padding-left:1em;text-align:right;"{{!}}{{#if:{{{pv8|}}}|{{{pv8|}}}☼|—}}
 +
{{#if:{{{p9|}}}|{{!}}-
 +
{{!}}{{{p9|}}}
 +
{{!}}style="padding-left:1em;text-align:right;"{{!}}{{#if:{{{pv9|}}}|{{{pv9|}}}☼|—}}|}}|}}|}}|}}|}}|}}|}}|}}|''None''}}
 +
|}<noinclude>
 +
|}
  
-- Premium
+
==Use==
--><div style="margin: auto;">{{#ifexist:File:{{{image|{{{name|}}}}}}.png|[[File:{{{image|{{{name|}}}}}}.png]]|[[File:Icons8 flat add image.svg|80px|link=File:{{{image|{{{name|}}}}}}.png]]}}</div><!--
+
<pre>
 +
name=Plant article link
 +
alt=Alternate label of link
 +
super=superscript next to name (optional)
 +
tile=plant tile
 +
color=tile color
 +
seasons={{seasons|1|1|1|1}} ({{seasons|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)
 +
value=plant value
 +
drink=Plant alcohol (optional)
 +
drinkv=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=,...,p9= (for multiple products)
 +
pv1=product 1's value (if none, leave empty)
 +
pv2=,pv3=,pv4=,...,pv9=
  
-- Classic
+
Example:
--><div style="margin: auto; font-size:150%;">{{Picture {{#ifexist:Template:Picture {{NAMESPACE}} {{{name}}}|{{NAMESPACE}} {{{name}}}|{{#ifexist:Template:Picture {{{name}}}|{{{name}}}|Blank}}}}}}</div>
 
</div>
 
{{infoheader|Icon}}
 
<!--{{infocell|{{{icon|}}}}}-->
 
cookies
 
{{#if:{{{job|}}}|{{infoheader|Job Requirement}}
 
{{infocell|{{{job|}}}}}}}
 
{{infoheader|Construction}}
 
{{#ifeq:{{{onecol|no}}}|no|
 
{{!}}- <!-- Two columns -->
 
! style{{=}}"text-align: left; padding: 0.2em 0.25em 0; width: 50%; border-right: 1px solid #aaa" {{!}} Materials
 
! style{{=}}"text-align: left; padding: 0.2em 0.25em 0; width: 50%" {{!}} Jobs
 
{{!}}-
 
{{!}} style{{=}}"padding: 0.1em 0.25em 0.25em; width: 50%; vertical-align: top; border-right: 1px solid #aaa" {{!}}
 
{{{construction}}}
 
{{!}} style{{=}}"padding: 0.1em 0.25em 0.25em; width: 50%; vertical-align: top" {{!}}
 
| <!-- One column -->
 
! style{{=}}"text-align: left; padding: 0.2em 0.25em 0; width: 50%; border-right: 1px solid #aaa" {{!}} Materials
 
{{!}}-
 
{{!}} style{{=}}"padding: 0.1em 0.25em 0.25em; width: 50%; vertical-align: top; border-right: 1px solid #aaa" {{!}}
 
{{{construction}}}
 
{{!}}-
 
! style{{=}}"text-align: left; padding: 0.2em 0.25em 0; width: 50%" {{!}} Jobs
 
{{!}}-
 
{{!}} style{{=}}"padding: 0.1em 0.25em 0.25em; width: 50%; vertical-align: top" {{!}}
 
}}
 
{{{construction_job}}}
 
{{infoheader|Materials Used}}
 
{{infocell|{{{use}}}}}
 
{{infoheader|Goods Created}}
 
{{infocell|{{{production}}}}}
 
{{#if:{{{power|}}}|{{infoheader|Power}}
 
{{infocell|{{{power|}}}}}}}
 
{{infoend}}{{Category|Workshops}}{{interwiki|{{FULLPAGENAME}}}}</includeonly><noinclude>
 
  
V50 workshop template, based on {{tl|workshop}}
+
{{plant table head}}
 +
{{plant table row|name=Plump helmet|tile=♠|color=5:0|biome=Wet Cavern|dry=b|value=4
 +
  |drink=Dwarven wine|drinkv=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|value=4
 +
  |drink=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|value=1
 +
  |drink=Whip wine|drinkv=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|value=2
 +
  |drink=Blueberry wine|drinkv=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
 +
  }}
 +
|}
  
== Usage ==
+
↓</pre>
This automatically includes the page in the "Workshops" category.
+
{{plant table head}}
 +
{{plant table row|name=Plump helmet|tile=♠|color=5:0|biome=Subterranean Water|dry=b|value=4
 +
  |drink=Dwarven wine|drinkv=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|value=4
 +
  |drink=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|value=1
 +
  |drink=Whip wine|drinkv=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|value=2
 +
  |drink=Blueberry wine|drinkv=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
 +
  }}
 +
|}
  
The image tries load <code>File:{{{name}}}.png</code> if the image is already in use here on commons (as it is likely is) use <code>|image=another-name</code>. Note: [[screenshot]]s should be at the "native" resolution.
+
==See also==
To add a fourth keyboard shortcut for workshops in subcategories, add <code>|key2=xx</code>
+
*[[:Template:Plant table head]]</noinclude>
 
 
<nowiki>
 
{{V50 workshop|name=Carpenter's workshop|key=c|job=[[Carpentry]]
 
|construction=
 
1 of
 
* [[Block]]
 
* [[Stone]]
 
* [[Wood]]
 
|construction_job=
 
* [[Carpentry]]
 
|use=
 
* [[Wood]]
 
|production=
 
* [[Animal trap]]
 
* [[Armor stand]]
 
* [[Barrel]]
 
* [[Bin]]
 
* [[Bucket]]
 
* [[Buckler]]
 
* [[Bed]]
 
* [[Cabinet]]
 
* [[Chair]]
 
* [[Chest]]
 
* [[Door]]
 
* [[Floodgate]]
 
* [[Shield]]
 
* [[Table]]
 
* [[Weapon rack]]
 
}}
 
</nowiki>
 
[[Category:Building templates]]
 
</noinclude>
 

Latest revision as of 05:30, 16 February 2023

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

None

Wet Dry
Spring Summer Autumn Winter
All 2☼ None No No
None

Use[edit]

name=Plant article link
alt=Alternate label of link
super=superscript next to name (optional)
tile=plant tile
color=tile color
seasons={{seasons|1|1|1|1}} ({{seasons|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)
value=plant value
drink=Plant alcohol (optional)
drinkv=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=,...,p9= (for multiple products)
pv1=product 1's value (if none, leave empty)
pv2=,pv3=,pv4=,...,pv9=

Example:

{{plant table head}}
{{plant table row|name=Plump helmet|tile=♠|color=5:0|biome=Wet Cavern|dry=b|value=4
  |drink=Dwarven wine|drinkv=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|value=4
  |drink=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|value=1
  |drink=Whip wine|drinkv=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|value=2
  |drink=Blueberry wine|drinkv=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

Subterranean Water

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

Not Freezing

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

Not Freezing

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

Any Temperate
Tundra
Taiga

Wet Dry
Spring Summer Autumn Winter
All 2☼ Blueberry wine 10☼ Yes Yes
leaf
% fruit 2☼
flower
· seed 1☼

See also[edit]