Template:Tech talk video/ja

From Linux Web Expert

Revision as of 17:18, 12 January 2024 by imported>FuzzyBot (Updating to match new version of source page)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)


Tech talk「{{{title}}}」を[{{{link}}} 視聴してください]。
Template documentation

TemplateData

<templatedata> { "params": { "link": { "description": { "en": "Link to the video", "cs": "Odkaz na video", "fr": "lien vers une vidéo" }, "example": { "en": "https://www.youtube.com/watch?v=sWiDimlK4bE", "cs": "https://www.youtube.com/watch?v=sWiDimlK4bE", "fr": "https://www.youtubecom/watch?v=sWiDimlK4bE" }, "type": "string", "required": true, "label": { "fr": "lien" } }, "date": { "description": { "en": "Date of the video, in ISO8661 YYYY-MM-DD format.", "cs": "Datum videa ve formátu ISO8661 RRRR-MM-DD.", "fr": "date de la vidéo dans le format ISO8661 AAAA-MM-JJ." }, "type": "date", "suggested": true, "example": { "en": "2015-10-19", "fr": "2015-10-19" }, "label": { "fr": "data" } }, "title": { "description": { "en": "Title of the tech talk (without quotation marks).", "cs": "Název technické přednášky (bez uvozovek).", "fr": "titre de la discussion technique (sans les guillemets)" }, "example": { "en": "Free and open source licensing at Wikimedia", "cs": "Bezplatné a open source licence na Wikimedii", "fr": "Licence libre et source ouvert sur Wikimedia" }, "type": "string", "required": true, "label": { "fr": "titre" } } }, "description": { "en": "Displays a sentence that links to a tech talk video.", "cs": "Zobrazí větu, která odkazuje na video o technické diskusi.", "fr": "Affiche une phrase qui référence la vidéo d'une discussion technique." } } </templatedata>

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's sub 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]]<!--
-->}}