Template:Videos by Character Gallery: Difference between revisions

Shirra (talk | contribs)
Adapted from Petit Planet Wiki, credits to Stevium
 
Shirra (talk | contribs)
no idea why this is here
 
(2 intermediate revisions 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  = 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 14:
</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>