Template:Tech talk video/nl

From Linux Web Expert

Revision as of 05:15, 13 January 2024 by imported>HanV (Created page with "Het sjabloon moet de $2 van $1 gebruiken om te controleren of de url begint met $3, (niet getest):")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)


[{{{link}}} Kijken] Technisch overleg op "{{{title}}}".

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>

Nog te doen

  • Voeg parameters toe voor presentator, dia's, webm, enz. om voorwaardelijk uit te voeren:
    "– presenter name, (slides) (webm video)". Lees Tech talks#Past tech talks .
  • link kan een link tussen wiki's naar Commons zijn (hoewel we dit meestal ook aanbieden op YouTube). Het sjabloon moet de sub van Module:String gebruiken om te controleren of de url begint met http, (niet getest):
{{#ifeq: {{#invoke:String|sub|{{{link}}}|1|4}} | http |<!--
    link is an external URL. -->[{{{link}}} Watch] |<!--
    link is a wikilink. --> [[{{{link}}} | Watch]]<!--
-->}}