Template:Video: Difference between revisions
(Created page with "<noinclude> This template is similar to how LaTeX manages citations, using a key and a display text. Usage: {{video|key|text}}. </noinclude> {{Reference | key={{{1}}} | show={{{2}}} | bib={{{3|Video}}} | link={{{4|https://youtu.be/default}}} }} {{Reference | key=release:chris:2026 | bib=Release for VASP 6.6 | link=https://youtu.be/m6KcBA4j2oI }}") |
No edit summary |
||
| Line 1: | Line 1: | ||
<noinclude> | <noinclude> | ||
This template | This template works like Template:Reference, but for videos. | ||
Usage: {{video|key|text}} | Usage: {{video|key|display text}} | ||
- key: unique video identifier (video_name:lecturer:year) | |||
- display text: text to show for the link | |||
</noinclude> | </noinclude> | ||
{{ | {{#switch: {{{show|{{{1|}}}}}} | ||
| key= | | {{{key|}}} = [{{{link}}} {{{bib}}}] | ||
| | | all = * [{{{link}}} {{{bib}}}] | ||
}} | }} | ||
Revision as of 10:33, 17 March 2026
This template works like Template:Reference, but for videos. Usage:
- key: unique video identifier (video_name:lecturer:year)
- display text: text to show for the link
[{{{link}}} {{{bib}}}]