Template:TalentTab/doc: Difference between revisions

Template page
mNo edit summary
mNo edit summary
 
Line 9: Line 9:
'''|botNote=''' - adds a paragraph to the bottom of the list(s).
'''|botNote=''' - adds a paragraph to the bottom of the list(s).


And then the rest should be unnamed parameters filled with the [[Template:TalentRole]] templates
And then the rest should be '''unnamed''' parameters filled with the [[Template:TalentRole]] templates


=== Example ===
=== Example ===

Latest revision as of 19:14, 14 February 2024

This template should always used as a direct unnamed parameters of the Template:TalentTable template.

TalentTab parameters:

|lang= - language name like "English".

|topNote= - adds a paragraph to the top of the list(s).

|botNote= - adds a paragraph to the bottom of the list(s).

And then the rest should be unnamed parameters filled with the Template:TalentRole templates

Example

{{TalentTable
  |{{TalentTab|lang=English|topNote=Note at the top|botNote=Note at the bottom
    |{{TalentRole|Commentators|section=Section example
      |t1=Bkop
      |t2=Lacoste
    }}
    |{{TalentRole|Observers||section=Second section
      |t1=KheZu
      |t2=CustomLink|t2link=RealLink|t2flag=USA
    }}
    |{{TalentRole|Observers|div=y
      |t1=Sheever
      |t2=Quinn
    }}
  }}
}}

Will look like this:

TalentTable example.png