Template:Presentation: Difference between revisions
Appearance
Add youtube-start option |
m Re-add the includeonly tag |
||
| Line 1: | Line 1: | ||
<div style="display: block"> | <includeonly><div style="display: block">'''{{{title|{{SUBPAGENAME}}}}}''' by {{{presenters|{{{presentors}}}}}} | ||
{{#if:{{{abstract|}}}| <i>{{{abstract}}}</i> <br><br>|}} | {{#if:{{{abstract|}}}| <i>{{{abstract}}}</i> <br><br>|}} | ||
{{#if:{{{youtube-id|{{{youtubetag|}}}}}}|<div style="text-align: center;">{{#widget:YouTube|id={{{youtube-id|{{{youtubetag|}}}}}}|width=640|height=360|start={{{youtube-start|0}}}}}</div>}} | {{#if:{{{youtube-id|{{{youtubetag|}}}}}}|<div style="text-align: center;">{{#widget:YouTube|id={{{youtube-id|{{{youtubetag|}}}}}}|width=640|height=360|start={{{youtube-start|0}}}}}</div>}} | ||
</div></includeonly><noinclude>{{documentation}}</noinclude> | </div></includeonly><noinclude>{{documentation}}</noinclude> | ||
[[Category:Presentations]] | |||
Revision as of 09:38, 21 August 2024
This documentation is transcluded from Template:Presentation/doc (history).
Usage
Use this at the start of presentation pages to properly format the Title, Presenter(s), Abstract, and to embed the YouTube video on the page.
{{presentation
|presenters=
|abstract=
|youtube-id=
}}
Parameters
| Parameter | Description |
|---|---|
title (optional)
|
Title of the Presentation. This is the page name by default. |
presenters (optional)
|
Presenter or Presenters of the Presentation. |
abstract (optional)
|
Abstract of the Presentation. Can be multiple lines or paragraphs. |
youtube-id
|
The YouTube video ID. It can be found as the last group of characters when clicking on the "Share" link on a YouTube video page. Example: https://youtu.be/3iuHMHWVAGM (the video ID is in bold).
|
youtube-start
|
The start time of the video in seconds. This is zero by default. |
Examples
With abstract
{{presentation
|title=Introducing GCentral: G Idea Exchange
|presenters=Quentin "Q" Alldredge
|abstract=This is an introduction to [[GCentral|GCentral's]] new crowd funding initiative [https://gie.gcentral.org The G Idea Exchange]. Its mission is to help get more tools developed for the LabVIEW Community.
|youtube-id=3iuHMHWVAGM
}}
Introducing GCentral: G Idea Exchange by Quentin "Q" Alldredge
This is an introduction to GCentral's new crowd funding initiative The G Idea Exchange. Its mission is to help get more tools developed for the LabVIEW Community.
Without abstract
{{presentation
|title=Introducing GCentral: G Idea Exchange
|presenters=Quentin "Q" Alldredge
|youtube-id=3iuHMHWVAGM
}}
Introducing GCentral: G Idea Exchange by Quentin "Q" Alldredge