Template:Files by Character Gallery: Difference between revisions
Taken from ZZZ, which is clearly taken from Genshin (Last time I checked Aether, Lumine and "Traveler" haven't appeared in ZZZ.... yet |
remove traveler conditionals |
||
| Line 3: | Line 3: | ||
|category = Files by Date | |category = Files by Date | ||
|category = {{{1|}}} | |category = {{{1|}}} | ||
|category = | |category = {{{character|{{ROOTPAGENAME}}}}} Images¦{{{character|{{ROOTPAGENAME}}}}} GIFs¦{{{character|{{ROOTPAGENAME}}}}} Audio¦{{{character|{{ROOTPAGENAME}}}}} OGV Videos¦{{{character|{{ROOTPAGENAME}}}}} Videos | ||
|notcategory = {{#if:{{{fanart|}}}||Art Contest Winners}} | |notcategory = {{#if:{{{fanart|}}}||Art Contest Winners}} | ||
|notcategorymatch = {{{not1|}}} | |notcategorymatch = {{{not1|}}} | ||
Latest revision as of 08:28, 1 September 2025
Note: parts of or the entire template might not be visible without values provided.
| Main | Documentation | Usage |
Gallery for Category:Images by Character and Category:Videos by Character based on data in {{File}}.
Uses {{Phantom File Gallery}}.
Syntax
{{Files by Character Gallery
|category(s)
|character = character name
|showHeader = 1 for header
|header = custom header text
}}
Examples
-
Foalhardy Anidex Introduction
Official Twitter Post
-
Honkai: Nexus Anima Teaser Trailer
-
Evolution Teaser: "Until We Meet Again"
Official YouTube Video
{{Files by Character Gallery|Offical Media|character = Nanafey|showHeader = 1}} yields:
Nanafey does not have any image for the matching category.
Template Data
Gallery for Category:Images by Character.
| Parameter | Description | Type | Status | |
|---|---|---|---|---|
| Category(s) | 1 | Name of category to get images of.
| String | required |
| Character Name | character | Name of character to get files for.
| String | required |
| Show Header | showHeader | Set to "1" to show header.
| Boolean | optional |
| Custom Header | header | Custom header to text to display.
| String | optional |
| Not Category 1 | not1 | Category to exclude from results. | String | optional |
| Not Category 2 | not2 | Category to exclude from results. | String | optional |
| Not Category 3 | not3 | Category to exclude from results. | String | optional |
| Not Category 4 | not4 | Category to exclude from results. | String | optional |
| Not Category 5 | not5 | Category to exclude from results. | String | optional |
| Not Category 6 | not6 | Category to exclude from results. | String | optional |
| Not Category 7 | not7 | Category to exclude from results. | String | optional |
| Not Category 8 | not8 | Category to exclude from results. | String | optional |
| Not Category 9 | not9 | Category to exclude from results. | String | optional |