FANDOM


Status is a script that allows users to check the status of a user on either their profile or by use of a certain element.

Display status within page

One can add the status of a user by adding the following: <span data-user-status="USERNAME">placeholder text</span>

USERNAME would be replaced with the intended user whose status is being checked. placeholder text would be replaced with some sort of error message or notice that the script didn't run. It's recommended that the above code be put into a template for easier use.


importArticles({
    type: 'script',
    articles: [
        'u:dev:MediaWiki:Status.js',
    ]
});
dev:Status.js