Template talk:Legacy variant table header: Difference between revisions

From Path of Exile Wiki
Jump to navigation Jump to search
>Ruba159753
(→‎Query legacy mods: new section)
 
>Molldust
 
(7 intermediate revisions by 3 users not shown)
Line 1: Line 1:
== Query legacy mods ==
== Query legacy mods ==
For example taken {{il|Ornate Spiked Shield}}


Is it possible to implement requests to mods?
Is it possible to implement requests to mods?
Line 9: Line 10:
  |fields=mods.stat_text
  |fields=mods.stat_text
  |where=mods.id="AttackerTakesDamageShieldImplicit4"
  |where=mods.id="AttackerTakesDamageShieldImplicit4"
|no html
}}}}}}
}}}}}}
|}
|}
Line 14: Line 16:
But to specify only the mod id.
But to specify only the mod id.
For example:
For example:
<s><pre>
{{legacy variant table header}}
{{legacy variant table row|3.0.0|{{c|mod|AttackerTakesDamageShieldImplicit4}}}}
|}
</pre></s>
Or interaction with the subject itself, as it is implemented in "Skill Gems" with tables "Skill progression"?
upd:
I realized that you can do it with the template {{tlx|Ml}}:
<pre>
<pre>
{{legacy variant table header}}
{{legacy variant table header}}
{{legacy variant table row|3.0.0|{{c|mod|AttackerTakesDamageShieldImplicit4}}}}
{{legacy variant table row|3.0.0|{{c|mod|{{Ml|AttackerTakesDamageShieldImplicit4|display=stat_text}}}}}}
|}
|}
</pre>
</pre>
Or interaction with the subject itself, as it is implemented in "Skill Gems" with tables "Skill progression"?
 
--[[User:Ruba159753|Ruba159753]] ([[User talk:Ruba159753|talk]]) 21:44, 18 October 2018 (UTC)
: Sure, you ''can'' do a query for mods but you will always get the most '''current''' version of the mods. It is probably not the behaviour you want when the purpose of the template is to show historical data. For example {{il|Forbidden Taste}} has {{ml|LocalFlaskInstantRecoverPercentOfLifeUniqueFlask6}} but there are also static 75% floating around since it was first introduced.--[[User:Illviljan|Illviljan]] ([[User talk:Illviljan|talk]]) 02:19, 19 October 2018 (UTC)
::I see. Didn't think.
::--[[User:Ruba159753|Ruba159753]] ([[User talk:Ruba159753|talk]]) 07:33, 19 October 2018 (UTC)
 
== Legacy diff definitions ==
 
I wanted to ask what's the general opinion about the "diff" between legacy variant mods. Currently you have to update the diff for all variants if a unique gets an update. Wouldn't it more sense to display the diff from one version to the next one rather than the latest one?
 
How it's done at the moment (mod = removed or changed, not = added | compared to current version):
* Current Version
** Mod B2
** Mod C1
* Legacy Version 3.0
** {{c|mod|Mod A2}}
** Mod B2
** Mod C1
* Legacy Version 2.0
** {{c|mod|Mod A1}}
** {{c|mod|Mod B1}}
** <s>{{c|not|Mod C1}}</s> ''(As a side note <code><nowiki>{{c|not|Mod C1}}</nowiki></code> is not working on its own -> Bug)''
 
How I suggest it to behave (bold = new, italic = changed, strike = removed | compared to previous version):
* Current Version
** <s>Mod A2</s>
** Mod B2
** Mod C1
* Legacy Version 3.0
** <i>Mod A2</i>
** <i>Mod B2</i>
** <b>Mod C1</b>
* Legacy Version 2.0
** Mod A1
** Mod B1
 
The second case has the advantage that only the latest "legacy" version has to be adapted and the changed can be tracked over the patches. Opinions? [[User:Molldust|Molldust]] ([[User talk:Molldust|talk]]) 22:25, 2 January 2019 (UTC)

Latest revision as of 22:29, 2 January 2019

Query legacy mods

For example taken Ornate Spiked ShieldOrnate Spiked ShieldChance to Block: 24%
Evasion: (120-135)
Energy Shield: (26-29)
Movement Speed: -3%
Requires Level 33, 44 Dex, 44 Int+5% chance to Suppress Spell Damage

Is it possible to implement requests to mods? For example:

{{legacy variant table header}}
{{legacy variant table row|3.0.0|{{c|mod|{{#cargo_query:
 |tables=mods
 |fields=mods.stat_text
 |where=mods.id="AttackerTakesDamageShieldImplicit4"
 |no html
}}}}}}
|}

But to specify only the mod id. For example:

{{legacy variant table header}}
{{legacy variant table row|3.0.0|{{c|mod|AttackerTakesDamageShieldImplicit4}}}}
|}

Or interaction with the subject itself, as it is implemented in "Skill Gems" with tables "Skill progression"?

upd:

I realized that you can do it with the template {{Ml}}:

{{legacy variant table header}}
{{legacy variant table row|3.0.0|{{c|mod|{{Ml|AttackerTakesDamageShieldImplicit4|display=stat_text}}}}}}
|}

--Ruba159753 (talk) 21:44, 18 October 2018 (UTC)

Sure, you can do a query for mods but you will always get the most current version of the mods. It is probably not the behaviour you want when the purpose of the template is to show historical data. For example Forbidden TasteForbidden Taste
Quartz Flask
Lasts 6.00 Seconds
Consumes 30 of 60 Charges on use
Phasing
+10% chance to Suppress Spell Damage
Requires Level 27Recover (75-100)% of Life on use
25% of Maximum Life taken as Chaos Damage per second
Your reach exceeds your grasp.Right click to drink. Can only hold charges while in belt. Refills as you kill monsters.
has Recover (75-100)% of Life on useLocalFlaskInstantRecoverPercentOfLifeUniqueFlask6
Intrinsic
Recover (75-100)% of Life on use
but there are also static 75% floating around since it was first introduced.--Illviljan (talk) 02:19, 19 October 2018 (UTC)
I see. Didn't think.
--Ruba159753 (talk) 07:33, 19 October 2018 (UTC)

Legacy diff definitions

I wanted to ask what's the general opinion about the "diff" between legacy variant mods. Currently you have to update the diff for all variants if a unique gets an update. Wouldn't it more sense to display the diff from one version to the next one rather than the latest one?

How it's done at the moment (mod = removed or changed, not = added | compared to current version):

  • Current Version
    • Mod B2
    • Mod C1
  • Legacy Version 3.0
    • Mod A2
    • Mod B2
    • Mod C1
  • Legacy Version 2.0
    • Mod A1
    • Mod B1
    • Mod C1 (As a side note {{c|not|Mod C1}} is not working on its own -> Bug)

How I suggest it to behave (bold = new, italic = changed, strike = removed | compared to previous version):

  • Current Version
    • Mod A2
    • Mod B2
    • Mod C1
  • Legacy Version 3.0
    • Mod A2
    • Mod B2
    • Mod C1
  • Legacy Version 2.0
    • Mod A1
    • Mod B1

The second case has the advantage that only the latest "legacy" version has to be adapted and the changed can be tracked over the patches. Opinions? Molldust (talk) 22:25, 2 January 2019 (UTC)