Template:AuthorizationCourseInfo/doc: Difference between revisions

From Pumping Station One
No edit summary
Added in new field, cleaned up a bunch of wording, expanded examplpe
Line 1: Line 1:
'''''This is the MediaWiki Equipment Template, please don't mess with the template (Template:ToolAuthorization) unless you know what you are doing'''''
'''''This is the MediaWiki ToolsAuthorization Template, please don't mess with the template (Template:ToolAuthorization) unless you know what you are doing'''''


= Template Info =
= Template Info =
<span style="font-size: 120%; font-weight: bold; "><span style="color: red ; ">DO NOT use this template on any tool pages.</span><br>Only use this template in the big list on the [[Authorizations]] page. You will later LINK TO the blue Authorization Info box in the [[Authorizations]] page from the tool page using the <code><nowiki>{{#lst:Authorizations|authslug_for_the_specific_auth_happening}}</nowiki></code> generated for that unique blue authorization box.</span>


This teplate is to be used on the master auth list for all tool at Pumping Station: One. This should be only used on [[Authorizations]] and all other pages can reference to it with <code><nowiki>{{#lst:Authorizations|authid}}</nowiki></code>.
; Description of fields:
 
* <span style="color: red ; ">'''Required:'''</span>
; Fields:
** '''authslug:''' Short no spaces unique ID used to reference the auth information elsewhere on the wiki. <code><nowiki>hotairballoon</nowiki></code>
* '''authslug:''' Short no spaces unique ID used to reference the auth information elsewhere on the wiki, example: woodshopgeneral
** '''authorization_name:''' Name of tool or bundled authorization. <code><nowiki>Hot Air Balloon</nowiki></code> or <code><nowiki>General Wood Shop</nowiki></code>
* '''authorization_name:''' Name of tool or bundled authorization, examples: BOSS Laser, or General Wood Shop
** '''authorizer:''' Name of authorizer, preferably linked to their wiki user page where they can list off better contact info (like their Discord name). <code><nowiki>[[User:kai_hacker|Kai]]</nowiki></code>
* '''authorizer:''' Name of authorizer, preferably linked to their wiki user page where they can list off better contact info (like their Discord name), example: <code><nowiki>[[user:kai_hacker|Kai]]</nowiki></code>
** '''schedule_frequency:''' Roughly once a week, month, by request, etc. <code><nowiki>By request</nowiki></code>
* '''schedule_frequency:''' Roughly once a week, month, by request, etc
** '''discord_channel_link:''' Right click the channel name to get a link. <code><nowiki>https://discord.com/channels/1270929620224704544/1270938360394809489</nowiki></code>
* '''discord_channel_link:''' Right click the channel name to get a link, example: https://discord.com/channels/1270929620224704544/1270938360394809489
** '''discord_channel_name:''' <code><nowiki>#aviation-club</nowiki></code>
* '''discord_channel_name:''' #arts-general
* <span style="color: blue ; ">'''Optional:'''</span>
* '''step1:''' Optional: Free text fields to provide steps needed to complete, links to sign-up forms, Canvas, etc
** '''prerequisites:''' Any other auths the member needs to complete first, etc. <code><nowiki>Completed auth for [[Parachute]]</nowiki></code>
* '''step2:''' Optional: Free text fields to provide steps needed to complete, links to sign-up forms, Canvas, etc
** '''step1:''' Free text field to provide steps needed to complete. <code><nowiki>[https://canvas.pumpingstationone.org/courses/40 Complete the Canvas course]</nowiki></code>
* '''step3:''' Optional: Free text fields to provide steps needed to complete, links to sign-up forms, Canvas, etc
** '''step2:''' Free text field to provide steps needed to complete. <code><nowiki>Use Canvas to schedule with the next available in-person auth</nowiki></code>
* '''description:''' Optional: Free text fields to provide steps needed to complete, links to sign-up forms, Canvas, etc
** '''step3:''' Free text field to provide steps needed to complete. <code><nowiki>Attend and complete in-person auth</nowiki></code>
** '''required_materials:''' Tools or gear the member should bring. <code><nowiki>Aviator goggles, cape, propane.</nowiki></code>
** '''description:''' Free text field to provide steps needed to complete. <code><nowiki>Will be rescheduled if there's bad weather.</nowiki></code>
: At the end add in links to the tool pages that this auth is required for, after the template, example: <code><nowiki>[[Hot Air Balloon]]</nowiki></code>


; Copy and pasta this into the appropriate area section of [[Authorizations]]:
; Copy and pasta this into the appropriate area section of [[Authorizations]]:
Line 25: Line 29:
|discord_channel_link =  
|discord_channel_link =  
|discord_channel_name =  
|discord_channel_name =  
|prerequisites =
|step1 =  
|step1 =  
|step2 =  
|step2 =  
|step3 =  
|step3 =  
|required_materials =
|description =  
|description =  
}}</nowiki>
}}
 
<!-- List off links to tool pages that this auth is required for -->
 
[[Tool page]], [[Tool page]]</nowiki>
; Save the page
<nowiki></nowiki>
Finally save the [[Authorizations]] page
; Linking to the blue authorization info box from tool pages:
Once the updated [[Authorizations]] loads, under the blue authorization box you just created you'll see "Wiki snippet for admins: <nowiki>[Expand]</nowiki>. Click on this, copy the snippet code, and paste it into the tool's page under the <span style="font-family: monospace ; " >Template:EquipmentPage</span> template. Save that page and you'll see the blue authorization box there.

Revision as of 15:06, 7 March 2025

This is the MediaWiki ToolsAuthorization Template, please don't mess with the template (Template:ToolAuthorization) unless you know what you are doing

Template Info

DO NOT use this template on any tool pages.
Only use this template in the big list on the Authorizations page. You will later LINK TO the blue Authorization Info box in the Authorizations page from the tool page using the {{#lst:Authorizations|authslug_for_the_specific_auth_happening}} generated for that unique blue authorization box.

Description of fields
  • Required:
    • authslug: Short no spaces unique ID used to reference the auth information elsewhere on the wiki. hotairballoon
    • authorization_name: Name of tool or bundled authorization. Hot Air Balloon or General Wood Shop
    • authorizer: Name of authorizer, preferably linked to their wiki user page where they can list off better contact info (like their Discord name). [[User:kai_hacker|Kai]]
    • schedule_frequency: Roughly once a week, month, by request, etc. By request
    • discord_channel_link: Right click the channel name to get a link. https://discord.com/channels/1270929620224704544/1270938360394809489
    • discord_channel_name: #aviation-club
  • Optional:
    • prerequisites: Any other auths the member needs to complete first, etc. Completed auth for [[Parachute]]
    • step1: Free text field to provide steps needed to complete. [https://canvas.pumpingstationone.org/courses/40 Complete the Canvas course]
    • step2: Free text field to provide steps needed to complete. Use Canvas to schedule with the next available in-person auth
    • step3: Free text field to provide steps needed to complete. Attend and complete in-person auth
    • required_materials: Tools or gear the member should bring. Aviator goggles, cape, propane.
    • description: Free text field to provide steps needed to complete. Will be rescheduled if there's bad weather.
At the end add in links to the tool pages that this auth is required for, after the template, example: [[Hot Air Balloon]]
Copy and pasta this into the appropriate area section of Authorizations
{{Template:ToolAuthorization
|authslug = 
|authorization_name = 
|authorizer = 
|schedule_frequency = 
|discord_channel_link = 
|discord_channel_name = 
|prerequisites = 
|step1 = 
|step2 = 
|step3 = 
|required_materials = 
|description = 
}}
<!-- List off links to tool pages that this auth is required for -->
[[Tool page]], [[Tool page]]

Finally save the Authorizations page

Linking to the blue authorization info box from tool pages

Once the updated Authorizations loads, under the blue authorization box you just created you'll see "Wiki snippet for admins: [Expand]. Click on this, copy the snippet code, and paste it into the tool's page under the Template:EquipmentPage template. Save that page and you'll see the blue authorization box there.