Editing Template talk:Creature table

Jump to navigation Jump to search
Warning: You are not logged in. Your IP address will be publicly visible if you make any edits. If you log in or create an account, your edits will be attributed to your username, along with other benefits.

The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then publish the changes below to finish undoing the edit.

Latest revision Your text
Line 1: Line 1:
== 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.--[[User:ShushMaster|ShushMaster]] ([[User talk:ShushMaster|talk]]) 08:05, 20 May 2018 (CEST)
: This will require some CSS to be added to [[MediaWiki:Common.css]]:
<pre>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);
}</pre>
: 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)
:: ''"23 March '''2014''''' (CET)" :(( --[[User:ShushMaster|ShushMaster]] ([[User talk:ShushMaster|talk]]) 22:02, 20 May 2018 (CEST)
::: White sort arrows are here. Here's an example of how to add them:
::: <span class=plainlinks>[http://heroes.thelazy.net/wiki/index.php?title=Template:Hero_table&diff=35500&oldid=35195 Template:Hero_table&diff=35500&oldid=35195]</span> ―[[user:imahero|imahero]] 15:44, 24 May 2018 (CEST)
== Damage ==
== Damage ==
Um, why to separate min and max dmg? Maybe it's for better sorting I guess x] --[[User:HaxLi|HaxLi]] 14:49, 20 March 2014 (CET)
Um, why to separate min and max dmg? Maybe it's for better sorting I guess x] --[[User:HaxLi|HaxLi]] 14:49, 20 March 2014 (CET)
Line 29: Line 6:
::Hmm, perhaps there would be way to make min & max damages look like an interval, but still preserve the sortability? –[[User:Kapteeni Ruoska|Kapteeni Ruoska]] 09:43, 23 March 2014 (CET)
::Hmm, perhaps there would be way to make min & max damages look like an interval, but still preserve the sortability? –[[User:Kapteeni Ruoska|Kapteeni Ruoska]] 09:43, 23 March 2014 (CET)


:::There is, but not in this Wiki yet ;]
== Appearance ==
 
[https://www.mediawiki.org/wiki/Help:Sorting#Specifying_a_sort_key Specifying_a_sort_key]
 
If [[:User:Terra]] updates this wiki, then the'll be possibility to set sort value ;] --[[User:HaxLi|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. –[[User:Kapteeni Ruoska|Kapteeni Ruoska]] 09:43, 23 March 2014 (CET)
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. –[[User:Kapteeni Ruoska|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 ;] --[[User:HaxLi|HaxLi]] 10:05, 23 March 2014 (CET)
== Resouce column ==
[[Image:Creature_Dragon_Cost_Screen.png|thumb|Yes, resource should be at the right of gold]]
<s>Remember the discussion in [[File_talk:Gold_symbol_for_text.png]]. I posted a [https://imageshack.com/i/5nil5dp 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 >_<</s>
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 ===
{| cellpadding=0 cellspacing=0 border=0 style="width:956px; background-color:#DDDDFF; border: 1px solid #000000;" class="sortable"
|- bgcolor=0000FF  align=center style="color:#FFFFFF;"
| width=140 align=left | {{-}}'''Name'''
| width=80  align=left | '''Town'''
| width=30 | <span title="Level">'''Lvl'''
| width=30 | <span title="Attack">'''Att'''
| width=30 | <span title="Defence">'''Def'''
| width=30 | <span title="Minimum Damage">'''D(-)'''</span>
| width=30 | <span title="Maximum Damage">'''D(+)'''</span>
| width=30 | <span title="Health">'''Hlth'''
| width=30 | <span title="Speed">'''Spd'''
| width=55 | '''Cost'''
| width=30 class="unsortable" | <!--- column for resource cost !--->
| align=left class="unsortable" | {{-}}'''Special'''
|- align=center
| align=left|{{Cn|Imp}}|| align=left|{{-}}Meh||3{{-}}||4{{-}}||5{{-}}||6{{-}}||7{{-}}||8{{-}}||9{{-}}|| align=right|1100 {{gold}}{{-}}|| align=right| || align=left |{{-}}12 Meh Meh
|- align=center
| align=left|{{Cn|Imp}}|| align=left|{{-}}Meh||3{{-}}||4{{-}}||5{{-}}||6{{-}}||7{{-}}||8{{-}}||9{{-}}|| align=right|1100 {{gold}}{{-}}|| align=right| || align=left |{{-}}12 Meh Meh
|- align=center
| align=left|{{Cn|Imp}}|| align=left|{{-}}Meh||3{{-}}||4{{-}}||5{{-}}||6{{-}}||7{{-}}||8{{-}}||9{{-}}|| align=right|1100 {{gold}}{{-}}|| align=right|10 {{Mercury}}|| align=left |{{-}}12 Meh Meh
|- align=center
| align=left|{{Cn|Imp}}|| align=left|{{-}}Meh||3{{-}}||4{{-}}||5{{-}}||6{{-}}||7{{-}}||8{{-}}||9{{-}}|| align=right|1100 {{gold}}{{-}}|| align=right|10 {{sulfur}}|| align=left |{{-}}12 Meh Meh
|}
'''V.S.'''
{| cellpadding=0 cellspacing=0 border=0 style="width:956px; background-color:#DDDDFF; border: 1px solid #000000;" class="sortable"
|- bgcolor=0000FF  align=center style="color:#FFFFFF;"
| width=140 | '''Name'''
| width=80 align=left | '''Town'''
| width=30 | <span title="Level">'''Lvl'''
| width=30 | <span title="Attack">'''Att'''
| width=30 | <span title="Defence">'''Def'''
| width=30 | <span title="Min Damage">'''D(-)'''</span>
| width=30 | <span title="Max Damage">'''D(+)'''</span>
| width=30 | <span title="Health">'''Hlth'''
| width=30 | <span title="Speed">'''Spd'''
| width=30 class="unsortable" | <!--- column for resource !--->
| width=55 | '''Cost'''
| align=left class="unsortable" | {{-}}'''Special'''
|- align=center
| align=left|{{Cn|Imp}}|| align=left|{{-}}Meh||3{{-}}||4{{-}}||5{{-}}||6{{-}}||7{{-}}||8{{-}}||9{{-}}|| align=right| || align=right|1100 {{gold}}{{-}}|| align=left |{{-}}12 Meh Meh
|- align=center
| align=left|{{Cn|Imp}}|| align=left|{{-}}Meh||3{{-}}||4{{-}}||5{{-}}||6{{-}}||7{{-}}||8{{-}}||9{{-}}|| align=right| || align=right|1100 {{gold}}{{-}}|| align=left |{{-}}12 Meh Meh
|- align=center
| align=left|{{Cn|Imp}}|| align=left|{{-}}Meh||3{{-}}||4{{-}}||5{{-}}||6{{-}}||7{{-}}||8{{-}}||9{{-}}|| align=right|10 {{Mercury}} || align=right|1100 {{gold}}{{-}}|| align=left |{{-}}12 Meh Meh
|- align=center
| align=left|{{Cn|Imp}}|| align=left|{{-}}Meh||3{{-}}||4{{-}}||5{{-}}||6{{-}}||7{{-}}||8{{-}}||9{{-}}|| align=right|10 {{sulfur}}|| align=right|1100 {{gold}}{{-}}|| align=left |{{-}}12 Meh Meh
|}
--[[User:HaxLi|HaxLi]] 10:18, 23 March 2014 (CET)
Please note that all contributions to Heroes 3 wiki may be edited, altered, or removed by other contributors. If you do not want your writing to be edited mercilessly, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource. Do not submit copyrighted work without permission!
Cancel Editing help (opens in new window)