Latest revision |
Your text |
Line 64: |
Line 64: |
| There is a problem with this link - It only affects the spell that is displayed in the table on the left but it doesn't affect the article text. For example (possibly the ONLY example), on the page of Adrienne the Witch: [[Adrienne]]. You can see that the link to the inferno spell works fine on the table to the left but the text on the article itself says "starts with a spell book and the spell Inferno" and the link to "inferno" is incorrect there. I don't know how to fix this. --[[Special:Contributions/141.226.14.115|141.226.14.115]] 06:49, 24 November 2023 (UTC) | | There is a problem with this link - It only affects the spell that is displayed in the table on the left but it doesn't affect the article text. For example (possibly the ONLY example), on the page of Adrienne the Witch: [[Adrienne]]. You can see that the link to the inferno spell works fine on the table to the left but the text on the article itself says "starts with a spell book and the spell Inferno" and the link to "inferno" is incorrect there. I don't know how to fix this. --[[Special:Contributions/141.226.14.115|141.226.14.115]] 06:49, 24 November 2023 (UTC) |
| : :) [[File:Hero Stormblessed small.gif|→ima|link=user:imahero]] 18:26, 24 November 2023 (UTC) | | : :) [[File:Hero Stormblessed small.gif|→ima|link=user:imahero]] 18:26, 24 November 2023 (UTC) |
| Thank you for fixing the problem, Imahero. --[[Special:Contributions/141.226.162.200|141.226.162.200]] 02:31, 1 December 2023 (UTC)
| |
|
| |
| == HotA creature images ==
| |
|
| |
| Could we add an option to use the HotA versions of creature portraits in the troops section? I'm not educated enough on templates to add this parameter, but I'd imagine it as something like ''' | troop_1_img= HotA''' [[File:Hero Cosmos small.gif|link=user:phasma|→ Phasma]] 18:57, 8 May 2024 (UTC)
| |
| * What would be the ideal case? is it that {{tl|Cn}} always displays the hota picture if there is one (I think most of the creature pics go through there)? Or is it that you can specify in various templates (e.g. <nowiki>{{Cn|Pikeman|pic=hota}}</nowiki> --[[User:Legate|Legate]] ([[User talk:Legate|talk]]) 17:30, 8 May 2024 (UTC)
| |
| ** We only really need a solution for this on this template as it is coded a bit differently. With the Cn template, we can use the '''image=''' parameter, but that doesn't work in the Hero template - it isn't coded in and wouldn't make sense since there can be up to 7 creatures. I can type, for example '''Faerie Dragon (HotA)''' in one of the creature slots, but it will display '''Faerie Dragon (HotA)''' (with a red link but the correct image) and not just '''Faerie Dragon'''. I believe the solution is to either:
| |
| *** (a) add a parameter that can be used per-slot like ''' | troop_1_img= HotA''';<p>
| |
| *** (b) add a parameter that can be used per-slot like ''' | troop_1_name= Faerie Dragon'''. [[File:Hero Cosmos small.gif|link=user:phasma|→ Phasma]] 18:57, 8 May 2024 (UTC)
| |
| * Should be all set. Use "troop_#_img" with the image name you want (See the pikeman example for Adelaide on this page). --[[User:Legate|Legate]] ([[User talk:Legate|talk]]) 19:12, 8 May 2024 (UTC)
| |
| ** NOTE: I didn't do anything atm with the options to have alternate hota creatures...the coding seems a little janky and I am not 100% sure what the use case is. Let me know if you need/want them. --[[User:Legate|Legate]] ([[User talk:Legate|talk]]) 19:12, 8 May 2024 (UTC)
| |
| * Wonderful! Thank you for adding this, it should be all we need! [[File:Hero Cosmos small.gif|link=user:phasma|→ Phasma]] 19:34, 8 May 2024 (UTC)
| |