Template:Videos by Character Gallery: Difference between revisions

From Honkai: Nexus Anima Wiki
Jump to navigation Jump to search
Adapted from Petit Planet Wiki, credits to Stevium
 
increasing the dimension size of vids cause rn it's far too small, and ordering the vids by release date
 
(One intermediate revision by the same user not shown)
Line 2: Line 2:
|namespace = File
|namespace = File
|uses      = Template:File/Video
|uses      = Template:File/Video
|category  = Files by Date<&>{{{1|{{ROOTPAGENAME}}}}} Videos{{#if:{{{categories|}}}|<&>{{{categories}}}}}
|category  = {{{1|{{ROOTPAGENAME}}}}}
|category  = Files by Date<&>{{{character|{{ROOTPAGENAME}}}}} Videos
|include  = {File/Video}:slink1,{File/Video}:caption
|include  = {File/Video}:slink1,{File/Video}:caption
|listseparators  = <div style="display:flex; gap:8px; flex-wrap:wrap;">,,,</div>
|listseparators  = <div style="display:flex; gap:8px; flex-wrap:wrap;">,,,</div>
|secseparators  = ²{#ev:youtube¦,¦dimensions=224,¦description=,}²
|secseparators  = ²{#ev:youtube¦,¦dimensions=320,¦description=,}²
|noresultsheader = ''{{{1|{{ROOTPAGENAME}}}}} does not have any videos for the matching category.''
|noresultsheader = ''{{{character|{{ROOTPAGENAME}}}}} does not have any videos for the matching category.''
|ordermethod = sortkey
}}</includeonly><noinclude>{{Documentation|type=DPL Gallery|content=
}}</includeonly><noinclude>{{Documentation|type=DPL Gallery|content=
==Syntax==
==Syntax==
Line 13: Line 15:
</pre>
</pre>
This template has 1 unnamed parameter:
This template has 1 unnamed parameter:
* <code>1</code> &ndash; [[Character]] or [[Anima]]
* <code>1</code> &ndash; categories
* <code>categories</code> &ndash; Additional categories
* <code>character</code> &ndash; [[Character]] or [[Anima]]


==Example==
==Example==
<pre>
<pre>
{{Videos by Character Gallery|Donubi}}
{{Videos by Character Gallery|Official Video|character=Donubi}}
</pre>
</pre>
{{Videos by Character Gallery|Donubi}}
{{Videos by Character Gallery|Official Videos|character=Donubi}}


}}</noinclude>
}}</noinclude>

Latest revision as of 20:39, 15 September 2026

Documentation icon Template documentation
Note: parts of or the entire template might not be visible without values provided.

Syntax

{{Videos by Character Gallery}}

This template has 1 unnamed parameter:

Example

{{Videos by Character Gallery|Official Video|character=Donubi}}
#HonkaiNexusAnima
"The Wonder Girl Next Door"
Evolution Teaser: "Until We Meet Again"
Nexus Bond Teaser: Side by Side