Template:Training Session: Difference between revisions

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
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>