Template:MissingFilesHelp
|
Missing Files!
Some files for this section are missing. You can help improve the wiki by uploading the missing files!
|
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!
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!
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:
|
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]- wp:Help:Templates – general documentation for creating and using templates in MediaWiki.
- wp:Help:Files#Uploading files – information on uploading missing files to the wiki.
No description.
| Parameter | Description | Type | Status | |
|---|---|---|---|---|
| gender | gender g | Determines which image is shown: use "female" for Crush Crush wiki pages, "male" for Blush Blush wiki pages, or "bean" to use the detective job icon for event- or system-related pages. Defaults to "bean" if not set.
| String | optional |
| text | text t | Overrides the default message text with whatever is written here. If unset, the default text will be shown. | String | optional |
| icon | icon i | Overrides the icon shown next to the notice with any image you specify. This parameter takes precedence over the "gender" parameter. | File | optional |
| title | title | Overrides the title shown on the notice. Try to keep titles related to the purpose of this template. If unset, it defaults to "Missing Files." | String | optional |



