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
 
(22 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 11: Line 14:
{
{
"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 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 27: Line 37:
"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",
"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,
"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": "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
}
}
},
},
"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",
        "duration",
"tools",
"tools",
"room",
"software",
"rooms",
"training docs",  
"training docs",  
         "other details"
         "other details"
Line 62: Line 83:
}
}
</templatedata>
</templatedata>
==Cargo Declaration==
{{#cargo_declare:
_table=training_session
|trainers = List (;) of page
|cost = number
|duration = number
|tools = List (;) of page
|software = List (;) of page
|rooms = List (;) of page
|training_docs = Wikitext
|other_details = Wikitext
}}
[[Category:Training]]
</noinclude>
<table class="infobox">
<tr class="infobox-header">
<th colspan="2">[[Training Sessions]]</th>
</tr>
<tr>
<th class="infobox-label">Trainer(s)</th>
<td>{{#invoke:String | splitAndLink | source={{{trainers|We don't currently have a trainer for this session}}} }}</td>
</tr>
<tr>
<th class="infobox-label">Cost</th>
<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>
<th class="infobox-label">[[Tools|Tool(s)]]</th>
<td>{{#invoke:String | splitAndLink | source={{{tools}}} }}</td>
</tr>
<tr>
<th class="infobox-label">[[Software]]</th>
<td>{{#invoke:String | splitAndLink | source={{{software}}} }}</td>
</tr>
<tr>
<th class="infobox-label">[[Rooms|Room(s)]]</th>
<td>{{#invoke:String | splitAndLink | source={{{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]]<!--
-->{{#default_form:Training Session}}<!--
--></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)