Template:AuthorizationCourseInfo: Difference between revisions

From PS:1 Wiki Dev
Jump to navigationJump to search
Content deleted Content added
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. -->
</noinclude>
<templatedata>
{
"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 15:27, 29 March 2025

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

Authorization Course Info

Error creating thumbnail: Unable to save thumbnail to destination

{{#if:|{{{Authorization Course Name}}}|REQUIRED INFO MISSING}}

Authorizer: {{#if:|{{{Authorizer Name}}}|REQUIRED INFO MISSING}}
Schedule Frequency: {{#if:|{{{Schedule Frequency}}}}|REQUIRED INFO MISSING}}
{{#if:|{{#if: |Discord Channel: [{{{Discord Channel Link}}} {{{Discord Channel Name}}}]
|}}|}}{{#if:|Prerequisites: {{{Prerequisites}}}
|}}{{#if:|Step 1: {{{Step 1}}}
|}}{{#if:|Step 2: {{{Step 2}}}
|}}{{#if:|Step 3: {{{Step 3}}}
|}}{{#if:|Step 4: {{{Step 4}}}
|}}{{#if:|Step 5: {{{Step 5}}}
|}}{{#if:|Required Materials: {{{Required Materials}}}
|}}{{#if:|Notes: {{{Notes}}}|}}
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}}}]]

{{#ifeq: AuthorizationCourseInfo | sandbox |

Template:Template sandbox notice }}{{documentation/start box{{#if: |/}} | preload = | heading = ¬ | heading-style = | content =

| docpage =

 {{#if: 
 | 
 | {{#switch: Template
 | 
 | File
 | MediaWiki
 | Category = Template talk
 | #default = Template

}}:{{#switch: AuthorizationCourseInfo | sandbox | testcases = AuthorizationCourseInfo | #default = AuthorizationCourseInfo }}/doc

 }}

| doc exist =

 {{#ifexist: 
   {{#if: 
   |    
   | {{#switch: Template
 | 
 | File
 | MediaWiki
 | Category = Template talk
 | #default = Template

}}:{{#switch: AuthorizationCourseInfo | sandbox | testcases = AuthorizationCourseInfo | #default = AuthorizationCourseInfo }}/doc

   }}
 | yes
 }}

}} {{#switch: {{#if:|1|0}}{{#if:|1|0}}{{#ifexist:|1|0}}{{#ifexist:{{#switch: Template

 | 
 | File
 | MediaWiki
 | Category = Template talk
 | #default = Template

}}:{{#switch: AuthorizationCourseInfo | sandbox | testcases = AuthorizationCourseInfo | #default = AuthorizationCourseInfo }}/doc|1|0}} | 0000 | 0100 | 0010 | 0101 = | 0001 | 0011 = {{ {{#switch: Template

 | 
 | File
 | MediaWiki
 | Category = Template talk
 | #default = Template

}}:{{#switch: AuthorizationCourseInfo | sandbox | testcases = AuthorizationCourseInfo | #default = AuthorizationCourseInfo }}/doc }} | 0110 | 0111 = {{ }} | 1000 | 1001 | 1010 | 1011 | 1100 | 1101 | 1110 | 1111 = }}

{{#if:

 {{#ifeq:  | off
 |
 | {{#ifexist: 
   {{#if: 
   |    
   | {{#switch: Template
 | 
 | File
 | MediaWiki
 | Category = Template talk
 | #default = Template

}}:{{#switch: AuthorizationCourseInfo | sandbox | testcases = AuthorizationCourseInfo | #default = AuthorizationCourseInfo }}/doc

   }}
 | yes
 }}{{
   #switch: Template
   | User
   | Module
   | Template = yes
   }}
 }}

|

{{#ifeq:none|none | | }} {{#if: |

}}

{{#switch:

| | warning | editnotice | system =

| #default =

This message box is using an invalid "type=" parameter and needs fixing.

}} }}{{#if:

 {{#switch: AuthorizationCourseInfo
 | doc
 | testcases = strange
 }}

|

}}