Template:SAI: Difference between revisions
Jump to navigation
Jump to search
(Fix sizing) |
No edit summary |
||
Line 27: | Line 27: | ||
|} | |} | ||
But as for conditions, not all conditions are supported this way. | But as for conditions, not all conditions are supported this way. If the link name contains {{InfoBlob|:}}, {{InfoBlob|/}}, {{InfoBlob|(}} or {{InfoBlob|)}}, they will be removed in the file-link. | ||
Can have alternative link text: {{InfoBlob|<nowiki>{{SAI|Power Word Kill|Alias Link|w=34}}</nowiki>}} | Can have alternative link text: {{InfoBlob|<nowiki>{{SAI|Power Word Kill|Alias Link|w=34}}</nowiki>}} |
Revision as of 10:42, 24 September 2023
A universal link template for Spells and Abilities. Once all Ability Icons get converted to Ability_Icon.webp it will be complete.
Works for spells:
{{SAI|Magic Missile}} |
{{SAI|Enlarge/Reduce}}
|
And abilities:
{{SAI|Frenzy}} |
{{SAI|Guided Strike}} |
{{SAI|Acolyte of Nature}} |
{{SAI|Rage: Bear Heart}} |
{{SAI|Metamagic: Twinned Spell}} |
{{SAI|Bardic Inspiration (Condition)}}
|
But as for conditions, not all conditions are supported this way. If the link name contains :, /, ( or ), they will be removed in the file-link.
Can have alternative link text: {{SAI|Power Word Kill|Alias Link|w=34}}
Inline example
Lorem ipsum dolor sit amet, consectetur
elit. Sed porta ornare ipsum nec hendrerit. Etiam tempus placerat dui, nec ornare neque tempus sit amet. Integer convallis erat eget sollicitudin mattis. Integer vehicula consectetur risus, eu suscipit lacus faucibus a. Aliquam tempor sagittis dignissim. Vestibulum sed faucibus nibh. Donec in pharetra ex. Suspendisse potenti.Template parameters
Inserts a link for a spell or ability.
Parameter | Description | Type | Status | |
---|---|---|---|---|
1 | 1 | Name of the ability | Unknown | required |
2 | 2 | (optional) Alias for the link text | Unknown | optional |
w | w | (optional) Icon width. Defaults to 24 | Number | optional |
h | h | (optional) Icon height | Number | optional |
size | size | (optional) The size of the icon. This is equivalent to the "w" parameter. Defaults to 24. | Unknown | optional |
block | block | no description | Unknown | optional |
gap | gap | no description | Unknown | optional |