Open main menu

Changes

replace incorrect use of set_internal with 'set'
<inlcudeonly>
{{{Title}}}
{{{Date}}}
{{{Time}}}
{{{Location}}}
{{{Presenter}}}
{{{Summary}}}
{{{Abstract}}}
{{{Photo}}}
[[Catgegory:Presentation]]
</includeonly>
<noinclude>
You can include the following arguments to This is the "Presentation" template. All presentations will automatically It should be placed called in the [[following format:Category:Presentation]] category.
<pre>
{{Presentation
|Title=
|Date=
|Time=
|Location=
|Presenter=
|Summary=
|Abstract=
|Photo=
}}
</pre>
Edit the page to see the template text.
</noinclude><includeonly>{{#css:
img {
max-width: 100%;
height: auto;
}
}}{{#set_internal:Title|hasDate={{{Date|}}}|hasTime={{{Time|}}}|hasLocation={{{Location|}}}|hasPresenter={{{Presenter|}}}}}{| class="wikitable"
! Title
| {{{Title|}}}
|-
! Date
| [[hasDate::{{{Date|}}}]]
|-
! Time
| [[hasTime::{{{Time|}}}]]
|-
! Location
| {{#set:hasLocation::{{{Location|}}}}}{{{Location|}}}
|-
! Presenter
| {{#arraymap:{{{Presenter|}}}|,|x|{{#formredlink:target=x|form=Person}}{{#set:hasPresenter=x}}}}
|}
== {{{Title}}}==<span style="float:right;">{{#set:hasPhoto::{{{Photo|}}}}}{{{Photo|}}}</span>'''WHEN:''' {{{Date}}}{{{Time}}}<br />'''WHERE:''' {{{Location}}}<br />'''WHO:''' {{{Presenter}}} <br />'''WHAT:''' {{#set:hasSummary::{{{Summary|}}}{{{Abstract}}}{{{PhotoSummary|}}}</pre>
{{#set:hasAbstract::{{{subst:Abstract|}}}}}{{{subst:Abstract|}}}
[[Category:Presentation]]
</includeonly>
<noinclude>
<templatedata>
{
"params": {
"Title": {
"label": "Presentation Title",
"description": "What do you call the Talk or Presentation?",
"example": "Importing Content into QualityBox",
"type": "string",
"default": "My Presentation",
"required": true
},
"Date": {
"label": "Date",
"description": "the Date of the presentation",
"example": "{{#dateformat:{{subst:CURRENTYEAR}}-{{subst:CURRENTMONTH}}-{{subst:CURRENTDAY}}|ISO 8601}}",
"type": "date",
"suggested": true
},
"Time": {
"label": "Time",
"description": "Time presentation begins",
"example": "18:00 EDT",
"type": "string",
},
"Presenter": {
"label": "PresenterLocation", "description": "Address; #hashtag; URL", "example": "#QualityBoxTraining", "required": true }, "Title": { "label": "Presentation Title", "description": "What do you call the Talk or Presentation?", "example": "Importing Content into QualityBox", "type": "string", "autovalue": "{{subst:PAGENAME}}",
"required": true
},
}
},
"description": "This template holds information about a Presentation",
"format": "inline"
}
 
</templatedata>
</noinclude>