Template:AuthorizationCourseInfo/doc
{{#ifeq:{{{subst}}}|SUBST
|{{#if:
|Template:Error
}}
}}{{Ambox/{{#ifeq:{{{small}}}|left|small|core}}
|type = content
|image =
|smallimage = {{#if:|{{{smallimage}}}|}}
|imageright =
|smallimageright = {{#if:|{{{smallimageright}}}|}}
|class = ambox-{{#switch:content
|speedy = speedy
|delete = delete
|warning = warning
|content = content
|style = style
|move = move
|protection = protection
|notice|#default = notice
}}
|style =
|textstyle =
|smalltext =
|talk = {{#switch:¬
|¬ =
| = {{#ifeq:Template:FULLROOTPAGENAME|Template:|#}}
|#default = {{{talk}}}
}}
|issue = {{#switch:¬
|¬ =
| = This article
|This {{{sect}}}
}} DO NOT use this template on any tool pages, nor the central Authorizations page. Do not edit this template page directly, unless you know what you're doing.
|fix =
|date = {{#switch:¬
|¬ =
| = {{#ifeq:Template:FULLROOTPAGENAME|Template:|April 2026}}
|#default = {{{date}}}
}}
|info =
}}{{#if:
{{#ifeq: | true
| dontcat
}}{{#ifeq: | no
| dontcat
}}{{#switch: ¬
| yes
| ¬ =
| #default = dontcat
}}{{#switch:
| no =
Template:Basepage subpage
| only =
Template:Basepage subpage
}}
| |
{{#switch:
{{#ifeq: | false
|
| {{#ifeq: | yes
|
| {{#ifeq: | yes
|
| {{#if:x
|
{{#if:{{#titleparts:{{#if:| | Template:AuthorizationCourseInfo/doc }}|0|2}}
|
|
}}
}}
}}
}}
}}
| hide =
| #default =
{{#ifeq: h0#384!5nea+w9 | {{#if:
|{{#if:
|{{#ifexist:Category: from |
|
}}
|[[Category:]]
}}
}}{{#if:
|[[Category:]]
}}{{#if:
|{{#if:
|{{#ifexist:Category: from |
|
}}
|[[Category:]]
}}
}}{{#if:
|[[Category:]]
}}{{#if:
|{{#if:
|{{#ifexist:Category: from |
|
}}
|[[Category:]]
}}
}}{{#if:
|[[Category:]]
}}
|
{{#switch:
{{#if:
| {{{demospace}}}
| {{#if:
|
{{#ifeq:|
| talk
|
}}
|
{{#ifeq:template|template talk
| talk
| template
}}
}}
}}
| main | = | talk = | user = | project = | file | image = | mediawiki = | template = | help = | category = | book = | extension = | other | #default =
}}
|
{{#iferror: {{#expr: 1 + {{#switch:
{{#if:
| {{{demospace}}}
| {{#if:
|
{{#ifeq:|
| talk
|
}}
|
{{#ifeq:template|template talk
| talk
| template
}}
}}
}}
| main | = {{#if:
|{{#if:
|{{#ifexist:Category: from |
|
}}
|[[Category:]]
}}
}}{{#if:
|[[Category:]]
}}{{#if:
|{{#if:
|{{#ifexist:Category: from |
|
}}
|[[Category:]]
}}
}}{{#if:
|[[Category:]]
}}{{#if:
|{{#if:
|{{#ifexist:Category: from |
|
}}
|[[Category:]]
}}
}}{{#if:
|[[Category:]]
}} | talk = | user = | project = | file | image = | mediawiki = | template = {{#switch:Template:
|Template:AuthorizationCourseInfo/doc = {{#ifexpr:{{#ifeq:¬|¬|1|0}}+{{#ifeq:¬|¬|1|0}}+{{#ifeq:¬|¬|1|0}}
|
}}{{#if:
|
}}
|Template: = {{#ifeq:AuthorizationCourseInfo|doc|}}
}}
| help = | category = | book = | extension = | other | #default =
}} }} | {{#switch:
{{#if:
| {{{demospace}}}
| {{#if:
|
{{#ifeq:|
| talk
|
}}
|
{{#ifeq:template|template talk
| talk
| template
}}
}}
}}
| main | = {{#if:
|{{#if:
|{{#ifexist:Category: from |
|
}}
|[[Category:]]
}}
}}{{#if:
|[[Category:]]
}}{{#if:
|{{#if:
|{{#ifexist:Category: from |
|
}}
|[[Category:]]
}}
}}{{#if:
|[[Category:]]
}}{{#if:
|{{#if:
|{{#ifexist:Category: from |
|
}}
|[[Category:]]
}}
}}{{#if:
|[[Category:]]
}} | talk = | user = | project = | file | image = | mediawiki = | template = {{#switch:Template:
|Template:AuthorizationCourseInfo/doc = {{#ifexpr:{{#ifeq:¬|¬|1|0}}+{{#ifeq:¬|¬|1|0}}+{{#ifeq:¬|¬|1|0}}
|
}}{{#if:
|
}}
|Template: = {{#ifeq:AuthorizationCourseInfo|doc|}}
}}
| help = | category = | book = | extension = | other | #default =
}} | }}
}} }}
}}
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
AuthorizationCourseInfoand select AuthorizationCourseInfo...
- 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:
|
- 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.
- 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 =
|step4 =
|step5 =
|required_materials =
|notes =
}}
<!-- 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.