Template talk:Creature table: Difference between revisions

From Heroes 3 wiki
Jump to navigation Jump to search
No edit summary
mNo edit summary
Line 16: Line 16:
: The only one with rights to edit that page is [[User:Terra|Terrasque]]. I sent a PM on <span class="plainlinks">[https://discord.gg/r5MR4Hc discord]</span>. After the CSS gets added you'll just have to add the ''whiteSortArrows'' class to the table. ―[[user:imahero|imahero]] 09:25, 20 May 2018 (CEST)
: The only one with rights to edit that page is [[User:Terra|Terrasque]]. I sent a PM on <span class="plainlinks">[https://discord.gg/r5MR4Hc discord]</span>. After the CSS gets added you'll just have to add the ''whiteSortArrows'' class to the table. ―[[user:imahero|imahero]] 09:25, 20 May 2018 (CEST)


:: "If User:Terra updates this wiki, then the'll be possibility to set sort value" :( --[[User:ShushMaster|ShushMaster]] ([[User talk:ShushMaster|talk]]) 22:02, 20 May 2018 (CEST)
:: ''"If User:Terra updates this wiki, then the'll be possibility to set sort value"'' :( --[[User:ShushMaster|ShushMaster]] ([[User talk:ShushMaster|talk]]) 22:02, 20 May 2018 (CEST)
:: "23 March '''2014''' (CET)" :(( --[[User:ShushMaster|ShushMaster]] ([[User talk:ShushMaster|talk]]) 22:02, 20 May 2018 (CEST)
:: ''"23 March '''2014''''' (CET)" :(( --[[User:ShushMaster|ShushMaster]] ([[User talk:ShushMaster|talk]]) 22:02, 20 May 2018 (CEST)


== Damage ==
== Damage ==

Revision as of 20:03, 20 May 2018

Black arrows vs. Dark blue background

It's really painful to operate. Is there a way to change the color of sorting arrows? Just don't want to change the color set of creature table - think it's absolutely ok for now.--ShushMaster (talk) 08:05, 20 May 2018 (CEST)

This will require some CSS to be added to MediaWiki:Common.css:
table.whiteSortArrows.jquery-tablesorter th.headerSortUp{
    background-image: url(http://heroes.thelazy.net/wiki/images/8/82/Sort_up_white.gif) !important;
}

table.whiteSortArrows.jquery-tablesorter th.headerSortDown{
    background-image: url(http://heroes.thelazy.net/wiki/images/5/56/Sort_down_white.gif) !important;
}

table.whiteSortArrows.jquery-tablesorter th.headerSort{
    background-image: url(http://heroes.thelazy.net/wiki/images/3/36/Sort_both_white.gif);
}
The only one with rights to edit that page is Terrasque. I sent a PM on discord. After the CSS gets added you'll just have to add the whiteSortArrows class to the table. ―imahero 09:25, 20 May 2018 (CEST)
"If User:Terra updates this wiki, then the'll be possibility to set sort value" :( --ShushMaster (talk) 22:02, 20 May 2018 (CEST)
"23 March 2014 (CET)" :(( --ShushMaster (talk) 22:02, 20 May 2018 (CEST)

Damage

Um, why to separate min and max dmg? Maybe it's for better sorting I guess x] --HaxLi 14:49, 20 March 2014 (CET)

That is the main reason. Though I agree, that it is a little pointless property. –Kapteeni Ruoska 14:55, 20 March 2014 (CET)
Hmm, perhaps there would be way to make min & max damages look like an interval, but still preserve the sortability? –Kapteeni Ruoska 09:43, 23 March 2014 (CET)
There is, but not in this Wiki yet ;]

Specifying_a_sort_key

If User:Terra updates this wiki, then the'll be possibility to set sort value ;] --HaxLi 10:19, 23 March 2014 (CET)

Width

Is the "width 100%" really necessary? To my eye it looks a bit funny, when half or at list a third is basically empty. Of course it would be empty anyway, but now the colors and the frames fill the blank space. –Kapteeni Ruoska 09:43, 23 March 2014 (CET)

Well, I had no solution how to make 'Special' column fit without row distortion. Not sure about others, but I think 1280px is the most used resolution yet and on that resolution this looks kinda fine. Ofcourse on 1920px width it's kinda funny looking.. so maybe need to specify fixed width=956px ;] --HaxLi 10:05, 23 March 2014 (CET)

Resouce column

Yes, resource should be at the right of gold

Remember the discussion in File_talk:Gold_symbol_for_text.png. I posted a Screenshot of how it looks in game ;] Btw, now it is necessary to switch gold and resource variables in row template or hard working on data reediting >_<

Right, gota resort creature data with Notepad++. It's easy there with column select tool, Just need to reedit every teplates and pages there ;]

Compare

 Name Town Lvl Att Def D(-) D(+) Hlth Spd Cost  Special
Imp Imp  Meh 1100 Gold   12 Meh Meh
Imp Imp  Meh 1100 Gold   12 Meh Meh
Imp Imp  Meh 1100 Gold  10 Mercury  12 Meh Meh
Imp Imp  Meh 1100 Gold  10 Sulfur  12 Meh Meh

V.S.

Name Town Lvl Att Def D(-) D(+) Hlth Spd Cost  Special
Imp Imp  Meh 1100 Gold   12 Meh Meh
Imp Imp  Meh 1100 Gold   12 Meh Meh
Imp Imp  Meh 10 Mercury 1100 Gold   12 Meh Meh
Imp Imp  Meh 10 Sulfur 1100 Gold   12 Meh Meh

--HaxLi 10:18, 23 March 2014 (CET)