Jump to content

Template:Presentation: Difference between revisions

From LabVIEW Wiki
Created template
 
Change YouTube extension for the YouTube widget
Line 3: Line 3:


{{#if: {{{abstract|}}}| ''{{{abstract}}}'' <br /><br />| }}
{{#if: {{{abstract|}}}| ''{{{abstract}}}'' <br /><br />| }}
<div style="text-align:center;"><youtube width="800" height="600">{{{youtube}}}</youtube></div>
<div style="text-align:center;">{{#widget:YouTube|id={{{youtubetag}}}|width=800|height=600}}</div>


</includeonly>
</includeonly>
Line 16: Line 16:
<code>
<code>
<nowiki>
<nowiki>
{{presentation|title=Title Goes Here|presentors=John Doe and David B. Smith|abstract=This is an example of how to use the Presentation template|youtube=3iuHMHWVAGM}}
{{presentation|title=Title Goes Here|presentors=John Doe and David B. Smith|abstract=This is an example of how to use the Presentation template|youtubetag=3iuHMHWVAGM}}
</nowiki>
</nowiki>
</code>
</code>
Line 39: Line 39:
| <code></code>
| <code></code>
|-
|-
| <code>youtube</code>
| <code>youtubetag</code>
| The tag from YouTube for the view.  The tag can be found as the last group of characters when clicking on the "Share" link ona YouTube video page. Example: <code><nowiki>https://youtu.be/</nowiki>'''3iuHMHWVAGM'''</code> (the YouTube tag is in '''bold'''.
| The tag from YouTube for the view.  The tag can be found as the last group of characters when clicking on the "Share" link ona YouTube video page. Example: <code><nowiki>https://youtu.be/</nowiki>'''3iuHMHWVAGM'''</code> (the YouTube tag is in '''bold'''.
| <code></code>
| <code></code>
Line 50: Line 50:
<code>
<code>
<nowiki>
<nowiki>
{{presentation|title=Introducing GCentral: G Idea Exchange|presentors=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=3iuHMHWVAGM}}
{{presentation|title=Introducing GCentral: G Idea Exchange|presentors=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.|youtubetag=3iuHMHWVAGM}}
</nowiki>
</nowiki>
</code>
</code>


{{presentation|title=Introducing GCentral: G Idea Exchange|presentors=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=3iuHMHWVAGM}}
{{presentation|title=Introducing GCentral: G Idea Exchange|presentors=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.|youtubetag=3iuHMHWVAGM}}


===Without an Abstract===
===Without an Abstract===
Line 60: Line 60:
<code>
<code>
<nowiki>
<nowiki>
{{presentation|title=Introducing GCentral: G Idea Exchange|presentors=Quentin "Q" Alldredge|youtube=3iuHMHWVAGM}}
{{presentation|title=Introducing GCentral: G Idea Exchange|presentors=Quentin "Q" Alldredge|youtubetag=3iuHMHWVAGM}}
</nowiki>
</nowiki>
</code>
</code>


{{presentation|title=Introducing GCentral: G Idea Exchange|presentors=Quentin "Q" Alldredge|youtube=3iuHMHWVAGM}}
{{presentation|title=Introducing GCentral: G Idea Exchange|presentors=Quentin "Q" Alldredge|youtubetag=3iuHMHWVAGM}}


[[Category:Templates]]
[[Category:Templates]]

Revision as of 22:34, 4 February 2022


Usage

Use this at the start of presentation pages to properly format the Title, Presentor(s), Abstract, and to embed the YouTube video on the page.

Syntax is as follows:

{{presentation|title=Title Goes Here|presentors=John Doe and David B. Smith|abstract=This is an example of how to use the Presentation template|youtubetag=3iuHMHWVAGM}}

where:

Parameter Description Default
title Title of the Presentation.
presentors Presentor or Presentors of the Presentation.
abstract (optional) Abstract of the Presentation. Can be multiple lines or paragraphs.
youtubetag The tag from YouTube for the view. The tag can be found as the last group of characters when clicking on the "Share" link ona YouTube video page. Example: https://youtu.be/3iuHMHWVAGM (the YouTube tag is in bold.

Example

With an Abstract

{{presentation|title=Introducing GCentral: G Idea Exchange|presentors=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.|youtubetag=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 an Abstract

{{presentation|title=Introducing GCentral: G Idea Exchange|presentors=Quentin "Q" Alldredge|youtubetag=3iuHMHWVAGM}}


Introducing GCentral: G Idea Exchange by Quentin "Q" Alldredge