{% macro mode (index, name, mode, image, description, forVR) %} {% set id = name + (forVR and 'vr' or '2d') %} {% endmacro %} {{ mode(0, 'ride', 'ride', '#modeRideImg', 'Relax and enjoy the ride.', false) }} {{ mode(1, 'viewer', 'classic', '#modeViewerImg', 'View the beat map.\n\nConnect a VR headset\nwith controllers\nto experience\nmore modes!', false) }} {{ mode(0, 'punch', 'punch', '#modePunchImg', 'Punch the beats, mind\ncolor.\n\nAvoid all things yellow.\n\nPunch harder\n for better score.', true) }} {{ mode(1, 'ride', 'ride', '#modeRideImg', 'Relax and enjoy the ride.\n\nTake a quick breather.\n\nNo score!', true) }} {{ mode(2, 'classic', 'classic', '#modeClassicImg', 'Cut the beats, mind\ncolor and direction.\n\nAvoid all things yellow.\n\nSwing fast and accurate\nfor better score.', true) }}