m (subst template then removed categories) |
m (update to new param names) |
||
Line 5: | Line 5: | ||
With comments: | With comments: | ||
<pre><nowiki>{{Infobox image | <pre><nowiki>{{Infobox image | ||
| | |Game = | ||
|Type = <!--choose one of: screenshot, map, character, gamefile, art, other--> | |Type = <!--choose one of: screenshot, map, character, gamefile, art, other--> | ||
|EditType = <!--use any of: annotated, clarity, layout, recreation--> | |EditType = <!--use any of: annotated, clarity, layout, recreation--> | ||
|Edits = <!--Explain edits here, if necessary--> | |Edits = <!--Explain edits here, if necessary--> | ||
| | |VersionRemoved = <!--if old content, whhen was it removed?--> | ||
|Unused = <!--set to "true" if the thing was never even used--> | |Unused = <!--set to "true" if the thing was never even used--> | ||
|GameFileType = <!--use any of: ChipSet, CharSet, Panorama, Picture--> | |GameFileType = <!--use any of: ChipSet, CharSet, Panorama, Picture--> | ||
Line 16: | Line 16: | ||
Without comments: | Without comments: | ||
<pre><nowiki>{{Infobox image | <pre><nowiki>{{Infobox image | ||
| | |Game = | ||
|Type = | |Type = | ||
|EditType = | |EditType = | ||
|Edits = | |Edits = | ||
| | |VersionRemoved = | ||
|Unused = | |Unused = | ||
|GameFileType = | |GameFileType = | ||
Line 75: | Line 75: | ||
==Parameters== | ==Parameters== | ||
<templatedata> {"description": "The template parameters are unfinished and need updating.","params": { | <templatedata> {"description": "The template parameters are unfinished and need updating.","params": { | ||
" | "Game": { | ||
"label": "Intended Game/ | "label": "Intended Game/Topic", | ||
"type": "string", | "type": "string", | ||
"description": " | "description": "The name of the game the image is from or about. Use the name exactly as it is written for the YumeWiki namespace, or as the page name (English text only).", | ||
"example": " | "example": "Dotflow", | ||
"required": true | "required": true | ||
}, | }, | ||
Line 98: | Line 97: | ||
"default": "false" | "default": "false" | ||
}, | }, | ||
" | "VersionRemoved": { | ||
"label": " | "label": "Version Removed", | ||
"type": "string", | "type": "string", | ||
"description": "If the image showcases something from an older game version, provide the | "description": "If the image showcases something from an older game version, provide the version in which it was made unavailable.", | ||
"example": "0.112a" | "example": "0.112a" | ||
}, | }, | ||
Line 133: | Line 132: | ||
}, | }, | ||
"paramOrder": [ | "paramOrder": [ | ||
" | "Game", | ||
"Type", | "Type", | ||
"EditType", | "EditType", | ||
"Edits", | "Edits", | ||
"Unused", | "Unused", | ||
" | "VersionRemoved", | ||
"GameFileName", | "GameFileName", | ||
"GameFileType" | "GameFileType" | ||
Line 152: | Line 151: | ||
The following input... | The following input... | ||
<pre><nowiki>{{Infobox image | <pre><nowiki>{{Infobox image | ||
| | |Game = Yume Nikki | ||
|Type = screenshot | |Type = screenshot | ||
|EditType = | |EditType = | ||
|Edits = | |Edits = | ||
| | |VersionRemoved = | ||
|Unused = | |Unused = | ||
|GameFileType = | |GameFileType = | ||
Line 168: | Line 167: | ||
! style="width:50.5%;"| | ! style="width:50.5%;"| | ||
|- | |- | ||
|Game | |||
|[[:Category:Yume Nikki Images|Yume Nikki]] | |||
|- | |- | ||
|Type | |Type | ||
|[[:Category:Yume Nikki Screenshots|In-game Screenshot]] | |||
|} | |} | ||
<noinclude>__NOTOC__ [[Category:Template Documentation]]</noinclude> | <noinclude>__NOTOC__ [[Category:Template Documentation]]</noinclude> | ||
<includeonly>__NOEDITSECTION__</includeonly> | <includeonly>__NOEDITSECTION__</includeonly> |
Revision as of 01:30, 3 September 2023
Description
Showcases information of images in the File namespace and categorizes the file pages based on provided info.
Syntax
With comments:
{{Infobox image |Game = |Type = <!--choose one of: screenshot, map, character, gamefile, art, other--> |EditType = <!--use any of: annotated, clarity, layout, recreation--> |Edits = <!--Explain edits here, if necessary--> |VersionRemoved = <!--if old content, whhen was it removed?--> |Unused = <!--set to "true" if the thing was never even used--> |GameFileType = <!--use any of: ChipSet, CharSet, Panorama, Picture--> |GameFileName = <!--if a file from the game's folder, what is it actually named?--> }}
Without comments:
{{Infobox image |Game = |Type = |EditType = |Edits = |VersionRemoved = |Unused = |GameFileType = |GameFileName = }}
Usage
The purpose of this template is to automatically categorize image files on the wiki. This allows the category names to be changed more easily in the future, or for the structure to be made more specific or general depending on needs. Instead of changing every file page with a command, the template can be changed to use different category names. It is also more visually appealing and intuitive to visitors of the file page.
Type | Category | If Unused | If Old Version | |
---|---|---|---|---|
Screenshot | % Screenshots | % Old Version Screenshots | ||
Map | % Maps | % Unused Maps | % Old Version Maps | |
Character | % Character Images | % Unused Character Images | % Old Version Character Images | |
Gamefile | % Game Files | % Unused Game Files | % Old Version Game Files | |
Special Cases | ||||
Art | % Official Art | If EditType includes "recreation": % Art | ||
Other | Always: % Other Images |
Parameters
The template parameters are unfinished and need updating.
Parameter | Description | Type | Status | |
---|---|---|---|---|
Intended Game/Topic | Game | The name of the game the image is from or about. Use the name exactly as it is written for the YumeWiki namespace, or as the page name (English text only).
| String | required |
Image Type | Type | Explanation
| String | required |
Edit Type | EditType | Explanation
| String | optional |
Fancy_Name | Edits | If the image is edited in any way, please explain how it is edited and why the edits were made.
| Content | suggested |
Unused Image | Unused | If the image is completely unused in every game version.
| Boolean | optional |
Version Removed | VersionRemoved | If the image showcases something from an older game version, provide the version in which it was made unavailable.
| String | optional |
Name in Game Files | GameFileName | If Type is 'gamefile', provide the original filename as read from the game files of the original-language game copy.
| String | optional |
Game Folder | GameFileType | If Type is 'gamefile', provide the folder the game file is found in.
| String | optional |
Sample
If you had this image:
The following input...
{{Infobox image |Game = Yume Nikki |Type = screenshot |EditType = |Edits = |VersionRemoved = |Unused = |GameFileType = |GameFileName = }}
...would present this:
Game | Yume Nikki |
Type | In-game Screenshot |