Template:Video: Difference between revisions
No edit summary |
No edit summary Tag: Manual revert |
||
| Line 4: | Line 4: | ||
* <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> | {{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>}} | ||
{{#switch: {{{1|}}} | </noinclude>{{#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}}}] | ||
Revision as of 11:21, 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.
Important: key= and test= are important for specifying the text. It will not show the link otherwise; i.e., {{Video|video_name|custom_text}}
|