FANDOM


  • I know this isn't the highest priority on this site. I am working on the List of units in Civ2 page. When i sort the table on the left column it doesn't sort in alphabetable order even when i use the code "data-sort-value=" (Found http://community.wikia.com/wiki/Help:Sorting). Is there any reason for this? Artillery is sorted to the bottom AEGIS cruiser is never on top. Is it something wrong with the table code?

      Loading editor
    • It seems to be related to it sorting based on the picture file names. I made a test version where the file is in a separate column from the unit name. When the "Unit" column is sorted (names only), it works fine, but the same oddities happen as before when it is sorted by the picture. Not sure what the cause is or how to fix, but hopefully someone else can figure it out from that.

      Also note that the List of units in Civ3 page has the same problem, where the name column sorts correctly but the picture column does not.

        Loading editor
    • I could do it. It looks a lot better when both are on the same line. I am still not sure why "data-sort-value=" is not working.

        Loading editor
    • Nevermind. Figured it out. The images were ranked higher then the words. Thanks for your help.

        Loading editor
    • Nice fix. I agree they look better on the same line.

        Loading editor
    • Well, I didn't even have the time to react to this! Glad you managed to sort it out. :)

        Loading editor
    • No worries! Thanks for your help.

        Loading editor
    • A FANDOM user
        Loading editor
Give Kudos to this message
You've given this message Kudos!
See who gave Kudos to this message
Community content is available under CC-BY-SA unless otherwise noted.