The Triforce is a fictional artifact in The Legend of Zelda, made of three identical-looking equilateral triangles representing power, wisdom and courage. Several games in the saga include an animation when the three parts finally join together.
The purpose of this challenge is to draw a single 2D frame of such a simplified animation, with a given width for the triangles and a given spacing between the parts.
The input consists of two integers: a width \$w\ge1\$ and a spacing value \$s\ge0\$.
The frame has to be drawn according to the following specifications:
/\ / \____________ this part is horizontally centered / \ /______\ \___ s empty lines / /\ /\ / \ / \______ w+1 backslashes / \ / \ /______\ /______\ \_______ 2w underscores |__| \_____________ 2s spaces
In the above example, we have \$w=3\$ and \$s=2\$.
/\ /__\ /\ /\ /__\/__\
/\ / \ /____\ /\ /\ / \ / \ /____\/____\
/\ / \ / \ /______\ /\ /\ / \ / \ / \ / \ /______\ /______\
/\ / \ / \ / \ /________\ /\ /\ / \ / \ / \ / \ / \ / \ /________\ /________\
- Trailing spaces on each line are optional.
- Extra leading spaces on each line are not allowed.
- You may output a single extra leading newline and/or a single extra trailing newline.
- This is code-golf.