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
(+cat)
(move doc to doc)
 
(3 intermediate revisions by 2 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: {{fgcolor|{{{color|5:1}}}}}; 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||
 
{{#ifeq:{{NAMESPACE}}|23a||
 
{{!-}}
 
{{!-}}
! 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" {{!}} {{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="padding: 0.1em 0.25em" {{!}} {{{specialty|{{{skill|<div style='text-align: right'>&mdash;</div>}}}}}}
 
}}
 
}}
Line 33: Line 33:
 
}}
 
}}
 
|}{{Category|Skills}}</includeonly><noinclude>
 
|}{{Category|Skills}}</includeonly><noinclude>
{{Skill
+
{{Documentation}}
| color      = 5:0
+
<!-- Categories go on the /doc subpage, and interwikis go on Wikidata. -->
| skill      = Building Designer
+
</noinclude>
| specialty  = Architect
 
| profession = [[Administrator]]
 
| job name  = Architecture
 
| tasks      =
 
* Design buildings
 
| attributes =
 
* Analytical Ability
 
* Creativity
 
* Spatial Sense
 
}}
 
Usage:
 
<pre><nowiki>
 
{{Skill
 
| color      = 5:0
 
| skill      = Building Designer
 
| specialty  = Architect
 
| profession = [[Administrator]]
 
| job name  = Architecture
 
| tasks      =
 
* Design buildings
 
| attributes =
 
* Analytical Ability
 
* Creativity
 
* Spatial Sense
 
}}
 
</nowiki></pre>
 
[[Category:Templates]]
 
[[Category:Infobox templates]]</noinclude>
 

Latest revision as of 23:06, 26 February 2023