Template talk:SAI: Difference between revisions
Jump to navigation
Jump to search
HiddenDragon (talk | contribs) No edit summary |
(→Resistance: new section) |
||
Line 4: | Line 4: | ||
:::Fixed the gap -[[User:HINK|HINK]] ([[User talk:HINK|talk]]) 22:28, 23 September 2023 (CEST) | :::Fixed the gap -[[User:HINK|HINK]] ([[User talk:HINK|talk]]) 22:28, 23 September 2023 (CEST) | ||
::::Still there I think. The text is correct now but some container is still too tall.--[[User:HiddenDragon|HiddenDragon]] ([[User talk:HiddenDragon|talk]]) 23:53, 23 September 2023 (CEST) | ::::Still there I think. The text is correct now but some container is still too tall.--[[User:HiddenDragon|HiddenDragon]] ([[User talk:HiddenDragon|talk]]) 23:53, 23 September 2023 (CEST) | ||
== Resistance == | |||
<code><nowiki>{{SAI|Resistance}}</nowiki></code> must be disambiguated to [[Resistance (Cantrip)]]. Could be done by: | |||
* adding a link parameter and updating template usage | |||
* updating the current [[Resistance]] redirect to point to the cantrip instead (doesn't seem ideal) | |||
* special-casing the resistance spell in this page (ideal, although might make the source messier) | |||
* or maybe updating the resistance icon's filename to include the (Cantrip) specifier and updating usage to be <code><nowiki>{{SAI|Resistance (Cantrip)}}</nowiki></code>. | |||
I'm in no position to make the call. [[User:Doru|Doru]] ([[User talk:Doru|talk]]) 16:31, 4 October 2023 (CEST) |
Revision as of 15:31, 4 October 2023
Good stuff! I've already started using it on Barbarian. Can I suggest matching the size/w/h parameters matching the same as on Template:IconLink? This will leave the default width at 40px (so I can drop in replace the previous template), and then we can either make a small icon template (similar to Template:SmIconLink) or use w=24 when needed for inline purposes. --HiddenDragon (talk) 17:47, 22 September 2023 (CEST)
- This template was made for in-line use, it must be defaulted to 24px. But you can add |w=40 whenever you need it. - HINK (talk) 18:26, 22 September 2023 (CEST)
- Ok, I'll use that for now. On a side note, I am noticing the text line height is still around 40px so using it inline can leave some gaps --HiddenDragon (talk) 22:12, 23 September 2023 (CEST)
- Fixed the gap -HINK (talk) 22:28, 23 September 2023 (CEST)
- Still there I think. The text is correct now but some container is still too tall.--HiddenDragon (talk) 23:53, 23 September 2023 (CEST)
- Fixed the gap -HINK (talk) 22:28, 23 September 2023 (CEST)
- Ok, I'll use that for now. On a side note, I am noticing the text line height is still around 40px so using it inline can leave some gaps --HiddenDragon (talk) 22:12, 23 September 2023 (CEST)
Resistance
{{SAI|Resistance}}
must be disambiguated to Resistance (Cantrip). Could be done by:
- adding a link parameter and updating template usage
- updating the current Resistance redirect to point to the cantrip instead (doesn't seem ideal)
- special-casing the resistance spell in this page (ideal, although might make the source messier)
- or maybe updating the resistance icon's filename to include the (Cantrip) specifier and updating usage to be
{{SAI|Resistance (Cantrip)}}
.
I'm in no position to make the call. Doru (talk) 16:31, 4 October 2023 (CEST)