Board Thread:Support Requests - Getting Technical/@comment-24553580-20190916180029/@comment-27958705-20190916214814

simpler(?) option: place all content in the template, add to each piece of the content some class (lets "myclass").

with this approach, your js will be much simpler: you will need just select (randomly or by some rules) one piece of content (1 element with the "myclass" class), then hide other elements.

if you can do something like this with wikitext, it would be better: ~ half of readers uses mobile browsers.