Template:Video: Difference between revisions
No edit summary |
No edit summary |
||
| 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|key=video_name|text=custom_text}}</nowiki></code>}} | |||
</noinclude> | </noinclude> | ||
{{#switch: {{{key|}}} | {{#switch: {{{key|}}} | ||
Revision as of 12:34, 17 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|key=video_name|text=custom_text}}
|