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 Template:Building

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:
<includeonly>{{infostart|{{{name}}}}}
+
<includeonly>{| class="infobox" style="float: right; border: 1px solid #aaa; margin: 0 0 0.5em 0.5em; border-spacing: 0; width: 17em"
{{infocell|{{key|b}}-{{key|{{{key}}}}}{{#if:{{{key2|}}}|-{{key|{{{key2}}}}}{{#if:{{{key3|}}}|-{{key|{{{key3}}}}}}}}}|style=text-align:center}}
+
|+ style="font-weight: bold" |{{{name}}}
{{#switch:{{NAMESPACE}}
+
|-
|23a|40d|v0.31|v0.34|DF2014 =
+
| colspan="2" style="text-align: center" | {{key|b}}-{{key|{{{key}}}}}
{{infocell|{{Building/picture|name={{{name}}}}}}}
+
|-
| =
+
| colspan="2" |
{{infocell|}}
+
{|
<div style="display:flex; flex-wrap: wrap; width:100%; background-color:#eaecf0;"><!--
+
|-
 
+
| style="width: 50%" |
-- Premium
+
|
--><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><!--
+
{|
 
+
|-
-- Classic
+
||{{#ifexist: template:Picture {{{name}}}|{{Picture {{{name}}}}}}}
--><div style="margin: auto;">{{Picture {{#ifexist:Template:Picture {{NAMESPACE}} {{{name}}}|{{NAMESPACE}} {{{name}}}|{{#ifexist:Template:Picture {{{name}}}|{{{name}}}|Blank}}}}}}</div>
+
||{{#ifexist: template:Floor Plan {{{name}}}|{{Floor Plan {{{name}}}}}}}
</div>}}
+
|}
{{#if:{{{job|}}}|{{infoheader|Job Requirement}}
+
| style="width: 50%" |
{{infocell|{{{job|}}}}}}}
+
|}
{{infoheader|Construction}}
+
|-
 +
! colspan="2" style="border-top: 1px solid #aaa; border-bottom: 1px solid #aaa; background: #eee; padding: 0.1em 0.25em" | Job Requirement
 +
|-
 +
| colspan="2" style="padding: 0.25em" | {{{job}}}
 +
|-
 +
! colspan="2" style="border-top: 1px solid #aaa; border-bottom: 1px solid #aaa; background: #eee; padding: 0.1em 0.25em" | Construction
 
|-
 
|-
 
! 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%; border-right: 1px solid #aaa" | Materials
Line 25: Line 30:
 
| style="padding: 0.1em 0.25em 0.25em; width: 50%; vertical-align: top" |
 
| style="padding: 0.1em 0.25em 0.25em; width: 50%; vertical-align: top" |
 
{{{construction_job}}}
 
{{{construction_job}}}
{{infoheader|Purpose}}
+
|-
{{infocell|{{{purpose}}}}}
+
! colspan="2" style="border-top: 1px solid #aaa; border-bottom: 1px solid #aaa; background: #eee; padding: 0.1em 0.25em" | Purpose
{{infoend}}{{Category|Buildings}}</includeonly><noinclude>
+
|-
 +
| colspan="2" style="padding: 0.25em" |
 +
{{{purpose}}}
 +
|}
 +
[[Category:Buildings]]</includeonly><noinclude>
  
 
== Usage ==
 
== Usage ==
Line 34: Line 43:
  
 
<pre><nowiki>
 
<pre><nowiki>
{{Building|name=Vermin Catcher's Shop|key=o|key2=f|key3=v
+
{{Building|name=Kennels|key=k
|job=  
+
|job=
 +
[[Animal training]]
 +
|construction=
 
1 of
 
1 of
* [[Animal training]]
+
* [[Block]]
* [[Trapping]]
+
* [[Stone]]
|construction=
+
* [[Wood]]
* [[Building material]] (non-[[economic]])
 
 
|construction_job=
 
|construction_job=
1 of
+
1 of:
 
* [[Animal training]]
 
* [[Animal training]]
 
* [[Small animal dissection]]
 
* [[Small animal dissection]]
 
* [[Trapping]]
 
* [[Trapping]]
 
|purpose=
 
|purpose=
 +
* Train [[Hunting dog]]s
 +
* Train [[War dog]]s
 
* Capture [[Vermin]]
 
* Capture [[Vermin]]
 
* [[Tame]] [[Vermin]]
 
* [[Tame]] [[Vermin]]
 +
* [[Tame]] [[cage]]d wild creatures
 
}}
 
}}
 
</nowiki></pre>
 
</nowiki></pre>
 +
 +
== Example ==
 +
{| class="infobox" style="float: right; border: 1px solid #aaa; margin: 0 0 0.5em 0.5em; border-spacing: 0; width: 17em"
 +
|+ style="font-weight: bold" |Kennels
 +
|-
 +
| colspan="2" style="text-align: center" | {{key|b}}-{{key|k}}
 +
|-
 +
| colspan="2" |
 +
{|
 +
|-
 +
| style="width: 50%" |
 +
|
 +
{|
 +
|-
 +
||{{#ifexist: template:Picture Kennels|{{Picture Kennels}}}}
 +
||{{#ifexist: template:Floor Plan Kennels|{{Floor Plan Kennels}}}}
 +
|}
 +
| style="width: 50%" |
 +
|}
 +
|-
 +
! colspan="2" style="border-top: 1px solid #aaa; border-bottom: 1px solid #aaa; background: #eee; padding: 0.1em 0.25em" | Job Requirement
 +
|-
 +
| colspan="2" style="padding: 0.25em" | [[Animal training]]
 +
|-
 +
! colspan="2" style="border-top: 1px solid #aaa; border-bottom: 1px solid #aaa; background: #eee; padding: 0.1em 0.25em" | Construction
 +
|-
 +
! 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" |
 +
1 of
 +
* [[Block]]
 +
* [[Stone]]
 +
* [[Wood]]
 +
| style="padding: 0.1em 0.25em 0.25em; width: 50%; vertical-align: top" |
 +
1 of:
 +
* [[Animal training]]
 +
* [[Small animal dissection]]
 +
* [[Trapping]]
 +
|-
 +
! colspan="2" style="border-top: 1px solid #aaa; border-bottom: 1px solid #aaa; background: #eee; padding: 0.1em 0.25em" | Purpose
 +
|-
 +
| colspan="2" style="padding: 0.25em" |
 +
* Train [[Hunting dog]]s
 +
* Train [[War dog]]s
 +
* Capture [[Vermin]]
 +
* [[Tame]] [[Vermin]]
 +
* [[Tame]] [[cage]]d wild creatures
 +
|}
  
 
[[Category:Building templates]]
 
[[Category:Building templates]]
 
</noinclude>
 
</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)