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)
 
(15 intermediate revisions by 9 users not shown)
Line 1: Line 1:
 
<includeonly>{| 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|#F0F}}}; 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" | Profession
+
! 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" | Job Title
+
! style="text-align: left; white-space: nowrap; font-weight: normal; padding: 0.1em 0.25em" | [[Labor]]
| style="padding: 0.1em 0.25em" | {{{specialty|{{{profession|<div style='text-align: right'>&mdash;</div>}}}}}}
 
|-
 
! style="text-align: left; white-space: nowrap; font-weight: normal; padding: 0.1em 0.25em" | {{L|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" |
 
{{{workshop|<div style='text-align: center; padding: 0.2em 0'>''None''</div>}}}
 
{{{workshop|<div style='text-align: center; padding: 0.2em 0'>''None''</div>}}}
|}{{#ifeq:{{NAMESPACE}}|Template||[[Category:Skills]]}}</includeonly><noinclude>
+
{{#switch:{{NAMESPACE}}|23a=|40d=|#default=
{{Skill
+
{{!-}}
| color      = #808
+
! colspan="3" style="border-top: 1px solid #aaa; border-bottom: 1px solid #aaa; background: #eee; padding: 0.1em 0.25em" {{!}} [[Attributes]]
| skill      = Building Designer
+
{{!-}}
| specialty  = Architect
+
{{!}} colspan="3" {{!}}
| profession = {{L|Administrator}}
+
{{{attributes|<div style='text-align: center; padding: 0.2em 0'>''None''</div>}}}
| job name  = Architecture
 
| tasks      =
 
* Design buildings
 
}}
 
Usage:
 
<pre><nowiki>
 
{{Skill
 
| color      = #808
 
| skill      = Building Designer
 
| specialty  = Architect
 
| profession = {{L|Administrator}}
 
| job name  = Architecture
 
| tasks      =
 
* Design buildings
 
 
}}
 
}}
</nowiki></pre>
+
|}{{Category|Skills}}</includeonly><noinclude>
[[Category:Templates]]</noinclude>
+
{{Documentation}}
 +
<!-- Categories go on the /doc subpage, and interwikis go on Wikidata. -->
 +
</noinclude>

Latest revision as of 23:06, 26 February 2023