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
No edit summary
No edit summary
 
(21 intermediate revisions by the same user not shown)
Line 1: Line 1:
<noinclude>== Usage ==
<noinclude>
<nowiki>{{</nowiki>{{PAGENAME}}<nowiki>}}</nowiki>
== Usage ==
and then "edit with form"
Start editing a new or existing page with this:
{{#forminput:form=Training Session|autocomplete on category=Training Session|placeholder=enter name of training session}}
 
To edit multiple sessions at the same time use [https://nf.squirrelslair.ca/index.php?title=Special:MultiPageEdit&template=Training+Session&form=Training+Session this link].


See [[:Template:{{PAGENAME}}/Details]] for more info.  
See [[:Template:{{PAGENAME}}/Details]] for more info.  
Line 21: Line 24:
"description": "Dollar cost to trainee",
"description": "Dollar cost to trainee",
"label": "Cost to trainee",
"label": "Cost to trainee",
"type": "number",
"suggested": true,
"required": true
},
"duration": {
"description": "Est minutes",
"label": "Duration",
"type": "number",
"type": "number",
"suggested": true,
"suggested": true,
Line 28: Line 38:
"description": "one or more of the tools pages, semi-colon separated",
"description": "one or more of the tools pages, semi-colon separated",
"label": "Tool(s)",
"label": "Tool(s)",
"type": "wiki-page-name",
"suggested": true,
"required": true
},
"software": {
"description": "one or more of the software pages, semi-colon separated",
"label": "Software(s)",
"type": "wiki-page-name",
"type": "wiki-page-name",
"suggested": true,
"suggested": true,
Line 35: Line 52:
"description": "Rooms to which this training applies; 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": "Room(s)",
"label": "Room(s)",
"type": "content",
"type": "wiki-page-name",
"suggested": true,
"suggested": true,
   "required": true
   "required": true
},
},
"training docs": {
"training docs": {
"description": "On- or off-wiki links to training documents",
"label": "Training document(s)",
"label": "Training document(s)",
"description": "bullet list of internal or external links to training documents",
"description": "bullet list of internal or external links to training documents",
Line 46: Line 64:
},
},
"other details": {
"other details": {
"description": "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. ",
"description": "Other things people might want to use about this training session",
"type": "content"
"type": "content",
"suggested": true
}
}
},
},
Line 54: Line 73:
"trainers",
"trainers",
"cost",
"cost",
        "duration",
"tools",
"tools",
"software",
"rooms",
"rooms",
"training docs",  
"training docs",  
Line 66: Line 87:
{{#cargo_declare:
{{#cargo_declare:
_table=training_session
_table=training_session
|trainers = page
|trainers = List (;) of page
|cost = number
|cost = number
|duration = number
|tools = List (;) of page
|tools = List (;) of page
|software = List (;) of page
|rooms = List (;) of page
|rooms = List (;) of page
|training_docs = Wikitext
|other_details = Wikitext
}}
}}
{{#default_form:Training Session}}
[[Category:Training]]
 
</noinclude>
</noinclude><table class="infobox">
<table class="infobox">
<tr class="infobox-header">
<tr class="infobox-header">
<th colspan="2">[[Training Sessions]]</th>
<th colspan="2">[[Training Sessions]]</th>
Line 79: Line 104:
<tr>
<tr>
<th class="infobox-label">Trainer(s)</th>
<th class="infobox-label">Trainer(s)</th>
<td>{{{trainer|}}}</td>
<td>{{#invoke:String | splitAndLink | source={{{trainers|We don't currently have a trainer for this session}}} }}</td>
</tr>
</tr>
<tr>
<tr>
<th class="infobox-label">Cost</th>
<th class="infobox-label">Cost</th>
<td>{{{cost}}}</td>
<td>{{{cost|cost not entered, ask the [[Training Coordinator]] for details}}}</td>
</tr>
<tr>
<tr>
<th class="infobox-label">Duration</th>
<td>{{{duration|cost not entered, ask the [[Training Coordinator]] for details}}}</td>
</tr>
</tr>
<tr>
<tr>
<th class="infobox-label">[[Tools|Tool(s)]]</th>
<th class="infobox-label">[[Tools|Tool(s)]]</th>
<td>{{{tools}}}</td>
<td>{{#invoke:String | splitAndLink | source={{{tools}}} }}</td>
</tr>
<tr>
<th class="infobox-label">[[Software]]</th>
<td>{{#invoke:String | splitAndLink | source={{{software}}} }}</td>
</tr>
</tr>
<tr>
<tr>
<th class="infobox-label">[[Rooms|Room(s)]]</th>
<th class="infobox-label">[[Rooms|Room(s)]]</th>
<td>{{{rooms}}} </td>
<td>{{#invoke:String | splitAndLink | source={{{rooms}}} }} </td>
</tr>
</tr>
<tr>
<tr>
<th class="infobox-label">Training doc(s)</th>
<th class="infobox-label">Training doc(s)</th>
<td>{{{training docs}}} </td>
<td>{{{training docs|}}} </td>
</tr>
</tr>
</table>
</table>
{{{other details}}}
{{{other details|}}}<!--
<includeonly>
--><includeonly><!--
<!--
-->__NOCACHE__<!--
-->__NOCACHE__<!--
-->{{#cargo_store:}}<!--
-->{{#cargo_store:}}<!--
-->[[Category:Training Session]]<!--
-->[[Category:Training Session]]<!--
-->{{#default_form:Training Session}}<!--
--></includeonly>
--></includeonly>

Latest revision as of 22:20, 2024 September 1

Usage

Start editing a new or existing page with this:


To edit multiple sessions at the same time use this link.

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
Durationduration

Est minutes

Numberrequired
Tool(s)tools

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

Page namerequired
Software(s)software

one or more of the software 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

Page namerequired
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 training session

Contentsuggested

Cargo Declaration

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

Training Sessions
Trainer(s)
Cost cost not entered, ask the Training Coordinator for details
Duration cost not entered, ask the Training Coordinator for details
Tool(s)
  • [[{{{tools}}}]]
Software
  • [[{{{software}}}]]
Room(s)
  • [[{{{rooms}}}]]
Training doc(s)