Toggle menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

Template:Training Session: Difference between revisions

Template page
Created page with "<noinclude>== Usage == <nowiki>{{</nowiki>{{PAGENAME}}<nowiki>}}</nowiki> and then "edit with form" See [[:Template:{{PAGENAME}}/Details]] for more info. Edit pages with Form:Training Session. ==Parameters== <templatedata> { "params": { "trainer": { "description": "One or more of the the trainers' pages, semi-colon separated", "label": "Trainer", "type": "wiki-page-name", "suggested": true, "required": true }, "cost": { "description": "D..."
 
No edit summary
Line 11: Line 11:
{
{
"params": {
"params": {
"trainer": {
"trainers": {
"description": "One or more of the the trainers' pages, semi-colon separated",
"description": "One or more of the the trainers' pages, semi-colon separated",
"label": "Trainer",
"label": "Trainer(s)",
"type": "wiki-page-name",
"type": "wiki-page-name",
"suggested": true,
"suggested": true,
Line 27: Line 27:
"tools": {
"tools": {
"description": "one or more of the tools pages, semi-colon separated",
"description": "one or more of the tools pages, semi-colon separated",
"label": "Tools to which this training applies",
"label": "Tool(s)",
"type": "wiki-page-name",
"type": "wiki-page-name",
"suggested": true,
"suggested": true,
"required": true
"required": true
},
},
"room": {
"rooms": {
"description": "one or more of the room pages, semi-colon separated",
"description": "Rooms to which this training applies; one or more of the room pages, semi-colon separated",
"label": "Rooms to which this training applies",
"label": "Room(s)",
"type": "content",
"type": "content",
"suggested": true,
"suggested": true,
Line 52: Line 52:
"description": "This is the template for training session pages.  It is used on training session pages, facilitated by Form:Training session.",
"description": "This is the template for training session pages.  It is used on training session pages, facilitated by Form:Training session.",
"paramOrder": [
"paramOrder": [
"trainer",
"trainers",
"cost",
"cost",
"tools",
"tools",
"room",
"rooms",
"training docs",  
"training docs",  
         "other details"
         "other details"
Line 62: Line 62:
}
}
</templatedata>
</templatedata>
==Cargo Declaration==
{{#cargo_declare:
_table=training_session
|trainers = page
|cost = number
|tools = List (;) of page
|rooms = List (;) of page
}}
{{#default_form:Training Session}}
</noinclude><table class="infobox">
<tr class="infobox-header">
<th colspan="2">[[Training Sessions]]</th>
</tr>
<tr>
<th class="infobox-label">Trainer(s)</th>
<td>{{{trainer|}}}</td>
</tr>
<tr>
<th class="infobox-label">Cost</th>
<td>{{{cost}}}</td>
</tr>
<tr>
<th class="infobox-label">[[Tools|Tool(s)]]</th>
<td>{{{tools}}}</td>
</tr>
<tr>
<th class="infobox-label">[[Rooms|Room(s)]]</th>
<td>{{{rooms}}} </td>
</tr>
<tr>
<th class="infobox-label">Training doc(s)</th>
<td>{{{training docs}}} </td>
</tr>
</table>
{{{other details}}}
<includeonly>
<!--
-->__NOCACHE__<!--
-->{{#cargo_store:}}<!--
-->[[Category:Training Session]]<!--
--></includeonly>

Revision as of 15:24, 2024 June 16

Usage

{{Training Session}}

and then "edit with form"

See Template:Training Session/Details for more info.

Edit pages with Form:Training Session.

Parameters

This is the template for training session pages. It is used on training session pages, facilitated by Form:Training session.

Template parameters[Edit template data]

This template prefers block formatting of parameters.

ParameterDescriptionTypeStatus
Trainer(s)trainers

One or more of the the trainers' pages, semi-colon separated

Page namerequired
Cost to traineecost

Dollar cost to trainee

Numberrequired
Tool(s)tools

one or more of the tools pages, semi-colon separated

Page namerequired
Room(s)rooms

Rooms to which this training applies; one or more of the room pages, semi-colon separated

Contentrequired
Training document(s)training docs

bullet list of internal or external links to training documents

Contentsuggested
other detailsother details

Other things people might want to use about this tool, e.g. where to get supplies in Winnipeg or a link to the manufatcurer's site; free content.

Contentoptional

Cargo Declaration

This template defines the table "training_session". View table.


Training Sessions
Trainer(s)
Cost {{{cost}}}
Tool(s) {{{tools}}}
Room(s) {{{rooms}}}
Training doc(s) {{{training docs}}}

{{{other details}}}