Template:AuthorizationCourseInfo: Difference between revisions

From Pumping Station One
No edit summary
No edit summary
Line 17: Line 17:
{{Documentation}}
{{Documentation}}
<!-- Categories go in the /doc subpage, and interwikis go in Wikidata. -->
<!-- Categories go in the /doc subpage, and interwikis go in Wikidata. -->
<templatedata>
</noinclude>
{
"params": {
"Authorization Course Name": {
"description": "Name of the authorization course. Important: Must match the name of this page.",
"example": "Hot Air Balloon",
"required": true
},
"Authorizer Name": {
"description": "Name(s) of authorizer(s), preferably linked to their wiki user page where they can list off better contact info, like their Discord name.",
"example": "[[User:kai_hacker|Kai]]",
"required": true
},
"Schedule Frequency": {
"description": "When/how often does the authorization occurs.",
"example": "Roughly once a week, every third Monday, by request, etc",
"required": true
},
"Discord Channel Link": {
"description": "Right-click the channel name to get a link.",
"example": "https://discord.com/channels/1270929620224704544/1270938360394809489"
},
"Discord Channel Name": {
"description": "Name of channel.",
"example": "#aviation-club"
},
"Prerequisites": {
"description": "Any other auths the member needs to complete first, etc.",
"example": "Completed auth for [[Parachute]]"
},
"Step 1": {
"description": "Free text field to provide steps needed to complete.",
"example": "[https://canvas.pumpingstationone.org/courses/40 Complete the Canvas course]"
},
"Step 2": {
"description": "Free text field to provide steps needed to complete.",
"example": "Use Canvas to schedule with the next available in-person auth"
},
"Step 3": {
"description": "Free text field to provide steps needed to complete.",
"example": "Attend and complete in-person auth"
},
"Step 4": {
"description": "Free text field to provide steps needed to complete."
},
"Step 5": {
"description": "Free text field to provide steps needed to complete."
},
"Required Materials": {
"description": "Tools or gear the member should bring.",
"example": "Aviator goggles, cape, propane"
},
"Notes": {
"description": "Free text field to provide extra notes.",
"example": "Will be rescheduled if there's bad weather."
}
},
"description": "This template generates the blue Authorization Course Info box. Go to the \"Templates:Authorization Course Info\" page to find out how to insert this on tool pages. Important: The name of the current page you're inserting this template into must match the \"Authorization Page Name\" field.",
"paramOrder": [
"Authorization Course Name",
"Authorizer Name",
"Schedule Frequency",
"Discord Channel Name",
"Discord Channel Link",
"Prerequisites",
"Step 1",
"Step 2",
"Step 3",
"Step 4",
"Step 5",
"Required Materials",
"Notes"
]
}
</templatedata></noinclude>

Revision as of 09:27, 29 March 2025

[[Authorizations/{{{Authorization Course Name}}}]]

Authorization Course Info

REQUIRED INFO MISSING

Authorizer: REQUIRED INFO MISSING
Schedule Frequency: REQUIRED INFO MISSING
Tools covered: {{:Special:WhatLinksHere/Authorizations/{{{Authorization Course Name}}}}}
Edit: [[Authorizations/{{{Authorization Course Name}}}]]
Copy and paste this into the tool's wiki page [[Authorizations/{{{Authorization Course Name}}}]]
under the Template:EquipmentPage template. [[Authorizations/{{{Authorization Course Name}}}]]
{{:Authorizations/{{{Authorization Course Name}}}}}Authorizations/Hot Air Balloon
Authorizations/Hot Air Balloon
Authorizations/Hot Air Balloon


Authorizations/Hot Air Balloon [[Authorizations/{{{Authorization Course Name}}}]]

Documentation icon Template documentation[view] [edit] [history] [purge]

Authorization Course Info Box Template

How to create a new authorization info box

Step 1:

Create a new child page under Authorizations using the title of the authorization course. Do not stick "auth" or "authorization" in the name. Note that a single authorization course page is all that's needed to cover multiple tools. To make a new page quickly, type in the name at the end of the URL to the Authorizations...

https://wiki.pumpingstationone.org/wiki/Authorizations/Hot_Air_Balloon

Create the page.


Step 2:

From the Insert menu select Template. Type in AuthorizationCourseInfo and select AuthorizationCourseInfo...

File:VisualEditor Template Insert Menu-en.png


If you don't see the Insert menu, switch over to the visual editor...


If you want to use the code editor, scroll down to find what to copy and paste.

Step 3:

Fill out the template form. Authorization Course Name, Authorizer Name, and Schedule Frequency are required fields. Check mark optional fields on the left as needed.

Insert the template.


Description of each field can be found at the end of this page. Refer to this example if you want some inspiration...

EXAMPLE:

Authorizations/Hot Air Balloon

Authorization Course Info

Hot Air Balloon

Authorizer: Jane Hacker
Schedule Frequency: Roughly once a week}
Discord Channel: #aviation-club
Prerequisites: Completed auth for Parachute
Step 1: Complete the Canvas course
Step 2: Use Canvas to schedule with the next available in-person auth
Step 3: Complete the in-person auth
Required Materials: Aviator goggles, cape, propane.
Notes: Will be rescheduled if there's bad weather.
Tools covered:
Edit: Authorizations/Hot Air Balloon
Copy and paste this into the tool's wiki page Authorizations/Hot Air Balloon
under the Template:EquipmentPage template. Authorizations/Hot Air Balloon
{{:Authorizations/Hot Air Balloon}}Authorizations/Hot Air Balloon
Authorizations/Hot Air Balloon
Authorizations/Hot Air Balloon

Authorizations/Hot Air Balloon Authorizations/Hot Air Balloon

Note that the 'Tools covered section will later autopopulate with every page that uses a copy of this Authorization Course Info page.

Step 4:

Save the page. Do not include any other content on the page.

Once the page loads, click on the gear icon in the bottom right corner of the Authorization Course Info box, and copy the insert page code.


Step 5:

Paste the code into all related tool pages and the appropriate section in the Authorizations page.


Step 6:

In the future if you want to modify the authorization course info content, click on the go and go to the Edit this auth link.

That's it!