Template:Presentation: Difference between revisions

From QualityBox Wiki
(merge prior template data and template content/formatting)
(replace incorrect use of set_internal with 'set')
 
(8 intermediate revisions by the same user not shown)
Line 9: Line 9:
|Location=
|Location=
|Presenter=
|Presenter=
|Summary=
|Abstract=
|Photo=
}}
}}
</pre>
</pre>
Edit the page to see the template text.
Edit the page to see the template text.
</noinclude><includeonly>{{#set_internal:Title|hasDate={{{Date|}}}|hasTime={{{Time|}}}|hasLocation={{{Location|}}}|hasPresenter={{{Presenter|}}}}}{| class="wikitable"
</noinclude><includeonly>{{#css:
img {
    max-width: 100%;
    height: auto;
}
}}{{#set_internal:Title|hasDate={{{Date|}}}|hasTime={{{Time|}}}|hasLocation={{{Location|}}}|hasPresenter={{{Presenter|}}}}}{| class="wikitable"
! Title
! Title
| {{{Title|}}}
| {{{Title|}}}
Line 23: Line 31:
|-
|-
! Location
! Location
| [[hasLocation::{{{Location|}}}]]
| {{#set:hasLocation::{{{Location|}}}}}{{{Location|}}}
|-
|-
! Presenter
! Presenter
| [[hasPresenter::{{{Presenter|}}}]]
| {{#arraymap:{{{Presenter|}}}|,|x|{{#formredlink:target=x|form=Person}}{{#set:hasPresenter=x}}}}
|}
|}


== {{{Title}}} ==
== {{{Title}}} ==
<span style="float:right;">[[hasPhoto::{{{Photo|}}}]]</span>
<span style="float:right;">{{#set:hasPhoto::{{{Photo|}}}}}{{{Photo|}}}</span>
'''WHEN:''' {{{Date}}} {{{Time}}}<br />
'''WHEN:''' {{{Date}}} {{{Time}}}<br />
'''WHERE:''' {{{Location}}}<br />
'''WHERE:''' {{{Location}}}<br />
'''WHO:''' {{{Presenter}}} <br />
'''WHO:''' {{{Presenter}}} <br />
'''WHAT:''' [[hasSummary::{{{Summary|}}}]]<br />
'''WHAT:''' {{#set:hasSummary::{{{Summary|}}}}}{{{Summary|}}}


[[hasAbstract::{{{Abstract|}}}]]
{{#set:hasAbstract::{{{subst:Abstract|}}}}}{{{subst:Abstract|}}}
[[Category:Presentation]]
</includeonly>
</includeonly>
<noinclude>
<noinclude>

Latest revision as of 08:26, 1 November 2018

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

{{Presentation
|Title=
|Date=
|Time=
|Location=
|Presenter=
|Summary=
|Abstract=
|Photo=
}}

Edit the page to see the template text.


This template holds information about a Presentation

Template parameters

This template prefers inline formatting of parameters.

ParameterDescriptionTypeStatus
DateDate

Date of presentation

Example
{{#dateformat:{{subst:CURRENTYEAR}}-{{subst:CURRENTMONTH}}-{{subst:CURRENTDAY}}|ISO 8601}}
Datesuggested
TimeTime

Time presentation begins

Example
18:00 EDT
Stringsuggested
LocationLocation

Address; Building & Room; or URL

Example
700 Boylston Street Boston MA 02116
Stringoptional
LocationPresenter

Address; #hashtag; URL

Example
#QualityBoxTraining
Unknownrequired
Presentation TitleTitle

What do you call the Talk or Presentation?

Example
Importing Content into QualityBox
Auto value
{{subst:PAGENAME}}
Stringrequired
SummarySummary

<50 words

Unknownoptional
AbstractAbstract

~150 words

Unknownoptional
Photo / ImagePhoto

no description

Fileoptional