Template:Videos by Character Gallery: Difference between revisions
Adapted from Petit Planet Wiki, credits to Stevium |
Adjusted to be similar to the regular gallery template (will need to add extra params in the future) |
||
| Line 2: | Line 2: | ||
|namespace = File | |namespace = File | ||
|uses = Template:File/Video | |uses = Template:File/Video | ||
|category = | |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=224,¦description=,}² | ||
|noresultsheader = ''{{{ | |noresultsheader = ''{{{character|{{ROOTPAGENAME}}}}} does not have any videos for the matching category.'' | ||
}}</includeonly><noinclude>{{Documentation|type=DPL Gallery|content= | }}</includeonly><noinclude>{{Documentation|type=DPL Gallery|content= | ||
==Syntax== | ==Syntax== | ||
| Line 13: | Line 14: | ||
</pre> | </pre> | ||
This template has 1 unnamed parameter: | This template has 1 unnamed parameter: | ||
* <code>1</code> – | * <code>1</code> – categories | ||
* <code> | * <code>character</code> – [[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> | ||