Template:Talent: Difference between revisions

From Official Barotrauma Wiki
Jump to: navigation, search
(test)
 
mNo edit summary
 
(43 intermediate revisions by 3 users not shown)
Line 1: Line 1:
{{#switch: {{{1}}}|once upon a time on europa|tumble|quickdraw|sailor with no name|drunken sailor|bounty hunter|traveling tradesman|evasive maneuvers|trusted captain|trucker|down with the ship|esteemed captain|commander|trust building|maintenance routine|camaraderie|inspire to battle = {{CaptainTalent|{{{1}}}}}|multitasker|apprenticeship|stand and deliver|rich in knowledge|ace of all trades|olympian|playing catchup|skedaddle|survival package|crew layabout|insurance policy|still kicking|graduation ceremony|enroll into clown college|water prankster|inspiring tunes|psycho clown|slapstick expert|true potential = {{AssistantTalent|{{{1}}}}}}}
<noinclude>{{doc}}[[Category:Templates]][[Category:Cargo Declaration Templates]][[Category:Cargo Storage Templates]]
{{#cargo_declare:_table=Talents
| icon        = File
| name        = String
| identifier  = String
| job        = String
| tree        = String
| row        = Integer
| description = Wikitext
}}</noinclude>
<includeonly>{| style="text-align:center"
|-
! Talent
! Tree
! Description
|-
| [[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|24px|link={{{job}}}]]'''[[{{{job}}}]]'''<br>''{{{tree|General}}}''<br><small>{{#ifeq:{{{tree|General}}}|General|Tier|Spec.}} {{{row}}}</small>
| 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>}}'''
|}{{#if:{{NAMESPACE}}||
{{#cargo_store:_table=Talents
| icon        = File:Talent {{{identifier}}}.png
| name        = {{#titleparts:{{{name|{{PAGENAME}}}}}}}
| identifier  = {{{identifier}}}
| job        = {{{job}}}
| tree        = {{{tree|General}}}
| row        = {{{row}}}
| 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>}}
}}
[[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.