Template:Video: Difference between revisions

From VASP Wiki
No edit summary
No edit summary
Line 2: Line 2:
Template:Video
Template:Video
Usage:
Usage:
* {{Video|key|Custom text}}
* Inline: {{Video|key|Custom text}}
- key = unique video key
  - key = unique video identifier
- Custom text (optional) = overrides default title
  - Custom text (optional) = overrides default title
Add new videos by adding a new line in the #switch section.
* Add new videos by adding a new line in the #switch section
</noinclude>
</noinclude>


Line 11: Line 11:
  | release:chris:2026 = [https://youtu.be/m6KcBA4j2oI {{{2|Release for VASP 6.6}}}]
  | release:chris:2026 = [https://youtu.be/m6KcBA4j2oI {{{2|Release for VASP 6.6}}}]
  | another:video:2020 = [https://youtu.be/XXXX {{{2|Another Video}}}]
  | another:video:2020 = [https://youtu.be/XXXX {{{2|Another Video}}}]
  | new:video:2024 = [https://youtu.be/NEWLINK {{{2|New Video Title}}}]
  | new:video:2024 = [https://youtu.be/ABCDE {{{2|New Video Title}}}]
  | #default = <span style="color:red;">Unknown video key</span>
  | #default = <span style="color:red;">Unknown video key</span>
}}
}}

Revision as of 11:16, 17 March 2026

Template:Video Usage:

  • Inline:

Unknown video key

 - key = unique video identifier
 - Custom text (optional) = overrides default title
  • Add new videos by adding a new line in the #switch section


Unknown video key