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:Skill"

From Dwarf Fortress Wiki
Jump to navigation Jump to search
m
(move doc to doc)
 
(28 intermediate revisions by 15 users not shown)
Line 1: Line 1:
{| style='border: 1px solid #000; width: 17em; border-spacing: 0; margin: 0 0 1em 1em; float: right'
+
<includeonly>{| style='border: 1px solid #000; width: 17em; border-spacing: 0; margin: 0 0 1em 1em; float: right'
|+ '''{{{skill|Skill}}}'''
+
|+ '''[[Skill]]: {{{skill|Skill}}}'''
 
|-
 
|-
 
! colspan="2" style="border-bottom: 1px solid #aaa; background: #eee; padding: 0.1em 0.25em" | Association
 
! colspan="2" style="border-bottom: 1px solid #aaa; background: #eee; padding: 0.1em 0.25em" | Association
| style='width: 0.5em; background: {{{color|f44}}}; border-bottom: 1px solid #aaa; border-left: 1px solid #aaa' rowspan='0'| &nbsp;
+
| style='width: 0.5em; background: {{fgcolor|{{{color|5:1}}}}}; border-bottom: 1px solid #aaa; border-left: 1px solid #aaa' rowspan='0'| &nbsp;
 
|-
 
|-
! style="text-align: left; white-space: nowrap; font-weight: normal; padding: 0.1em 0.25em" | Speciality
+
! style="text-align: left; white-space: nowrap; font-weight: normal; padding: 0.1em 0.25em" | [[Profession]]
| style="padding: 0.1em 0.25em" | {{{speciality|<div style='text-align: right'>&mdash;</div>}}}
 
|-
 
! style="text-align: left; white-space: nowrap; font-weight: normal; padding: 0.1em 0.25em" | Profession
 
 
| style="padding: 0.1em 0.25em" | {{{profession|<div style='text-align: right'>&mdash;</div>}}}
 
| style="padding: 0.1em 0.25em" | {{{profession|<div style='text-align: right'>&mdash;</div>}}}
 +
{{#ifeq:{{NAMESPACE}}|23a||
 +
{{!-}}
 +
! style="text-align: left; white-space: nowrap; font-weight: normal; padding: 0.1em 0.25em" {{!}} {{Tooltip|Job Title|The title displayed after the dwarf's name when this is their best skill. If they have multiple developed skills within the same profession, the profession will be displayed instead.}}
 +
{{!}} style="padding: 0.1em 0.25em" {{!}} {{{specialty|{{{skill|<div style='text-align: right'>&mdash;</div>}}}}}}
 +
}}
 
|-
 
|-
! style="text-align: left; white-space: nowrap; font-weight: normal; padding: 0.1em 0.25em" | Labor
+
! style="text-align: left; white-space: nowrap; font-weight: normal; padding: 0.1em 0.25em" | [[Labor]]
 
| style="padding: 0.1em 0.25em" | {{{job name|<div style='text-align: right'>&mdash;</div>}}}
 
| style="padding: 0.1em 0.25em" | {{{job name|<div style='text-align: right'>&mdash;</div>}}}
 
|-
 
|-
Line 19: Line 21:
 
{{{tasks|<div style='text-align: center; padding: 0.2em 0'>''None''</div>}}}
 
{{{tasks|<div style='text-align: center; padding: 0.2em 0'>''None''</div>}}}
 
|-
 
|-
! colspan="3" style="border-top: 1px solid #aaa; border-bottom: 1px solid #aaa; background: #eee; padding: 0.1em 0.25em" | Workshop
+
! colspan="3" style="border-top: 1px solid #aaa; border-bottom: 1px solid #aaa; background: #eee; padding: 0.1em 0.25em" | [[Workshop]]
 
|-
 
|-
 
| colspan="3" |
 
| colspan="3" |
{{{'text-align: center; padding: 0.2em 0'workshop|<div style='text-align: center; padding: 0.2em 0'>''None''</div>}}}
+
{{{workshop|<div style='text-align: center; padding: 0.2em 0'>''None''</div>}}}
|}
+
{{#switch:{{NAMESPACE}}|23a=|40d=|#default=
 
+
{{!-}}
<noinclude>
+
! colspan="3" style="border-top: 1px solid #aaa; border-bottom: 1px solid #aaa; background: #eee; padding: 0.1em 0.25em" {{!}} [[Attributes]]
Usage:
+
{{!-}}
<pre><nowiki>
+
{{!}} colspan="3" {{!}}
{{Skill
+
{{{attributes|<div style='text-align: center; padding: 0.2em 0'>''None''</div>}}}
| color      = rgb(255,255,0)
 
| skill      = Carpenter
 
| speciality = Carpenter
 
| profession = Woodworker
 
| job name  = Carpentry
 
| tasks      =
 
* Wood based construction
 
* Any work in the Carpenter's Workshop
 
| workshop = [[Carpenter's Workshop]]
 
}}
 
</nowiki></pre>
 
{{Skill
 
| color      = rgb(255,255,0)
 
| skill      = Carpenter
 
| speciality = Carpenter
 
| profession = Woodworker
 
| job name  = Carpentry
 
| tasks      =
 
* Wood based construction
 
* Any work in the Carpenter's Workshop
 
| workshop = [[Carpenter's Workshop]]
 
 
}}
 
}}
[[Category:Templates]]</noinclude>
+
|}{{Category|Skills}}</includeonly><noinclude>
 +
{{Documentation}}
 +
<!-- Categories go on the /doc subpage, and interwikis go on Wikidata. -->
 +
</noinclude>

Latest revision as of 23:06, 26 February 2023