Open main menu

Changes

replace incorrect use of set_internal with 'set'
<noinclude>This is the "Presentation" template.It should be called in the following format:<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|}}}}}<br /> {{{AbstractSummary|}}} 
{{#set:hasAbstract::{{{subst:Abstract|}}}}}{{{subst:Abstract|}}}[[CatgegoryCategory:Presentation]]
</includeonly>
<noinclude>
You can include the following arguments to the template. All presentations will automatically be placed in the [[:Category:Presentation]] category.
<pre>
 
{{{Title}}}
{{{Date}}}
{{{Time}}}
{{{Location}}}
{{{Presenter}}}
{{{Summary}}}
{{{Abstract}}}
{{{Photo}}}
</pre>
 
<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>