More actions
Ttenbergen (talk | contribs) 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..." |
Ttenbergen (talk | contribs) No edit summary |
||
(22 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
<noinclude>== Usage == | <noinclude> | ||
== Usage == | |||
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": { | ||
" | "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": " | "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 | ||
}, | }, | ||
" | "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": " | "label": "Room(s)", | ||
"type": " | "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 | "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": [ | ||
" | "trainers", | ||
"cost", | "cost", | ||
"duration", | |||
"tools", | "tools", | ||
" | "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.
Parameter | Description | Type | Status | |
---|---|---|---|---|
Trainer(s) | trainers | One or more of the the trainers' pages, semi-colon separated | Page name | required |
Cost to trainee | cost | Dollar cost to trainee | Number | required |
Duration | duration | Est minutes | Number | required |
Tool(s) | tools | one or more of the tools pages, semi-colon separated | Page name | required |
Software(s) | software | one or more of the software pages, semi-colon separated | Page name | required |
Room(s) | rooms | Rooms to which this training applies; one or more of the room pages, semi-colon separated | Page name | required |
Training document(s) | training docs | bullet list of internal or external links to training documents | Content | suggested |
other details | other details | Other things people might want to use about this training session | Content | suggested |
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) |
|
Software |
|
Room(s) |
|
Training doc(s) |