Template talk:SkillListRich

From Dota 2 Wiki
Jump to: navigation, search

Inconsistant text display[edit]

There is a small inconsistancy about how the template displays the text part. If it is short enough, it puts them on the right side of the icon. If there is at least 1 line breaking, it moves it all below the image. It should either always put them on the right of the image, or always below, so it looks cleaner. Or maybe make the traits always next to the icon (they should never line-break anyway) and put notes below the icon.

  • Last Word icon.png
    Duration: 3/4/5/6
    Cooldown symbol.png 5 Mana symbol.png 100
    long text which doesn't fit next to the icon, so all this text part gets moved down below the icon. Also last word silences, slows and damages you no matter if you cast or not because why not.
  • Entangling Claws (Spirit Bear) icon.png
    Duration: 3 (9 on creeps)
    Chance: 20%
    Roots and stuff.

~~ Bu3ny (talk) 20:00, 25 December 2015 (UTC)

What browser are you using? It looks fine fore me: [1]. Or we have a Missverständnis :) Molldust (talk) 20:29, 25 December 2015 (UTC)

Found the issue. My bad! My custom CSS is fixed, but I forgot to transfer the fix to the global CSS. Will provide a fix tomorrow. Molldust (talk) 20:44, 25 December 2015 (UTC)
Apparently calc(100%-74px) is different to calc(100% - 74px) Molldust (talk) 03:34, 26 December 2015 (UTC)


lol, the table is squeezed. Elite stay (talk) 10:03, 26 December 2015 (UTC)

Yeah the thumb is a floating element and needs to be cleared:
Molldust (talk) 10:37, 26 December 2015 (UTC)

So now I should use nametext, sourcetext, and forcetext, shouldn't I?[edit]

Um, and what regex I can use? Elite stay (talk) 12:50, 7 January 2016 (UTC)

You definitely CAN use those. But I may implement proper semantic translation switching to the SillListRich and SkillListLite at some point (realistic estimate is march/april). No need to waste your effort on the hero/item/ability translations in my opinion, if you can wait until that point.
There is an easy implementation, too, but it might hit hard on the performance:
{{{source}}} can be changed to {{Hero name|{{{source}}} }}
{{{force}}} to {{Hero name|{{{force}}}|{{{source}}} }}
{{{name}}} to {{Ability name|{{{name}}}|{{{source}}} }}
I can implement that kind of translation within a few minutes (except NPC, because they miss translations on the Template:Hero name or Template:Npc name. But I'd like to have approval of an admin for that. So if User:Bu3ny or User:Lemoncream give the OK, it should be no problem. Molldust (talk) 14:01, 7 January 2016 (UTC)
And I have to check whether the source is an item or not. So something like this is more realistic: {{#if:{{{item}}}|{{Item name|{{{source}}}}}|{{#if:{{{npc}}}|{{Npc name|{{{source}}}}}|{{Hero name|{{{source}}}}} }} }} Molldust (talk) 14:08, 7 January 2016 (UTC)
Great! Looking forward. I don't want to touch dispel table again. It takes me an hour to fix one letter mistake :(. Elite stay (talk) 14:10, 7 January 2016 (UTC)
The Dispel table is another template. It really is slow. But it is only used for the dispel article as of now, so it does not really matter much. Adding translation switch to it would make that one impossible to edit. As for the skillists, I don't know how much it would affect performance. I'd say give it a try, but wait for lemon's opinion. ~~ Bu3ny (talk) 14:15, 7 January 2016 (UTC)
I dunno, the wiki is already pretty slow. You can still try though, if it doesn't work out just revert it. But generally, pages that need to load hundreds of templates become so slow they're almost uneditable, so keep that in mind. - Lemoncake(talk) 20:27, 8 January 2016 (UTC)

Display error for Ursa[edit]

Across several pages (Attack Damage#Conditional bonus, Attack Speed#List of abilities that give increased attack speed), there are SLR calls for Ursa, all of which have their page link broken. (It displays as [[Ursa|]].) Can someone who knows how the automated link system works check the reference list for that? PaladinAHOne (talk) 21:52, 27 May 2016 (UTC)


According to this edit, should we add talent as a new color? --Elite stay (talk) 07:50, 17 December 2016 (UTC)

This template is incompatible with talents. Template:TalentListRich is an option. Molldust (talk) 08:54, 17 December 2016 (UTC)