Template:RelatedTalents: Difference between revisions

From Official Barotrauma Wiki
Jump to: navigation, search
mNo edit summary
No edit summary
Line 1: Line 1:
<noinclude>{{doc}}</noinclude>
<noinclude>{{doc}}</noinclude>
<includeonly>{| style="text-align:center"
<includeonly>{| style="text-align:center"
|-
! [[Talents|Talent]]
! [[Talents|Talent]]
! Tree
! Tree
! Description
! Description
|-
{{#cargo_query: tables = Talents
{{#cargo_query: tables = Talents
  | fields = Talents.icon, Talents.name, Talents.job, Talents.tree, Talents.tier, Talents.description
  | fields = Talents.icon, Talents.name, Talents.job, Talents.tree, Talents.tier, Talents.description, Talents.identifier
  | where = Talents.name LIKE "%{{{1}}}%" OR Talents.identifier LIKE "%{{{1}}}%"
  | where = Talents.name LIKE "%{{{1}}}%" OR Talents.identifier LIKE "%{{{1}}}%" OR Talents.name LIKE "%{{{2}}}%" OR Talents.identifier LIKE "%{{{2}}}%" OR Talents.name LIKE "%{{{3}}}%" OR Talents.identifier LIKE "%{{{3}}}%" OR Talents.name LIKE "%{{{4}}}%" OR Talents.identifier LIKE "%{{{4}}}%"
  | format = template
  | format = template
  | template = Talent
  | template = RelatedTalents/row
  | delimiter = \n
  | delimiter = \n
  | order by = Talents.job ASC, Talents.tree ASC, Talents.tier ASC, Talents.name ASC
  | order by = Talents.job ASC, Talents.tree ASC, Talents.tier ASC, Talents.name ASC

Revision as of 16:03, 9 June 2022

Documentation

This template is used to display a list of related talents on any page, such as items, installations, afflictions, etc.


{{RelatedTalents|Genetic Genius}} produces:

Talent Tree Description
Error: No field named "tier" found for the database table "Talents".

{{RelatedTalents|Gunsmith|Don't Push It|Gene Splicer}} produces:

Talent Tree Description
Error: No field named "tier" found for the database table "Talents".