(Assuming the character name is 'Barsoon' as depicted in your image above): Create the 'Rage Wild Surge' Trait on Barsoon with this: The magical energy roiling inside you sometimes erupts from you. When you enter your rage, roll on the Wild Magic table to determine the magical effect produced.
If the effect requires a saving throw, the DC equals 8 + your proficiency bonus + your Constitution modifier.
[Surge Roll](~Barsoon|SurgeResult) = [[1d8]] Edit: I missed that you were using a custom Ability to make the initial Rage Wild Surge Roll. Replace it with this: Surge &{template:atk}{{rname=[Surge Roll](~Barsoon|SurgeResult" style="background-color: transparent; color: blue; text-decoration: none;)}}{{r1=[[d8]]}}{{charname=Barsoon}}{{normal=1}} Create 9 more Abilities on Barsoon: SurgeResult &{template:desc} {{desc=?{Surge result?|1,%{Barsoon|Surge1}|2,%{Barsoon|Surge2}|3,%{Barsoon|Surge3}|4,%{Barsoon|Surge4}|5,%{Barsoon|Surge5}|6,%{Barsoon|Surge6}|7,%{Barsoon|Surge7}|8,%{Barsoon|Surge8}}}} Surge1 Shadowy tendrils lash around you. Each creature of your choice that you can see within 30 feet of you must succeed on a Constitution saving throw or take 1d12 necrotic damage. You also gain 1d12 temporary hit points. Surge2 You teleport up to 30 feet to an unoccupied space you can see. Until your rage ends, you can use this effect again on each of your turns as a bonus action. Surge3 An intangible spirit, which looks like a flumph or a pixie (your choice), appears within 5 feet of one creature of your choice that you can see within 30 feet of you. At the end of the current turn, the spirit explodes, and each creature within 5 feet of it must succeed on a Dexterity saving throw or take 1d6 force damage. Until your rage ends, you can use this effect again, summoning another spirit, on each of your turns as a bonus action. Surge4 Magic infuses one weapon of your choice that you are holding. Until your rage ends, the weapon’s damage type changes to force, and it gains the light and thrown properties, with a normal range of 20 feet and a long range of 60 feet. If the weapon leaves your hand, the weapon reappears in your hand at the end of the current turn. Surge5 Whenever a creature hits you with an attack roll before your rage ends, that creature takes 1d6 force damage, as magic lashes out in retribution. Surge6 Until your rage ends, you are surrounded by multicolored, protective lights; you gain a +1 bonus to AC, and while within 10 feet of you, your allies gain the same bonus. Surge7 Flowers and vines temporarily grow around you; until your rage ends, the ground within 15 feet of you is difficult terrain for your enemies. Surge8 A bolt of light shoots from your chest. Another creature of your choice that you can see within 30 feet of you must succeed on a Constitution saving throw or take 1d6 radiant damage and be blinded until the start of your next turn. Until your rage ends, you can use this effect again on each of your turns as a bonus action. If you don't like the appearance of the button that shows up with the Rage Wild Surge output, you can format it with HTML Style Injection : The magical energy roiling inside you sometimes erupts from you. When you enter your rage, roll on the Wild Magic table to determine the magical effect produced.
If the effect requires a saving throw, the DC equals 8 + your proficiency bonus + your Constitution modifier.
[Surge Roll](~Barsoon|SurgeResult" style="background-color: transparent; color: blue; text-decoration: none;) = [[1d8]] And here's what the output will look like. (Edited to add , replacements in each of the Surge# Abilities.) The blue 'Surge Roll' text is a button that will output the result with a query (you'd have to select #5 from the query dropdown):