FANDOM


404ErrorImage adds an "error image" to any page that has not been created on a wiki.

Note: only works with articles. There may eventually be one for Special: pages that don't exist, however.

This script works well with a customized version of MediaWiki:Noarticletext, but note: on the CSS, the height: attribute FORCES a height for the div. This is necessary for the div to work correctly with Darwin; but also, keep in mind that your div needs to stay that width, so in the MW page, don't place anything too terribly large or obnoxious.

Code

#mw-content-text .noarticletext {
    border: 1px solid #403f3f;
    padding: 0 13px;
    background-image: url('404 IMAGE URL');
    height: (/* height of your image, in px; % is just gonna laugh at you */);
    color: (/* fill in this with whatever color works well with the image */)!important;
}

Ad blocker interference detected!


Wikia is a free-to-use site that makes money from advertising. We have a modified experience for viewers using ad blockers

Wikia is not accessible if you’ve made further modifications. Remove the custom ad blocker rule(s) and the page will load as expected.