Template talk:Variantbar

Application
Intriguing template idea. This would only be used for the variant(s), not the main bar. Right? --Krschkr (talk) 13:21, 13 May 2019 (UTC)
 * Correct, the idea is to give the build packs a known template to search for on each page (so that it knows the extra code should be saved rather than ignored as it would be now) without cluttering the page too much (hence being collapsible). It will also have a name to pull so it doesn't have to name the file something non-descriptive like "R_any Melandru's Shot Variant 1". -Toraen (talk) 22:37, 13 May 2019 (UTC)
 * As soon as the template is ready for testing we should use it on Build:E/A Dagger Spammer as that one comes with plenty of major variants natively. Then we're going to see whether it works as intended and does so without harming the build page quality. If we can't combine those two aspects it'd be better to make a template that's invisible on the page and only intended to make the bot grab the major variants. Do you have plans to make the template work for single spots in team build pages? --Krschkr (talk) 23:02, 13 May 2019 (UTC)
 * I hadn't considered using this on team pages, since by default the script grabs all builds on a team (leaving the user of the packs to suss out which builds they need to run with their particular team). However that seems like it could be a good improvement on the existing function since variant builds could be properly labeled as such. Though I will need some way to indicate which main build slot the variant is intended to replace. -Toraen (talk) 23:37, 13 May 2019 (UTC)

Optionals in the variantbar
Could support for a list of optional skill choices be added to the variantbar? It would be useful i.e. for this build page: Build:Me/A Zelnehlun Fastfoot Farmer. --Krschkr (talk) 12:36, 17 June 2019 (UTC)

Profession based coloring
I think it would be nice to have a background color that indicates the profession of the build variant. This has a nicer appeal and makes for an easier overview. You can view the proposed variant here: User:Vegetaledefender/Variantbar. A few examples are currently visible in the Sandbox -- Veggie (talk)
 * Looks good to me, that'll improve the aesthetics and immediate information flow of some pages. --Krschkr (talk) 22:31, 12 February 2020 (UTC)
 * It's an improvement certainly - might be worth considering only applying the background to the first heading row? - Chieftain Alex (talk) 22:55, 12 February 2020 (UTC)
 * It was actually intended that way. --Krschkr (talk) 23:15, 12 February 2020 (UTC)
 * Let me know when the changes are stable, I might need to update the bp script depending on how much the resulting HTML is modified by changes to this template. No rush though if you want to make more changes, I won't be running the script again until next month. -Toraen (talk) 12:12, 13 February 2020 (UTC)
 * It should work like that now, except we should probably discuss the exact colour code. --Krschkr (talk) 13:54, 13 February 2020 (UTC)


 * I quite like the current colours since they match the icons, but I'd be tempted to copy gww:Guild Wars Wiki:Colors (theme colours are the same as guildwiki). - Chieftain Alex (talk) 22:28, 13 February 2020 (UTC)
 * Oh, gwwiki's warrior is quite blinding. The proposed colours look a bit inconsistent with the bright first 5 and the faint last 5 professions. But I can live with either would really prefer the current colour setup. --Krschkr (talk) 23:53, 13 February 2020 (UTC)
 * I'm also quite fond of the current colours, and as the proposed ones hurt my eyes to be honest, I'd really prefer it if we stick with what we have now colour wise --Veggie (talk) 01:20, 15 February 2020 (UTC)

Position
Will the build pack script get hiccups when I state 6-12 as the position? --Krschkr (talk) 02:38, 4 March 2020 (UTC)
 * I don't think it'll work correctly with that, as it's expecting only a single number. I think I can change it to support that though. Which build is this going to appear on? -Toraen (talk) 02:57, 4 March 2020 (UTC)
 * It'd be nice to have for the WIP The Deep BYOB. But I can simply revert it to position 6 if changing the script is too much of a hassle. --Krschkr (talk) 03:12, 4 March 2020 (UTC)

Implemented YouTube Widget
Is there a way to add the support of start= and end= of the widget to the variantbar template? --Krschkr (talk) 00:36, 9 March 2020 (UTC)

Some More Notes
Now that I've gone through the pain of checking all Build: pages for variants I have some notes/questions: At the very least we now have a list of pages with variantbars. That'll ease future edits in case of changes to the template. --Krschkr (talk) 01:48, 10 March 2020 (UTC)
 * Video start&end times would be nice for farming pages.
 * The position of a variant within a team will most likely deviate from build pack to build page. A lot of teams have multiple instances of the same build and only list it once. It would be nice to have the script add multiple characters with the same build if a headline ends with (#) or (x#). This would fix the party position issue.
 * Also: If a build is a variant to such a multiple party slots position the position=# neglects the fact that it's a variant to multiple positions. position1=#|position2=#|... might be a solution to create input that's easy to grab with the bot?