Template talk:Passive skill link

From Path of Exile Wiki
Revision as of 10:01, 29 June 2019 by >Illviljan
Jump to navigation Jump to search

This talk page is for discussing Template:Passive skill link.

  • Sign your posts using four tildes (~~~~)
  • Start a new topic at the bottom under a ==level 2 heading==
  • Indent replies using colons (:)
  • Keep it civil
  • Assume good faith
  • Don't remove past discussions

Is there a way to change the link of the skill? All the Ascendant skills link to the class and not the passive skill and I don't know how to fix it.--ThemJohns (talk) 13:44, 13 March 2019 (UTC)

Add main_page parameter to the passive skill page. See also Template:Passive skill --OmegaK2 (t|c) 18:06, 13 March 2019 (UTC)
The function is still broken. Also, is there a way for the query to link to the proper skill page and not just create a link of the skill name? --ThemJohns (talk) 14:21, 5 June 2019 (UTC)
It only wasn't showing the correct link above the icon, icon link was correct. I fixed the former. You still need to add main_page parameter to the passive pages for the ascendant, it isn't magically happening byitself --OmegaK2 (t|c) 06:58, 6 June 2019 (UTC)
We have already defined the main page when we created the page and added the passive skill box to it though. How about if we add a main_pages cargo table that {{Passive skill box}} would store to? This would remove the need to also find the technical page(s) and edit those. --Illviljan (talk) 07:34, 6 June 2019 (UTC)
{{Passive skill box}} doesn't store any data, it queries it from the data page. We can't modify specific rows from other pages with cargo --OmegaK2 (t|c) 08:34, 6 June 2019 (UTC)
No, but you can join the tables together. When {{Passive skill box}} creates the infobox it has gotten the passive skill ids, so then it can store them in the cargo table main_pages. Then {{Passive skill link}} simply joins passive_skills and main_pages together via the id to get correct main page link. --Illviljan (talk) 19:30, 6 June 2019 (UTC)
Implemented this method. Looks like it's linking to the right pages, but I haven't checked every combination. Let us know if there's something wrong. --Illviljan (talk) 10:00, 29 June 2019 (UTC)