Difference between revisions of "Template:TierData"

From SMT: Dx2 Wiki
Jump to: navigation, search
Line 1: Line 1:
 
<includeonly><tr style="text-align: center; width: 100%; vertical-align: middle; font-size: 11px; border: 0px; background: #f0f0f0">
 
<includeonly><tr style="text-align: center; width: 100%; vertical-align: middle; font-size: 11px; border: 0px; background: #f0f0f0">
<td style="width: 80px">{{DemonIcon|1={{{demon}}} }}</td>
+
<td style="width: 80px">{{DemonIcon|1={{{demon}}}}}</td>
<td style="width: 100px">{{#ifeq: {{{pvebest1|}}} | Any | Any | {{#if: {{{pvebest1|}}} | {{ArchIcon|arch={{{pvebest1}}}}} }} {{#if: {{{pvebest2|}}} | {{ArchIcon|arch={{{pvebest2}}}}} }} {{#if: {{{pvebest3|}}} | {{ArchIcon|arch={{{pvebest3}}}}} | }} {{#if: {{{pvebest4|}}} | {{ArchIcon|arch={{{pvebest4}}}}} |}} }}</td>
+
<td style="width: 100px; text-align: center">{{#ifeq:{{{pvebest1|}}}|Any|Any|{{#if:{{{pvebest1|}}}|{{ArchIcon|arch={{{pvebest1}}}}}}}{{#if:{{{pvebest2|}}}|{{ArchIcon|arch={{{pvebest2}}}}}}}{{#if:{{{pvebest3|}}}|{{ArchIcon|arch={{{pvebest3}}}}}|}}{{#if:{{{pvebest4|}}}|{{ArchIcon|arch={{{pvebest4}}}}}|}}}}</td>
<td style="width: 100px">{{#ifeq: {{{pvpbest1|}}} | Any | Any | {{#if: {{{pvpbest1|}}} | {{ArchIcon|arch={{{pvpbest1}}}}} }} {{#if: {{{pvpbest2|}}} | {{ArchIcon|arch={{{pvpbest2}}}}} }} {{#if: {{{pvpbest3|}}} | {{ArchIcon|arch={{{pvpbest3}}}}} | }} {{#if: {{{pvpbest4|}}} | {{ArchIcon|arch={{{pvpbest4}}}}} |}} }}</td>
+
<td style="width: 100px; text-align: center">{{#ifeq:{{{pvpbest1|}}}|Any|Any|{{#if:{{{pvpbest1|}}}|{{ArchIcon|arch={{{pvpbest1}}}}}}}{{#if:{{{pvpbest2|}}}|{{ArchIcon|arch={{{pvpbest2}}}}}}}{{#if:{{{pvpbest3|}}}|{{ArchIcon|arch={{{pvpbest3}}}}}|}}{{#if:{{{pvpbest4|}}}|{{ArchIcon|arch={{{pvpbest4}}}}}|}}}}</td>
<td style="width: 50px; font-size: 16px; font-weight: bold">{{#if: {{{pve|}}} | {{{pve}}} | -}}</td>
+
<td style="width: 50px; font-size: 16px; font-weight: bold; text-align: center">{{#if:{{{pve|}}}|{{{pve}}} | -}}</td>
<td style="width: 50px; font-size: 16px; font-weight: bold">{{#if: {{{offensive|}}} | {{{offensive}}} | -}}</td>
+
<td style="width: 50px; font-size: 16px; font-weight: bold; text-align: center">{{#if:{{{offensive|}}}|{{{offensive}}}|-}}</td>
<td style="width: 50px; font-size: 16px; font-weight: bold">{{#if: {{{defensive|}}} | {{{defensive}}} | -}}</td>
+
<td style="width: 50px; font-size: 16px; font-weight: bold; text-align: center">{{#if:{{{defensive|}}}|{{{defensive}}}|-}}</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"> 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>
Line 37: Line 37:
 
|- style="vertical-align: middle;"
 
|- style="vertical-align: middle;"
 
! style="width: 100px" class="unsortable" | PVE !! style="width: 100px" class="unsortable" | PVP !! Offense !! Defense
 
! 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
+
|-
 +
<section begin=tierentry />
 +
{{TierData|demon=Seth|pvebest1=Clear|pvebest2=Teal|pvpbest1=Yellow|pvpbest2=Red
 
|pve=7
 
|pve=7
 
|offensive=4|defensive=4
 
|offensive=4|defensive=4
Line 46: Line 48:
 
*P3 reducing his Ouas to only 4MP.
 
*P3 reducing his Ouas to only 4MP.
 
|con=*Lack of phys pierce reduces his usability on specific content.
 
|con=*Lack of phys pierce reduces his usability on specific content.
}}<section end=tierentry />
+
}}
 +
<section end=tierentry />
 
|}</pre>
 
|}</pre>
 
{| class="wikitable sortable"
 
{| class="wikitable sortable"

Revision as of 10:39, 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.