Use Prism to create a three-sided prism with independently segmented sides.
Create panel >
(Geometry) > Extended Primitives > Object Type rollout > Prism button
Example of a prism
To create a prism with an isosceles triangle as its base:
Choose Isosceles on the Creation Method rollout.
Drag horizontally in the viewport to define the length of Side 1 (along the X axis). Drag vertically to define the length of Sides 2 and 3 (along the Y axis).
(To constrain the base to an equilateral triangle, press Ctrl before performing this step.)
Release the mouse, and move it vertically to define the height of the prism.
Click to complete the prism.
On the Parameters rollout, alter the length of the sides as needed.
To create a prism with a scalene or obtuse triangle at its base:
Draws a prism with an isosceles triangle at its base.
Draws a prism with a scalene or obtuse triangle at its base.

Sets the length of triangle's corresponding side (and thus the triangle's corner angles).
Sets the dimension of the prism's central axis.
Specifies the number of segments for each side of the prism.
Sets the number of divisions along the prism's central axis.
Sets up the required coordinates for applying mapped materials to the prism. Default=off.