Template talk:Achievement list

From Guild Wars 2 Wiki
Jump to navigationJump to search

Need to fully parameterize it for activity and parent properties, also the other flags if we want to generate a list of achievement that grant rewards, titles, etc. Pretty sure you can re-use the achievement table header and format for this because it's doing the exact same thing.--Relyk ~ talk < 16:16, 30 July 2013 (UTC)

Erm.. sorry, I don't understand you. You mean, make it look completely like on category pages? MalGalad 16:32, 30 July 2013 (UTC)
like Template:Recipe table--Relyk ~ talk < 16:34, 30 July 2013 (UTC)
Aha-a... So, kinda wrapper for
{{#ask}}
with predefined parameters, right? Like
{{Achievement table|type=meta}}
pulls all achievements that are meta? MalGalad 19:57, 30 July 2013 (UTC)
It's pretty much turning the query into a template formatted the way we want. If we need arbitrary achievement rows, we'd make an achievement list row in the same vane as {{recipe list row}}. We won't need to do that for a long time I suspect.--Relyk ~ talk < 20:19, 30 July 2013 (UTC)

Expanded use[edit]

Can the activity parameter be expanded to other uses instead of just activities or does a new parameter need to be created; it could be helpful for things like Chronomancer achievements, to be in a single table with a total AP amount. Mora 21:54, 25 October 2015 (UTC)

Rewards[edit]

When using this template as a way of displaying rewards, the achievement doesn't show up unless the item's ID is used. For example, using {{achievement list|reward=Dragonscale Epaulettes Box}} on this page won't display the achievement, but using {{achievement list|reward=79484}} (the ID of the item) works fine. —Ventriloquist 20:29, 24 September 2016 (UTC)

Actually, the input {{achievement list|reward=79484}} must match that of {{achievement table row|reward=79484}}. And the items show up on the achievement pages because it uses {{item icon}} which handles name or ID. I'm hoping that we can allow item IDs to be specified in {{achievement table row}}, and then do a query to store the page (or ID) in Property:Gives item: https://wiki.guildwars2.com/wiki/Special:SearchByProperty?property=Gives+item --BryghtShadow (talk) 04:06, 25 September 2016 (UTC)
Using item id for the reward parameter isn't supported by {{achievement table row}} and neither is searching by item id by this template. Use the name of the item. The only reason you should use item id is if you can't use the name, such as item subobjects, which is unlikely for achievement reward items.--Relyk ~ talk < 04:22, 25 September 2016 (UTC)
Now it is supported. (Unless that support get reverted :/) --BryghtShadow (talk) 04:32, 25 September 2016 (UTC)

Hide collection items[edit]

Since I recently added the collection items to the black lion collections - mostly as - hidden collection" - the Black Lion Claim Ticket page had an "Pages where template include size is exceeded" error. It would be useful to have the ability to hide the collection items manually to still be able to use the achievement list instead of working around with this fix. —Kvothe (talk) 10:02, 14 July 2020 (UTC)

Added the parameter hide collection, if set, all collections of the current achievement list will be hidden. --Tolkyria (talk) 12:31, 16 July 2020 (UTC)
Thank you. I updated the page and it works beautifully. —Kvothe (talk) 17:19, 16 July 2020 (UTC)

Parameter expandable[edit]

Please give all expandable achievement lists the same (minimum) width. E.g. Winter Wonderland#Achievements. —Kvothe (talk) 17:13, 30 January 2021 (UTC)

Done. -Chieftain AlexUser Chieftain Alex sig.png 18:05, 30 January 2021 (UTC)
And the 1px border that is introduced when expanding (and hence causing the title to still jump around)? The easiest would be to add class="line-left to the 18.3em line, which would also mirror {{achievement table row}}. I currently failed to introduce a transparent line.--Tolkyria (talk) 18:12, 30 January 2021 (UTC)
Looks nice! Thanks for your work! —Kvothe (talk) 14:19, 31 January 2021 (UTC)