Template:Presentation: Difference between revisions
From QualityBox Wiki
(save template data) |
(replace incorrect use of set_internal with 'set') |
||
(9 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 | ||
| | | {{#set:hasLocation::{{{Location|}}}}}{{{Location|}}} | ||
|- | |- | ||
! Presenter | ! 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|}}}}}{{{Summary|}}} | |||
{{#set:hasAbstract::{{{subst:Abstract|}}}}}{{{subst:Abstract|}}} | |||
[[Category:Presentation]] | |||
</includeonly> | |||
<noinclude> | <noinclude> | ||
<templatedata> | <templatedata> | ||
Line 35: | Line 54: | ||
"label": "Date", | "label": "Date", | ||
"description": "Date of presentation", | "description": "Date of presentation", | ||
"example": " | "example": "{{#dateformat:{{subst:CURRENTYEAR}}-{{subst:CURRENTMONTH}}-{{subst:CURRENTDAY}}|ISO 8601}}", | ||
" | "type": "date", | ||
"suggested": true | |||
}, | }, | ||
"Time": { | "Time": { | ||
"label": "Time", | "label": "Time", | ||
"description": "Time presentation begins", | "description": "Time presentation begins", | ||
"example": " | "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": { | "Presenter": { | ||
"label": "Location", | "label": "Location", | ||
Line 51: | Line 78: | ||
}, | }, | ||
"Title": { | "Title": { | ||
"label": "Presentation Title", | |||
"description": "What do you call the Talk or Presentation?", | |||
"example": "Importing Content into QualityBox", | |||
"type": "string", | |||
"autovalue": "{{subst:PAGENAME}}", | "autovalue": "{{subst:PAGENAME}}", | ||
"required": true | "required": true | ||
}, | |||
"Summary": { | |||
"label": "Summary", | |||
"description": "<50 words " | |||
}, | |||
"Abstract": { | |||
"label": "Abstract", | |||
"description": "~150 words" | |||
}, | |||
"Photo": { | |||
"label": "Photo / Image", | |||
"type": "wiki-file-name" | |||
} | } | ||
}, | }, | ||
"description": "This template holds information about a Presentation" | "description": "This template holds information about a Presentation", | ||
"format": "inline" | |||
} | } | ||
</templatedata> | </templatedata> | ||
</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
Parameter | Description | Type | Status | |
---|---|---|---|---|
Date | Date | Date of presentation
| Date | suggested |
Time | Time | Time presentation begins
| String | suggested |
Location | Location | Address; Building & Room; or URL
| String | optional |
Location | Presenter | Address; #hashtag; URL
| Unknown | required |
Presentation Title | Title | What do you call the Talk or Presentation?
| String | required |
Summary | Summary | <50 words | Unknown | optional |
Abstract | Abstract | ~150 words | Unknown | optional |
Photo / Image | Photo | no description | File | optional |