Difference between revisions of "Template:TierDataDemo"

From SMT: Dx2 Wiki
Jump to: navigation, search
(Add option for notes in Democ tier data. Hide if not present (in a kind of weird redundant way because formatting issues))
 
(2 intermediate revisions by one other user not shown)
Line 8: Line 8:
 
</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"> Score </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>
+
{{#if:{{{con|}}}|
 +
<td style="background: #eaecf0; font-weight: bold; font-size: 15px"> Notes </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></includeonly>
 
</tr></includeonly>
 
<noinclude>
 
<noinclude>

Latest revision as of 20:47, 30 October 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" 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
Score
  • 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.
Notes
  • Lack of phys pierce reduces his usability on specific content.