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:Building"
Jump to navigation
Jump to search
m (kennels --> kennel) |
|||
(4 intermediate revisions by 3 users not shown) | |||
Line 1: | Line 1: | ||
− | <includeonly>{ | + | <includeonly>{{infostart|{{{name}}}}} |
− | + | {{infocell|{{key|b}}-{{key|{{{key}}}}}{{#if:{{{key2|}}}|-{{key|{{{key2}}}}}{{#if:{{{key3|}}}|-{{key|{{{key3}}}}}}}}}|style=text-align:center}} | |
− | + | {{#switch:{{NAMESPACE}} | |
− | + | |23a|40d|v0.31|v0.34|DF2014 = | |
− | + | {{infocell|{{Building/picture|name={{{name}}}}}}} | |
− | + | | = | |
− | { | + | {{infocell|}} |
− | + | <div style="display:flex; flex-wrap: wrap; width:100%; background-color:#eaecf0;"><!-- | |
− | + | ||
− | + | -- 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 | |
− | + | --><div style="margin: auto;">{{Picture {{#ifexist:Template:Picture {{NAMESPACE}} {{{name}}}|{{NAMESPACE}} {{{name}}}|{{#ifexist:Template:Picture {{{name}}}|{{{name}}}|Blank}}}}}}</div> | |
− | |} | + | </div>}} |
− | + | {{#if:{{{job|}}}|{{infoheader|Job Requirement}} | |
− | + | {{infocell|{{{job|}}}}}}} | |
− | + | {{infoheader|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 30: | Line 25: | ||
| 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}}}}} | |
− | | | + | {{infoend}}{{Category|Buildings}}</includeonly><noinclude> |
− | |||
− | {{{purpose}}} | ||
− | |||
− | |||
== Usage == | == Usage == | ||
Line 43: | Line 34: | ||
<pre><nowiki> | <pre><nowiki> | ||
− | {{Building|name= | + | {{Building|name=Vermin Catcher's Shop|key=o|key2=f|key3=v |
− | |job= | + | |job= |
− | [[Animal training]] | + | 1 of |
+ | * [[Animal training]] | ||
+ | * [[Trapping]] | ||
|construction= | |construction= | ||
+ | * [[Building material]] (non-[[economic]]) | ||
+ | |construction_job= | ||
1 of | 1 of | ||
− | |||
− | |||
− | |||
− | |||
− | |||
* [[Animal training]] | * [[Animal training]] | ||
* [[Small animal dissection]] | * [[Small animal dissection]] | ||
* [[Trapping]] | * [[Trapping]] | ||
|purpose= | |purpose= | ||
− | |||
− | |||
* Capture [[Vermin]] | * Capture [[Vermin]] | ||
* [[Tame]] [[Vermin]] | * [[Tame]] [[Vermin]] | ||
− | |||
}} | }} | ||
</nowiki></pre> | </nowiki></pre> | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
[[Category:Building templates]] | [[Category:Building templates]] | ||
</noinclude> | </noinclude> |
Latest revision as of 23:24, 1 January 2023
Usage[edit]
This automatically includes the page in Category:Buildings.
{{Building|name=Vermin Catcher's Shop|key=o|key2=f|key3=v |job= 1 of * [[Animal training]] * [[Trapping]] |construction= * [[Building material]] (non-[[economic]]) |construction_job= 1 of * [[Animal training]] * [[Small animal dissection]] * [[Trapping]] |purpose= * Capture [[Vermin]] * [[Tame]] [[Vermin]] }}