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:V50 workshop"

From Dwarf Fortress Wiki
Jump to navigation Jump to search
(Jobs->Labors)
 
(38 intermediate revisions by 5 users not shown)
Line 1: Line 1:
<noinclude>DF2022 workshop template, based on <nowiki>{{Template:workshop}}</nowiki></noinclude>
 
 
<includeonly>{{infostart|{{{name|{{PAGENAME}}}}}}}
 
<includeonly>{{infostart|{{{name|{{PAGENAME}}}}}}}
{{infocell|{{key|b}}-{{key|o}}-{{key|{{{key}}}}}|style=text-align:center}}
+
{{infocell|{{Tooltip|Shortcut|Keyboard shortcut}}: {{k-|b|o|{{{key|{{{key1|???}}}}}}|{{{key2|}}}}}|style=text-align:center}}
{{infocell|{{[[File:|name={{{name}}}.png]]}}}}
+
{{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; font-size:150%;">{{Picture {{#ifexist:Template:Picture {{NAMESPACE}} {{{name}}}|{{NAMESPACE}} {{{name}}}|{{#ifexist:Template:Picture {{{name}}}|{{{name}}}|Blank}}}}}}</div>
 +
</div>
 +
{{infoheader|Icon}}
 +
{{infocell|{{{icon|}}}|style=padding-left:42%}}
 
{{#if:{{{job|}}}|{{infoheader|Job Requirement}}
 
{{#if:{{{job|}}}|{{infoheader|Job Requirement}}
 
{{infocell|{{{job|}}}}}}}
 
{{infocell|{{{job|}}}}}}}
Line 9: Line 18:
 
{{!}}- <!-- Two columns -->
 
{{!}}- <!-- 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%; border-right: 1px solid #aaa" {{!}} Materials
! style{{=}}"text-align: left; padding: 0.2em 0.25em 0; width: 50%" {{!}} Jobs
+
! style{{=}}"text-align: left; padding: 0.2em 0.25em 0; width: 50%" {{!}} Labors
 
{{!}}-
 
{{!}}-
 
{{!}} style{{=}}"padding: 0.1em 0.25em 0.25em; width: 50%; vertical-align: top; border-right: 1px solid #aaa" {{!}}
 
{{!}} style{{=}}"padding: 0.1em 0.25em 0.25em; width: 50%; vertical-align: top; border-right: 1px solid #aaa" {{!}}
Line 32: Line 41:
 
{{infocell|{{{power|}}}}}}}
 
{{infocell|{{{power|}}}}}}}
 
{{infoend}}{{Category|Workshops}}{{interwiki|{{FULLPAGENAME}}}}</includeonly><noinclude>
 
{{infoend}}{{Category|Workshops}}{{interwiki|{{FULLPAGENAME}}}}</includeonly><noinclude>
 +
 +
V50 workshop template, based on {{tl|workshop}}
  
 
== Usage ==
 
== Usage ==
 
This automatically includes the page in the "Workshops" category.
 
This automatically includes the page in the "Workshops" category.
 +
 +
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.
 +
To add a fourth keyboard shortcut for workshops in subcategories, add <code>|key2=xx</code>
  
 
  <nowiki>
 
  <nowiki>
{{Workshop|name=Carpenter's workshop|key=c|job=[[Carpentry]]
+
{{V50 workshop|name=Carpenter's workshop|key=c|job=[[Carpentry]]
 +
|icon=
 
|construction=
 
|construction=
 
1 of
 
1 of

Latest revision as of 03:50, 19 January 2023


V50 workshop template, based on {{workshop}}

Usage[edit]

This automatically includes the page in the "Workshops" category.

The image tries load File:{{{name}}}.png if the image is already in use here on commons (as it is likely is) use |image=another-name. Note: screenshots should be at the "native" resolution. To add a fourth keyboard shortcut for workshops in subcategories, add |key2=xx

{{V50 workshop|name=Carpenter's workshop|key=c|job=[[Carpentry]]
|icon=
|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]]
}}