Template:Talent: Difference between revisions

From Official Barotrauma Wiki
Jump to: navigation, search
mNo edit summary
No edit summary
Line 5: Line 5:
  | identifier = String
  | identifier = String
  | job = String
  | job = String
  | tree = Integer
  | tree = String
  | tier = Integer
  | tier = Integer
  | description = Wikitext
  | description = Wikitext
  | sort = Integer
  | sort = Integer
}}</noinclude>
}}</noinclude>
<includeonly>{{#if:{{{table|}}}||{{{!}} style="text-align:center"
<includeonly>{| style="text-align: center"
{{!}}-
|-
! [[Talents|Talent]]
! [[Talents|Talent]]
! Tree
! Tree
! Description}}
! Description
|-
|-
| [[File:{{#if:{{{icon|}}}|{{{icon}}}|Talent {{{name}}}}}.png|50px]]<br>'''{{{name}}}'''{{#if:{{{identifier|}}}|<br><span style="color:#808080;"><small>ID: <code>{{{identifier}}}</code></small></span>}}
| [[File:{{#if:{{{icon|}}}|{{{icon}}}|Talent {{{name}}}}}.png|50px]]<br>'''{{{name}}}'''{{#if:{{{identifier|}}}|<br><span style="color:#808080;"><small>ID: <code>{{{identifier}}}</code></small></span>|}}
| [[File:{{{job}}} Job Icon.png|30px]]'''[[{{{job}}}]]'''<br>''{{{tree}}}''<br><small>Tier {{{tier}}}</small>
| [[File:{{{job}}} Job Icon.png|30px]]'''[[{{{job}}}]]'''<br>''{{{tree}}}''<br><small>Tier {{{tier}}}</small>
| style="text-align: left"|{{{description}}}
| style="text-align: left" | {{{description}}}
{{#if:{{{table|}}}|{{!}}-|{{!}}}{{#ifeq:{{NAMESPACE}}|Template||
|}{{#ifeq:{{NAMESPACE}}|Template||
{{#cargo_store:_table=Talents
{{#cargo_store:_table=Talents
  | icon = {{{icon|}}}
  | icon = {{{icon|}}}
Line 25: Line 25:
  | identifier = {{{identifier|}}}
  | identifier = {{{identifier|}}}
  | job = {{{job|}}}
  | job = {{{job|}}}
  | tree = {{#switch:{{{tree|}}}|Gunslinger|Specialist|Xenologist|Weapons Engineer|Machinist|Jack of All Trades = 1|Skipper|Warden|Medic|Electrician|Technician|Greyshirt = 2|Shipmaster|Soldier|Scientist|Physicist|Pioneer|Clown = 3}}
  | tree = {{{tree|}}}
  | tier = {{{tier|}}}
  | tier = {{{tier|}}}
  | description = {{{description|}}}
  | description = {{{description|}}}
  | sort = {{{sort|}}}
  | sort = {{{sort|}}}
}}}}}}</includeonly>
}}}}</includeonly>

Revision as of 16:30, 9 June 2022

Documentation

Example table for Bounty Hunter:

Data is potentially outdated
Last updated for version 1.0.7.0
Last mentioned in changelog 1.4.6.0
The current game version is 1.4.6.0
Talent Tree Description

Bounty Hunter
ID: bountyhunter
Captain
{{{tree}}}
Tier {{{tier}}}
Gain 15% bonus XP and 15% bonus money when completing a Monster or Nest mission.

Parameter Description Default
name The name of the talent. {{PAGENAME}}
identifier The talent's unique identifier (found in XML).
job The talent's associated job.
tree The talent's associated tree. General
row The talent's row.
General: 1 - 2.
Specialized: 1 - 4.
description The talent's description (copy straight from xml).

This template defines the table "Talents". View table.