Template:Video: Difference between revisions
No edit summary |
No edit summary |
||
| 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| | {{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: {{{1|}}} | {{#switch: {{{1|}}} | ||
Revision as of 11:16, 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}}
|