Template talk:Passive skill link: Difference between revisions
Jump to navigation
Jump to search
>OmegaK2 No edit summary |
>Illviljan No edit summary |
||
Line 5: | Line 5: | ||
:::: 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 {{tlx|Passive skill box}} would store to? This would remove the need to also find the technical page(s) and edit those. --[[User:Illviljan|Illviljan]] ([[User talk:Illviljan|talk]]) 07:34, 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 {{tlx|Passive skill box}} would store to? This would remove the need to also find the technical page(s) and edit those. --[[User:Illviljan|Illviljan]] ([[User talk:Illviljan|talk]]) 07:34, 6 June 2019 (UTC) | ||
::::: {{tlx|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 --[[User:OmegaK2|OmegaK2]] ([[User_talk:OmegaK2|t]]|[[Special:Contributions/OmegaK2|c]]) 08:34, 6 June 2019 (UTC) | ::::: {{tlx|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 --[[User:OmegaK2|OmegaK2]] ([[User_talk:OmegaK2|t]]|[[Special:Contributions/OmegaK2|c]]) 08:34, 6 June 2019 (UTC) | ||
:::::: No, but you can join the tables together. When {{tlx|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 {{tlx|Passive skill link}} simply joins ''passive_skills'' and ''main_pages'' together via the id to get correct main page link. --[[User:Illviljan|Illviljan]] ([[User talk:Illviljan|talk]]) 19:30, 6 June 2019 (UTC) |
Revision as of 19:31, 6 June 2019
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)
- No, but you can join the tables together. When
- 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
- 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)
- 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)