Template:Talent: Difference between revisions

From Official Barotrauma Wiki
Jump to: navigation, search
mNo edit summary
mNo edit summary
 
(29 intermediate revisions by 3 users not shown)
Line 1: Line 1:
<noinclude>{{doc}}[[Category:Templates]]
<noinclude>{{doc}}[[Category:Templates]][[Category:Cargo Declaration Templates]][[Category:Cargo Storage Templates]]
{{#cargo_declare:_table=Talents
{{#cargo_declare:_table=Talents
| icon = File
| icon       = File
| name = String
| name       = String
| identifier = String
| identifier = String
| job = String
| job         = String
| tree = String
| tree       = String
| tier = Integer
| row        = Integer
| description = Wikitext
| description = Wikitext
}}</noinclude>
}}</noinclude>
<includeonly>{| style="text-align: center"
<includeonly>{| style="text-align:center"
|-
|-
! [[Talents|Talent]]
! 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:Talent_{{{identifier}}}.png|48px]]<br>'''{{{name|{{PAGENAME}}}}}'''<br><span style="color:#808080"><small>ID: <code>{{{identifier}}}</code></small></span>
| [[File:{{{job}}} Job Icon.png|30px]] '''[[{{{job}}}]]'''<br>''{{{tree}}} Tier {{{tier}}}''
| [[File:{{{job}}} Job Icon.png|24px|link={{{job}}}]]'''[[{{{job}}}]]'''<br>''{{{tree|General}}}''<br><small>{{#ifeq:{{{tree|General}}}|General|Tier|Spec.}} {{{row}}}</small>
| style="text-align: left" | {{{description}}}
| style="text-align:left" | '''{{#replace:{{#replace:{{#replace:{{#replace:{{{description}}}|‖color:gui.green‖|<span style="color:#9AD5A3>}}|‖color:gui.red‖|<span style="color:#F56969>}}|‖color:gui.orange‖|<span style="color:#F3A232>}}|‖end‖|</span>}}'''
|}{{#ifeq:{{NAMESPACE}}|Template||
|}{{#if:{{NAMESPACE}}||
{{#cargo_store:_table=Talents
{{#cargo_store:_table=Talents
| icon = {{{icon|}}}
| icon       = File:Talent {{{identifier}}}.png
| name = {{{name|}}}
| name       = {{#titleparts:{{{name|{{PAGENAME}}}}}}}
| identifier = {{{identifier|}}}
| identifier = {{{identifier}}}
| job = {{{job|}}}
| job         = {{{job}}}
| tree = {{{tree|}}}
| tree       = {{{tree|General}}}
| tier = {{{tier|}}}
| row        = {{{row}}}
| description = {{{description|}}}
| description = {{#replace:{{#replace:{{#replace:{{#replace:{{{description}}}|‖color:gui.green‖|<span style="color:#9AD5A3>}}|‖color:gui.red‖|<span style="color:#F56969>}}|‖color:gui.orange‖|<span style="color:#F3A232>}}|‖end‖|</span>}}
}}}}</includeonly>
}}
[[Category:Talents]]}}</includeonly>

Latest revision as of 00:10, 6 February 2023

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
General
Tier 1
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.