Module:RandomArticle/doc

Description
Module used to display random articles in Main Page.

This module uses Template:Infocard (desktop version) and Template:Infocard/mobile (mobile version) to display its output.

How it Works
There's a list of pages at the top of the module that needs to be manually added. Any user can add pages to this list, as long as the pages added are up to date and with a decent amount of information.

The module will then randomly pick one of these pages each time the page is loaded. Having picked a page, the module will then load its content and find an image and a description in it automatically. This info will then be displayed in an infocard at the front page.

Adding entries to the list
Add entries in the right place (separated by bands, groups and soloists) with the following syntax: ArtistInsert("link","name","image", [=[descrition]=])

Default
ArtistInsert("PAGENAME","","", [=[]=])

Custom Name
ArtistInsert("PAGENAME","Custom Name","", [=[]=])

Custom Image
ArtistInsert("PAGENAME","","image.png", [=[]=])

Custom Description
ArtistInsert("PAGENAME","","", [=[The automated description is bad so here's my custom one]=])