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

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:
<noinclude>
+
<includeonly>{{infostart|{{{name|{{PAGENAME}}}}}}}
{{plant table head}}
+
{{infocell|{{Tooltip|Shortcut|Keyboard shortcut}}: {{k-|b|o|{{{key|{{{key1|???}}}}}}|{{{key2|}}}}}|style=text-align:center}}
</noinclude>
+
{{infocell|}}
|-
+
<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|}}}
+
-- Premium
|style="font-size:85%;"|[[{{{name|}}}|{{{alt|{{{name|}}}}}}]]<sup>{{{super|}}}</sup>
+
--><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><!--  
|
 
{|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>
 
|}
 
  
==Use==
+
-- Classic
<pre>
+
--><div style="margin: auto; font-size:150%;">{{Picture {{#ifexist:Template:Picture {{NAMESPACE}} {{{name}}}|{{NAMESPACE}} {{{name}}}|{{#ifexist:Template:Picture {{{name}}}|{{{name}}}|Blank}}}}}}</div>
name=Plant article link
+
</div>
alt=Alternate label of link
+
{{infoheader|Icon}}
super=superscript next to name (optional)
+
{{infocell|<div style="padding-left:40%;">df</div>}}
tile=plant tile
+
{{#if:{{{job|}}}|{{infoheader|Job Requirement}}
color=tile color
+
{{infocell|{{{job|}}}}}}}
seasons={{seasons|1|1|1|1}} ({{seasons|spring|summer|autmn|winter}}, 1=active season; optional if plant is all-season)
+
{{infoheader|Construction}}
biome=Biome Name (see Biome tokens)
+
{{#ifeq:{{{onecol|no}}}|no|
biome2=,biome3=,biome4=,...,biome9= (for multiple biomes)
+
{{!}}- <!-- Two columns -->
dry=wet/dry (y=dry, n=wet, b=both, not included=none)
+
! style{{=}}"text-align: left; padding: 0.2em 0.25em 0; width: 50%; border-right: 1px solid #aaa" {{!}} Materials
align=Good/Evil/Savage (not included if All)
+
! style{{=}}"text-align: left; padding: 0.2em 0.25em 0; width: 50%" {{!}} Jobs
value=plant value
+
{{!}}-
drink=Plant alcohol (optional)
+
{{!}} style{{=}}"padding: 0.1em 0.25em 0.25em; width: 50%; vertical-align: top; border-right: 1px solid #aaa" {{!}}
drinkv=drink value×5 (optional)
+
{{{construction}}}
eat=eat raw (y=yes, not included=no)
+
{{!}} style{{=}}"padding: 0.1em 0.25em 0.25em; width: 50%; vertical-align: top" {{!}}
cook=eat cooked (y=yes, p=processed, not included=no)
+
| <!-- One column -->
p1={{tile||0:0:0}} product 1
+
! style{{=}}"text-align: left; padding: 0.2em 0.25em 0; width: 50%; border-right: 1px solid #aaa" {{!}} Materials
p2=,p3=,p4=,...,p9= (for multiple products)
+
{{!}}-
pv1=product 1's value (if none, leave empty)
+
{{!}} style{{=}}"padding: 0.1em 0.25em 0.25em; width: 50%; vertical-align: top; border-right: 1px solid #aaa" {{!}}
pv2=,pv3=,pv4=,...,pv9=
+
{{{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>
  
Example:
+
V50 workshop template, based on {{tl|workshop}}
  
{{plant table head}}
+
== Usage ==
{{plant table row|name=Plump helmet|tile=♠|color=5:0|biome=Wet Cavern|dry=b|value=4
+
This automatically includes the page in the "Workshops" category.
  |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
 
  }}
 
|}
 
  
</pre>
+
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.
{{plant table head}}
+
To add a fourth keyboard shortcut for workshops in subcategories, add <code>|key2=xx</code>
{{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
 
  }}
 
|}
 
  
==See also==
+
<nowiki>
*[[:Template:Plant table head]]</noinclude>
+
{{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>

Please note that all contributions to Dwarf Fortress Wiki are considered to be released under the GFDL & MIT (see Dwarf Fortress Wiki:Copyrights for details). If you do not want your writing to be edited mercilessly and redistributed at will, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource. Do not submit copyrighted work without permission!

To protect the wiki against automated edit spam, we kindly ask you to solve the following CAPTCHA:

Cancel Editing help (opens in new window)