Difference between revisions of "Template:TierData"

From SMT: Dx2 Wiki
Jump to: navigation, search
Line 9: Line 9:
 
<tr class="expand-child" style="text-align: center; width: 100%; vertical-align: middle; font-size: 11px; border: 0px; background: #f0f0f0">
 
<tr class="expand-child" style="text-align: center; width: 100%; vertical-align: middle; font-size: 11px; border: 0px; background: #f0f0f0">
 
<td style="background: #eaecf0; font-weight: bold; font-size: 15px"> Pros </td>
 
<td style="background: #eaecf0; font-weight: bold; font-size: 15px"> Pros </td>
<td colspan="5" style="padding: 3px; text-align: left">{{#if: {{{pro|}}} | {{{pro}}} | - }}</td>
+
<td colspan="5" style="padding: 3px; text-align: left">{{#if: {{{pro|}}} | {{{pro}}} | -}}</td>
 
</tr>
 
</tr>
 
<tr class="expand-child" style="text-align: center; width: 100%; vertical-align: middle; font-size: 11px; border: 0px; background: #f0f0f0">
 
<tr class="expand-child" style="text-align: center; width: 100%; vertical-align: middle; font-size: 11px; border: 0px; background: #f0f0f0">
 
<td style="background: #eaecf0; font-weight: bold; font-size: 15px"> Cons </td>
 
<td style="background: #eaecf0; font-weight: bold; font-size: 15px"> Cons </td>
<td colspan="5" style="padding: 3px; text-align: left">{{#if: {{{con|}}} | {{{con}}} | - }}</td>
+
<td colspan="5" style="padding: 3px; text-align: left">{{#if: {{{con|}}} | {{{con}}} | -}}</td>
 
</tr>
 
</tr>
<tr class="expand-child" style="height: 2px; background: #C0C0C0; border: 0px"> <td colspan="6"> </td> </tr>
+
<tr class="expand-child" style="height: 2px; background: #C0C0C0; border: 0px"> <td colspan="6"></td> </tr>
 
</includeonly>
 
</includeonly>
 
<noinclude>
 
<noinclude>

Revision as of 10:29, 17 January 2020


Usability Examples


Still under modifications to ensure correct transclusion on necessary pages. (Jan 16 2020 - WanderingSeth)

Parameters as shown all have the capacity to be empty. A few exceptions are as follows:

  • pvebest1 and pvpbest1 can be set to a value of "Any", if so, any further pvebests and pvpbests will be ignored.
  • You can input as many bests up to best4.
  • Shown below is example code for a header table containing the TierData template. Necessary on pages to give context but can be replaced with another template.
  • Also usable for the Tier List aggregate of all labeled section transclusions.
{| class="wikitable sortable"
|-
! rowspan="2" style="width: 80px" | Name 
! colspan="2" style="width: 200px" class="unsortable" | Best Archetype(s)
! rowspan="2" | PVE
! colspan="2" class="unsortable" | PVP
|- style="vertical-align: middle;"
! style="width: 100px" class="unsortable" | PVE !! style="width: 100px" class="unsortable" | PVP !! Offense !! Defense
|-<section begin=tierentry />{{TierData|demon=Seth|pvebest1=Clear|pvebest2=Teal|pvpbest1=Yellow|pvpbest2=Red
|pve=7
|offensive=4|defensive=4
|pro=*Not much to say here. With panels he's a hell of an ST nuker, probably the best (caveats).
*Invest your red peppers into Ouas, with the upgrade it gains a lot of strength.
*Seth allows you to craft your version. Teal, clear, or yellow will change his application slightly.
*Able to Debuff, or depending on color, buff, as well as do respectable damage.
*P3 reducing his Ouas to only 4MP.
|con=*Lack of phys pierce reduces his usability on specific content.
}}<section end=tierentry />
|}
Name Best Archetype(s) PVE PVP
PVE PVP Offense Defense
Seth.jpg Seth
Clear Teal Yellow Red 7 4 4
Pros
  • Not much to say here. With panels he's a hell of an ST nuker, probably the best (caveats).
  • Invest your red peppers into Ouas, with the upgrade it gains a lot of strength.
  • Seth allows you to craft your version. Teal, clear, or yellow will change his application slightly.
  • Able to Debuff, or depending on color, buff, as well as do respectable damage.
  • P3 reducing his Ouas to only 4MP.
Cons
  • Lack of phys pierce reduces his usability on specific content.