Template:TalentTab/doc: Difference between revisions

Template page
mNo edit summary
mNo edit summary
 
(3 intermediate revisions by the same user not shown)
Line 1: Line 1:
This template should always used as a direct unnamed parameters of the [[Template:TalentTable]] template.  
This template should always used as a direct unnamed parameters of the [[Template:TalentTable]] template.  
The TalentTab template takes the following parameters:
|lang= for the language name like "English".
|topNote=  which adds a paragraph to the top of the list(s).
And then the rest should be unnamed parameters filled with the [[Template:TalentRole]] templates


Example:
===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 ===
<pre>
<pre>
{{TalentTab
{{TalentTable
   |lang=English
   |{{TalentTab|lang=English|topNote=Note at the top|botNote=Note at the bottom
  |topNote=Some specifics on the list
    |{{TalentRole|Commentators|section=Section example
  |{{TalentRole|Commentators
      |t1=Bkop
     |t1=Bkop
      |t2=Lacoste
     |t2=Lacoste
    }}
     |{{TalentRole|Observers||section=Second section
      |t1=KheZu
      |t2=CustomLink|t2link=RealLink|t2flag=USA
    }}
     |{{TalentRole|Observers|div=y
      |t1=Sheever
      |t2=Quinn
    }}
   }}
   }}
}}
}}
</pre>
</pre>
Will look like this:
[[File:TalentTable_example.png]]

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