Jump to content

Template:MissingFilesHelp/doc

From SPS Wiki

Missing Files Template

[edit source]

Purpose: This template displays a notice for missing files on a wiki page, it is typically used on pages where images or other media are missing, prompting editors to contribute by uploading the required files.

The notice features a bordered, colored box with a table layout containing an icon on the left and the message text on the right.

Optionally, it has parameters to edit the contents and icons of the notiece to best fit the wiki page it is being used in.

Example

[edit source]

Genders

[edit source]
{{MissingFilesHelp
 |gender=male
}}

Will render a notice with:

Missing files icon
Missing Files!
Some files for this section are missing. You can help improve the wiki by uploading the missing files!



{{MissingFilesHelp
 |g=female
}}

Will render a notice with:

Missing files icon
Missing Files!
Some files for this section are missing. You can help improve the wiki by uploading the missing files!


Using custom icons, title and text

[edit source]
{{MissingFilesHelp
 |title=Character Images Missing
 |t=We are missing some images for this character. Please help by uploading them!
 |i=crab.png
}}

This will render a notice with:

Missing files icon
Character Images Missing
We are missing some images for this character. Please help by uploading them!


  • The custom icon (if provided) or the default icon based on gender.
  • A bold title ("Character Images Missing").
  • A description message ("We are missing some images...").

Parameters

[edit source]
Parameter Type Description Default Aliases
gender string Determines which default image is shown: "female" for Crush Crush wiki pages (Q-Piddy icon), "male" for Blush Blush wiki pages (Chibi Nimh icon), or "bean" for the detective job icon (used for event- or system-related pages). bean g
text string Overrides the default notice text. If unset, the default text "Some files for this section are missing. You can help improve the wiki by uploading the missing files!" will be shown. Default text as above t
icon wiki-file-name Overrides the icon shown next to the notice. This takes precedence over the gender parameter. Depends on gender i
title string Overrides the title displayed in the notice. Defaults to "Missing Files!" Missing Files! —

Usage Notes

[edit source]
  • If both icon and gender are set, the icon parameter takes priority.
  • Titles should remain relevant to the context of missing files.

Icon Suggestion

[edit source]

You can use whatever icon you prefer, but some suggestions are:

Crush Crush Blush Blush Beans Misc

See also

[edit source]