Template talk:Battlerites

Question about the battlerites-template
Hi, i wanted to do some work with the Battlerites section of each champion. I was wondering how best to do that. I tried on the Oldur page but didnt quite get the hang of it. any help is appreciated, for instance an example battlerite. i have all the material below :)

Some other ideas:


 * 1) a new attribute would be _Tier, as the abilites are sectioned into tiers. example:




 * 1) the _Affects attribute might be changed to _affects_skill if it conflicts with _affects from the overview


 * 1) the same goes for _hotkey

Example Battlerite "card" (shown at the select battlerite screen at the start of a round):



example: {{Battlerites
 * battlerites-template=
 * a10_name=Chrono Shift
 * a10_image=Chrono Shift.png
 * a10_type=Mixed
 * a10_affects=Shifting Sands
 * a10_description= Shifting Sands creates a Lesser Chronoflux that reflects projectiles and slows movement speed.
 * a10_hotkey=Space

Dollersss (talk) 17:28, 5 October 2016 (UTC)Dollersss

Hi Dollersss,

Thanks for the input and taking the time to contribute! I was actually just about to start on the Battlerites template, so perfect timing. I will create a template much like the Overview one, so expect it to be in the same format:

{{Battlerites


 * r1_image = blah blah


 * r1_skill = blah blah


 * r1_affects = blah blah


 * r2_image = blah blah


 * r2_skill = blah blah

etc. etc.

I will likely create a custom table to house this information in an organized manner, so once I finish the format, you are more than welcome to help contribute the actual information. I like your idea about the cards, but with a wiki you want to avoid static images because then the information within them cannot be edited (and more importantly, linked to that respective page). I'll get a barebones template running today and then we can go from there. Thanks again!

Fin (talk) 17:46, 5 October 2016 (UTC) Fin

Hi Fin

Good thinking with the images, you are ofc right, they will most likely be subject to change, so text would be better. I'll start collecting the info and await your template changes :)

(Dollersss (talk) 19:36, 5 October 2016 (UTC))

Hello I'm fairly new at this and added rook's battlerite the other day. I assume it would be best to wait until this template is made before going on, isn't it ?

83.204.252.180 20:34, 5 October 2016 (UTC)

Yessir, I would wait a bit. However, the biggest task is importing the info into the template, so having that info readily available already is a very nice convenience. Thank you for doing that! Also, Rook is the only champ we currently don't have battlerite icon images for. If you're knowledgeable on image manipulation and looking for something to do, you could take the current sprite file (Sprite.png) and add Rook's icons to the bottom row :) The template is complete, but tonight I'll add documentation and fill it out on Oldur's page so you have a reference when doing Rook. Let me know if you have any questions!

Fin (talk) 20:50, 5 October 2016 (UTC) Fin

How were the other icons gathered? Screen capture and extraction?

83.204.252.180 21:12, 5 October 2016 (UTC)

As far as I know, yep. A guy named Piffe (on discord at least) manually extracted them all and gave me the sprite. I have no expertise on that kinda stuff, so that's all I got for ya :(

Fin (talk) 21:20, 5 October 2016 (UTC) Fin

Once I have the file how shall I make it available?

83.204.252.180 21:25, 5 October 2016 (UTC)

There is a link Upload file (also in the left navbar) where you can upload files. Or just re-upload the updated sprite on the File:Sprite.png page. Just make sure if you change the filename from something other than Sprite.png, the template will break, so you either gotta let me know or update it yourself.

Fin (talk) 21:29, 5 October 2016 (UTC) Fin

Okay I uploaded a new version of Sprite.png, I'm not sure I understood your warning so I kept the same name, just tell me if I need to fix anything

Uriaque (talk) 21:36, 5 October 2016 (UTC)

Nope, perfect job man, thank you so much! Very appreciated :) I'll make a post here once the template/doc is ready to roll.

Fin (talk) 22:25, 5 October 2016 (UTC) Fin

Added documentation, feel free to copy/paste the usage into the ChampionPage template after the 'battlerites-template=' part and enter the data. Let me know on this page if you have any questions!

Fin (talk) 23:58, 5 October 2016 (UTC) Fin

Hi, i added all the Lucie info, but the template usage on her site seems incorrect. but i dumped the info in the talks section for easy use later. One thing though, sometimes the data will look like below, where the status effect is a lesser version of something (i.e Panic in this case, having a 1s duration instead of 2s). Maybe we should have something for it in the template?


 * t1_1_name = Chaos
 * t1_1_affected = Panic Flask
 * t1_1_info = Panic Flask explodes dealing 12 area damage and inflicting a Lesser Panic on all nearby enemies.

(Dollersss (talk) 05:45, 6 October 2016 (UTC))
 * t1_1_subinfo = Panic (this is how it is referenced in-game /dollers)
 * t1_1_subinfo = Target runs away in panic for 1s. The panicked target runs at 25% increased movement speed. If the target takes enough damage the effect breaks.

Yep glad you caught that, troubleshooting it all now. Good call on the lesser panic thing, I'll keep that in mind once I get the main stuff up and running!

Fin (talk) 06:10, 6 October 2016 (UTC)Fin

I finished Oldur's first 2 tiers, looks good! I've also finished Sirius, but he has the same problem as Lucie.

Also I wrote down the Types info, which are indicated by the icons color, and they are:

Green = Survival

Purple = Control

Light Blue = Mixed

Turquoise = Support

Red = Offense

In-case anyone needs it for reference (i.e when grabbing the info from the char select screen instead of from the cards).

Dollersss (talk) 06:26, 6 October 2016 (UTC)

Schweet, thank you! Appreciate the help. I finished Oldur's page for you since that's my test page, so wanted it to be complete. The styles look super rough right now, but I'll put a bunch of work into making it pretty tomorrow. In the mean time, info can still be put in as normal, the style won't affect it. But yes, I still need to implement the tabs template into all the champions. I'll do that first thing tomorrow. Thanks again!

Fin (talk) 06:53, 6 October 2016 (UTC) Fin

Hello what about the pure passive upgrades - taking 20% less dmg while under 30% health - or upgrades to status like berzerk dmg reduction or Varesh debuff increase ?

Uriaque (talk) 08:31, 6 October 2016 (UTC)

Hiya

I missed one it seems, but you aleady caught it i think. new list anywhoo

Yellow = Mobility

Green = Survival

Purple = Control

Light Blue = Mixed

Turquoise = Support

Red = Offense

Uriaque, arent thos flagged as mixed (light blue)? Do you have an example battlerite? I clicked around but couldnt find anything

Dollersss (talk) 12:20, 6 October 2016 (UTC)

Oh I meant what about the "skill affected" part since they are passive or enhance specific status you can apply/acquire. For instance Oldur's Sealed fate affect the Sand of time debuff, so it's not really a modified skill. I edited rook into the new templates (champion and Battlerite) but the icons don't show. The Sprite?png file has been reverted but I don't know the issue about it. Maybe the previous author wants to complete it ?

Uriaque (talk) 12:31, 6 October 2016 (UTC)

Sorry forgot to comment it but I fixed an error in the template, the T4 rites would show the T1 skills affected instead.

Uriaque (talk) 15:34, 6 October 2016 (UTC)

I finished all the remaining Battlerites yesterday. I noticed Rook (Finlev's favorite Champion) is missing from the Battlerite Spritesheet. I don't have Photoshop on this PC, but if someone could update that would be must appreciated :)

Medicate (talk) 19:15, 7 October 2016 (UTC)

I uploaded na updated sheet last week but it was reverted. I don't know if there was an error or if it would have broken the template

Uriaque (talk) 10:24, 8 October 2016 (UTC)

Sorry about that Uriaque, had to temporarily revert because it it broke the logic I used to put the sprite images on the page. I am currently working on a way to circumvent this, and I have your version saved, so we're all good on that front. As for now, we are currently figuring out the best way to link the skills mentioned on the Battlerites tab with the skills in the Overview tab. This is more difficult than you'd think (for multiple technical reasons). So as far as that goes, hold off on making links until we figure it out. Thanks again for all the contributions, my dudes!

Fin (talk) 23:22, 8 October 2016 (UTC) Fin

Isn't it possible to just do "a1_id=Toxic_Bolt" and use that as table id? And to link/goto it just use "Lucie #Toxic_Bolt" ?

ArrowVulcan (talk) 19:08, 9 October 2016 (UTC)

That's a good solution, but the issue is not that we can't link to the exact table. The issue is with how Tabber works... all the tabs are technically on the same page, so when the parser looks for the specified section and it's on another page, it can't find what it needs, so it does nothing. I'm working on extending Tabber to fix this behavior.

Fin (talk) 02:54, 10 October 2016 (UTC) Fin

Doesn't the links on gamepedia work just like a normal hyperlink? Using test from the Battlerites tab does work. (You will need the space between "Lucie" and "#toc" or else it will just stay and do nothing as you mentioned)

ArrowVulcan (talk) 08:39, 10 October 2016 (UTC)

@ArrowVulcan Unfortunately that doesn't solve the problem. We are using the Tabber extension, which involves changing tabs through use of javascript when clicking a button in the navigation tab. You can see how tabs are changed in the source code here. The current functionality of the extension only provides changing tabs by clicking the nav bar, or for linking to a specific tab on page load (like Ashka). Links to a specific element on the page in a different tab (like for instance creating a link to a section in the overview tab from a description in a battlerite) do not incur the javascript required to change the tab. The behavior we are going for is to incur some javascript to switch the tab then move to the element on the page without a page reload, but this will require writing a widget I believe.

John4d252 (talk) 03:13, 11 October 2016 (UTC)

Having the battlerite cards would be cool but I think we need to keep the simple table, too. The cards look nice but are big and take longer to read.

I can make a template for the cards, here's a proof of conecpt image:



Compare to an actual screenshot:



It's not one to one but I think it's good enough. It would be layered like this: Type background > generic border > battlerite icon > type overlay > text

The burning ring around the ability icon is scaled up and I haven't found a higher res version. I also don't have high res ability icons yet but I think both will be found. We could also have the burning ring be animated but that might be too much.

Thoughts?

Emberimp (talk) 22:55, 15 October 2016 (UTC)

I made a BattleriteCard template: {{BattleriteCard |name=Desperado |hotkey=E |image=JadeAbility7.png |description=Landing Disabling Shot instantly reloads Revolver Shot with 12 ammo. |type=Offense }} It's not finished yet, I still need to get the high res icons and some stuff needs to be added to common.css

If anybody wants to check it out get the styles from here: User:Emberimp/common.css

Emberimp (talk) 05:08, 21 October 2016 (UTC)