Template:Video: Difference between revisions

From VASP Wiki
No edit summary
No edit summary
 
(3 intermediate revisions by the same user not shown)
Line 2: Line 2:
Template:Video<br>
Template:Video<br>
Usage:
Usage:
* <nowiki>{{Video|key|Custom text}}</nowiki> -
* <nowiki>{{Video|key|Custom text}}</nowiki>  
* <nowiki>{{Video|key}} - if no custom text is included, then the title of the video is written instead.</nowiki>
* <nowiki>{{Video|key}} - if no custom text is included, then the title of the video is written instead.</nowiki>
{{NB|important|<code>key{{=}}</code> and <code>test{{=}}</code> are important for specifying the text. It will not show the link otherwise; i.e., <code><nowiki>{{Video|video_name|custom_text}}</nowiki></code>}}</noinclude>
</noinclude>{{#switch: {{lc:{{{1|}}}}}
{{#switch: {{{1|}}}
  | xas:alexey:2026 = [https://youtu.be/gsrojMRnORs {{{2|X-ray absorption spectroscopy from first principles}}}]
  | xas:alexey:2026 = [https://youtu.be/gsrojMRnORs {{{2|X-ray absorption spectroscopy from first principles}}}]
  | release66:chris:2026 = [https://youtu.be/m6KcBA4j2oI {{{2|Release for VASP 6.6}}}]
  | release66:chris:2026 = [https://youtu.be/m6KcBA4j2oI {{{2|Release for VASP 6.6}}}]

Latest revision as of 14:42, 18 March 2026

Template:Video
Usage:

  • {{Video|key|Custom text}}
  • {{Video|key}} - if no custom text is included, then the title of the video is written instead.