Template:File
Note: parts of or the entire template might not be visible without values provided.
| Main | Documentation | Usage |
Template to make it easier to fill files with categories, sources and characters.
Syntax
{{File
|categories =
|featuring =
|characters =
|soundtracks =
|caption =
|sourcelink1 =
|sourcelabel1 =
|sourcelink2 =
|sourcelabel2 =
|sourcelink3 =
|sourcelabel3 =
|artistlink =
|artist =
|lang =
|date =
|gallery =
|description =
|transcription =
|alt =
|annotations =
}}
- featuring — To be used only on videos distinctly about a character. A colon-separated list of page names for things featured in a video, which will appear as a sentence underneath the video thumbnail in {{Videos by Category Table}}. If character pages are added here, this does not replace their mention in characters, which should list them all the same.
- If manual phrasing and linking is preferred, for cases where everything might not have a page, append _ManualPhrasing: in front of the content.
- Usage of this param is not generalized as the focus of many media types can be unclear. Additions to the list must first be discussed with other editors.
- characters — An exhaustive colon-separated list of characters seen or heard in the file.
- soundtracks — A colon-separated list of soundtracks featured in a video, in order of appearance. Displays the list as links and adds categories accordingly, to be detected and/or displayed by {{Videos by Category Table}}, {{Files by Category Gallery}} and {{Soundtrack Usage}}. Special keywords are to be used for unreleased soundtracks:
- _unreleased if the soundtrack is unreleased and its name is unknown.
- _variant if the soundtrack is an unreleased arrangement of a released soundtrack, such as a concert version, a remix or a variant with additional instruments. The related soundtrack's name is to be specified after a space after using this keyword, for example _variant Her Legacy.
- sources — The first source will be displayed in pages using {{Phantom File Gallery}}, while any subsequent sources after that will only be visible on the file's page.
- The sources are formatted using numbered sourcelink and sourcelabel parameters.
- The labels should be formatted as such: Official Twitter Post, Official HoYoLAB Post, Official Honkai: Nexus Anima Japanese Twitter, etc.
- date — The date refers to the date of publication or release. It is used to sort the file within Category:Files by Date as well as assign a relevant year's category.
- Adding a source without adding a date will place the file in Category:Files Missing Date.
- version may be used instead of date if the date is the start of a version. Uses {{Version to Date}}.
- artist — This should link to the artist's social media.
- {{File|lang = language code}} can be used to specify the language of the text.
- Adding the name of the artist without adding an artistlink will place the file in Category:Files Missing Artist Link so that it can be researched later.
- caption — This text will replace the default caption (which is based on the file name) which would appear in pages using {{Phantom File Gallery}}. The template {{No Selflink}} can be used to create elegant captions that look good in multiple galleries across the site.
- description — The description of the file will not be placed within the table. This should reflect the official description from when the file was posted on Honkai: Nexus Anima media and can be displayed on pages with {{Artwork by Category Table}}. {{Lang|vertical = 1}} can be used to add descriptions from other languages. For YouTube videos, should contain only the actual description and featured VAs and characters lists, but should omit the list of Honkai: Nexus Anima social media appended on every video upload.
- alt — See WebAIM for a guide to writing alt text.
- annotations — Transcludes the page with the identical name (without .png extension) from the Map namespace under a Translated Annotations section when set to 1.
Examples
|categories = Character Splash Arts
|characters = Kiana
|date = 2025-08-29
}}
yields:
| Category | |
|---|---|
| Character | Template:Characters in File |
| Date | August 29, 2025 (Before the game's release) |
Template Data
Template to make it easier to fill files with categories, sources and characters.
| Parameter | Description | Type | Status | |
|---|---|---|---|---|
| Category | categories 1 | List of categories separated by ; | String | required |
| Characters | characters | List of characters separated by ; | String | suggested |
| Soundtracks | soundtracks | For videos, a colon-separated list of the soundtracks used, in featuring order.
| String | optional |
| Source Link 1 | sourcelink1 sourcelink slink slink1 | no description | URL | suggested |
| Source Label 1 | sourcelabel1 sourcelabel slabel slabel1 | Label for Source Link 1
| String | suggested |
| Source Link 2 | sourcelink2 slink2 | no description | URL | optional |
| Source Label 2 | sourcelabel2 slabel2 | Label for Source Link 2 | String | optional |
| Source Link 3 | sourcelink3 slink3 | no description | URL | optional |
| Source Label 3 | sourcelabel3 slabel3 | Label for Source Link 3 | String | optional |
| Artist Link | artistlink | Link to the artist's page. | URL | suggested |
| Artist | artist | Name of the artist. | String | suggested |
| Artist's Name language | lang | Applies "lang" in the cell for the name of the artist.
| String | suggested |
| Date | date | use format YYYY-MM-DD. Allows sorting by date. Refers to the publishing date (in case of images from social media) or release date (in case of assets of characters or npcs). | Date | suggested |
| Gallery | gallery | Name(s) of page galleries which the file should be included in.
| String | suggested |
| Caption | caption | Caption of file to describe the file. | String | suggested |
| Description | description | Transcribed description from original source. | String | optional |
| transcription | transcription | Transcript of text in file, where applicable/not already given. | String | optional |
| alt | alt | Alt text for accessibility. | String | optional |
| Version | version | Alternative to the date parameter for when the date is on a Version's release
| String | optional |
| Annotations | annotations | Transcludes the page with the identical name (without .png extension) from the Map namespace under a Translated Annotations section when set to 1. | Boolean | optional |