Difference between revisions of "Template:TierData"

From SMT: Dx2 Wiki
Jump to: navigation, search
 
(13 intermediate revisions by the same user not shown)
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; text-align: center">{{DemonIcon|1={{{demon}}}}}<br />{{#lst:{{{demon}}}|gachaFlags}}</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></includeonly>
</includeonly>
 
 
<noinclude>
 
<noinclude>
 
=== Usability Examples ===
 
=== Usability Examples ===
 
----
 
----
Still under modifications to ensure correct transclusion on necessary pages. (Jan 16 2020 - WanderingSeth)
+
Still under modifications to ensure correct transclusion on necessary pages. (Feb 20 2020 - WanderingSeth)
  
 
Parameters as shown all have the capacity to be empty. A few exceptions are as follows:
 
Parameters as shown all have the capacity to be empty. A few exceptions are as follows:
Line 27: Line 26:
 
*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.
 
*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.
 
*Also usable for the Tier List aggregate of all labeled section transclusions.
 
 
<pre>
 
<pre>
 
{| class="wikitable sortable"
 
{| class="wikitable sortable"
Line 33: Line 31:
 
! rowspan="2" style="width: 80px" | Name  
 
! rowspan="2" style="width: 80px" | Name  
 
! colspan="2" style="width: 200px" class="unsortable" | Best Archetype(s)
 
! colspan="2" style="width: 200px" class="unsortable" | Best Archetype(s)
! rowspan="2" | PVE
+
! rowspan="2" data-sort-type="number" | PVE
 
! colspan="2" class="unsortable" | PVP
 
! colspan="2" class="unsortable" | PVP
 
|- 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 !! data-sort-type="number" | Offense !! data-sort-type="number" | 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 51: Line 50:
 
|-
 
|-
 
! rowspan="2" style="width: 80px" | Name  
 
! rowspan="2" style="width: 80px" | Name  
! colspan="2" class="unsortable" | Best Archetype(s)
+
! colspan="2" style="width: 200px" class="unsortable" | Best Archetype(s)
! rowspan="2" | PVE
+
! rowspan="2" data-sort-type="number" | PVE
 
! colspan="2" class="unsortable" | PVP
 
! colspan="2" class="unsortable" | PVP
 
|- 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 !! data-sort-type="number" | Offense !! data-sort-type="number" | Defense
|- {{TierData|demon=Seth|pvebest1=Clear|pvebest2=Teal|pvpbest1=Yellow|pvpbest2=Red
+
|- {{TierData|demon=Seth|pvebest1=Clear|pvebest2=Teal|pvebest3=Red|pvebest4=Yellow|pvpbest1=Any
|pve=7
+
|pve=7|offensive=4|defensive=4
|offensive=4|defensive=4
 
 
|pro=*Not much to say here. With panels he's a hell of an ST nuker, probably the best (caveats).
 
|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.
 
*Invest your red peppers into Ouas, with the upgrade it gains a lot of strength.
Line 65: Line 63:
 
*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.
}}
+
}}|}
|}
 
 
</noinclude>
 
</noinclude>

Latest revision as of 02:39, 21 February 2020


Usability Examples


Still under modifications to ensure correct transclusion on necessary pages. (Feb 20 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" data-sort-type="number" | PVE
! colspan="2" class="unsortable" | PVP
|- style="vertical-align: middle;"
! style="width: 100px" class="unsortable" | PVE !! style="width: 100px" class="unsortable" | PVP !! data-sort-type="number" | Offense !! data-sort-type="number" | 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 Red Yellow Any 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.