Template talk:SAI: Difference between revisions

From bg3.wiki
Jump to navigation Jump to search
(→‎Resistance: new section)
 
Line 14: Line 14:


I'm in no position to make the call. [[User:Doru|Doru]] ([[User talk:Doru|talk]]) 16:31, 4 October 2023 (CEST)
I'm in no position to make the call. [[User:Doru|Doru]] ([[User talk:Doru|talk]]) 16:31, 4 October 2023 (CEST)
:You can just use <code><nowiki>{{SAI|Resistance (Cantrip)|Resistance}}</nowiki></code> {{SAI|Resistance (Cantrip)|Resistance}} - [[User:HINK|HINK]] ([[User talk:HINK|talk]]) 16:38, 4 October 2023 (CEST)

Latest revision as of 15:38, 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)Reply[reply]

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)Reply[reply]
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)Reply[reply]
Fixed the gap -HINK (talk) 22:28, 23 September 2023 (CEST)Reply[reply]
Still there I think. The text is correct now but some container is still too tall.--HiddenDragon (talk) 23:53, 23 September 2023 (CEST)Reply[reply]

Resistance[edit source]

{{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)Reply[reply]

You can just use {{SAI|Resistance (Cantrip)|Resistance}} Resistance Resistance - HINK (talk) 16:38, 4 October 2023 (CEST)Reply[reply]