Template:Tech talk video/doc
From Bonkipedia
< Template:Tech talk video
Revision as of 17:51, 12 November 2022 by ManfredoDo (talk | contribs) (1 revision imported: Workaround and Utility Templates)
This is a documentation subpage for Template:Tech talk video. It contains usage information, categories and other content that is not part of the original Template page. |
Usage
Displays a sentence that links to a tech talk video.
Parameter | Description | Type | Status | |
---|---|---|---|---|
link | link | Link to the video
| String | required |
date | date | Date of the video, in ISO8661 YYYY-MM-DD format.
| Date | suggested |
title | title | Title of the tech talk (without quotation marks).
| String | required |
To do
- Add parameters for presenter, slides, webm, etc. to conditionally output:
"– presenter name, (slides) (webm video)". See Tech talks#Past tech talks. link
could be an interwiki link to commons (though usually we offer this as well as YouTube). The template should use Module:String'ssub
to check if url starts with "http", something like (untested):
{{#ifeq: {{#invoke:String|sub|{{{link}}}|1|4}} | http |<!-- link is an external URL. -->[{{{link}}} Watch] |<!-- link is a wikilink. --> [[{{{link}}} | Watch]]<!-- -->}}