Difference between revisions of "Template:Presentation"

From QualityBox Wiki
Jump to navigation Jump to search
Line 1: Line 1:
<includeonly>
 
== {{{Title}}} ==
 
<span style="float:right;">{{{Photo}}}</span>
 
'''WHEN:''' {{{Date}}} {{{Time}}}<br />
 
'''WHERE:''' {{{Location}}}<br />
 
'''WHO:''' {{{Presenter}}} <br />
 
'''WHAT:''' {{{Summary}}}<br />
 
 
{{{Abstract}}}
 
 
 
[[Catgegory:Presentation]]
 
</includeonly>
 
 
<noinclude>
 
<noinclude>
You can include the following arguments to the template. All presentations will automatically be placed in the [[:Category:Presentation]] category.
+
This is the "Presentation" template.
 +
It should be called in the following format:
 
<pre>
 
<pre>
 
+
{{Presentation
{{{Title}}}
+
|Title=
{{{Date}}}
+
|Date=
{{{Time}}}
+
|Time=
{{{Location}}}
+
|Location=
{{{Presenter}}}
+
|Presenter=
{{{Summary}}}
+
}}
{{{Abstract}}}
 
{{{Photo}}}
 
 
</pre>
 
</pre>
 
+
Edit the page to see the template text.
<templatedata>
+
</noinclude><includeonly>{{#set_internal:Title|hasDate={{{Date|}}}|hasTime={{{Time|}}}|hasLocation={{{Location|}}}|hasPresenter={{{Presenter|}}}}}{| class="wikitable"
{
+
! Title
"params": {
+
| {{{Title|}}}
"Title": {
+
|-
"label": "Presentation Title",
+
! Date
"description": "What do you call the Talk or Presentation?",
+
| [[hasDate::{{{Date|}}}]]
"example": "Importing Content into QualityBox",
+
|-
"type": "string",
+
! Time
"default": "My Presentation",
+
| [[hasTime::{{{Time|}}}]]
"required": true
+
|-
},
+
! Location
"Date": {
+
| [[hasLocation::{{{Location|}}}]]
"label": "Date",
+
|-
"description": "the Date of the presentation",
+
! Presenter
"example": "{{#dateformat:{{subst:CURRENTYEAR}}-{{subst:CURRENTMONTH}}-{{subst:CURRENTDAY}}|ISO 8601}}",
+
| [[hasPresenter::{{{Presenter|}}}]]
"type": "date",
+
|}</includeonly>
"suggested": true
 
},
 
"Time": {
 
"label": "Time",
 
"example": "18:00 EDT",
 
"type": "string",
 
"suggested": true
 
},
 
"Location": {
 
"label": "Location",
 
"description": "Address; Building & Room; or URL",
 
"example": "700 Boylston Street Boston MA 02116",
 
"type": "string"
 
},
 
"Presenter": {
 
"label": "Presenter",
 
"required": true
 
},
 
"Summary": {
 
"label": "Summary",
 
"description": "<50 words "
 
},
 
"Abstract": {
 
"label": "Abstract",
 
"description": "~150 words"
 
},
 
"Photo": {
 
"label": "Photo / Image",
 
"type": "wiki-file-name"
 
}
 
},
 
"format": "inline"
 
}
 
</templatedata>
 
</noinclude>
 

Revision as of 23:37, 30 October 2018

This is the "Presentation" template. It should be called in the following format:

{{Presentation
|Title=
|Date=
|Time=
|Location=
|Presenter=
}}

Edit the page to see the template text.