Template:AuthorizationCourseInfo: Difference between revisions
No edit summary |
No edit summary |
||
| Line 1: | Line 1: | ||
<table style="background: AliceBlue; border: 1px solid SteelBlue; width=100% ; " align="center"><tr> |
<table style="background: AliceBlue; border: 1px solid SteelBlue; width=100% ; " align="center"><tr> |
||
< |
<td rowspan="2" style="background: SteelBlue; vertical-align: top; "> |
||
<p style="writing-mode: sideways-rl; margin-top: 8px; "><span style="font-size: 150%; font-weight: bold; color: white; ">Authorization Info </span> |
<p style="writing-mode: sideways-rl; margin-top: 8px; "><span style="font-size: 150%; font-weight: bold; color: white; ">Authorization Course Info </span></p></td> |
||
<td style="vertical-align: top; padding: 4px; "> |
<td style="vertical-align: top; padding: 4px; "> |
||
[[File:Authorization-required.png|350px|link=How Do I Get Authorized?]] |
[[File:Authorization-required.png|350px|link=How Do I Get Authorized?]] |
||
</td><td style="vertical-align: top; padding: 4px 4px 0px 4px; "> |
</td><td style="vertical-align: top; padding: 4px 4px 0px 4px; "> |
||
<span style="font-size: 150%; font-weight: bold; ">{{{Authorization Course Name}}}</span><br> |
<span style="font-size: 150%; font-weight: bold; ">{{{Authorization Course Name}}}</span><br> |
||
'''Authorizer''': {{{Authorizer Name}}}<br>'''Schedule Frequency''': {{{Schedule Frequency}}}<br>{{#if:{{{Discord Channel Link}}}|{{#if: {{{Discord Channel Name}}}|'''Discord Channel''': [{{{Discord Channel Link}}} {{{Discord Channel Name}}}]<br>|}}|}}{{#if:{{{Prerequisites}}}|'''Prerequisites''': {{{Prerequisites}}}<br>|}}{{#if:{{{Step 1}}}|'''Step 1''': {{{Step 1}}}<br>|}}{{#if:{{{Step 2}}}|'''Step 2''': {{{Step 2}}}<br>|}}{{#if:{{{Step 3}}}|'''Step 3''': {{{Step 3}}}<br>|}}{{#if:{{{Step 4}}}|'''Step 4''': {{{Step 4}}}<br>|}}{{#if:{{{Step 5}}}|'''Step 5''': {{{Step 5}}}<br>|}}{{#if:{{{Required Materials}}}|'''Required Materials''': {{{Required Materials}}}<br>|}}{{#if:{{{Notes}}}|'''Notes''': {{{Notes}}}|}}</td></tr><tr>< |
'''Authorizer''': {{{Authorizer Name}}}<br>'''Schedule Frequency''': {{{Schedule Frequency}}}<br>{{#if:{{{Discord Channel Link}}}|{{#if: {{{Discord Channel Name}}}|'''Discord Channel''': [{{{Discord Channel Link}}} {{{Discord Channel Name}}}]<br>|}}|}}{{#if:{{{Prerequisites}}}|'''Prerequisites''': {{{Prerequisites}}}<br>|}}{{#if:{{{Step 1}}}|'''Step 1''': {{{Step 1}}}<br>|}}{{#if:{{{Step 2}}}|'''Step 2''': {{{Step 2}}}<br>|}}{{#if:{{{Step 3}}}|'''Step 3''': {{{Step 3}}}<br>|}}{{#if: {{{Step 4}}} |'''Step 4''': {{{Step 4}}}<br>|}}{{#if:{{{Step 5}}}|'''Step 5''': {{{Step 5}}}<br>|}}{{#if:{{{Required Materials}}}|'''Required Materials''': {{{Required Materials}}}<br>|}}{{#if:{{{Notes}}}|'''Notes''': {{{Notes}}}|}}</td></tr><tr><td colspan="2" style="vertical-align: top; padding: 0px 4px 4px 4px; font-weight: normal; ">'''Tools covered''': {{:Special:WhatLinksHere/Authorizations/{{{Authorization Course Name}}}}} |
||
<div class="collapse-pre-one mw-collapsible mw-collapsed" style="margin-top: -10px ; > |
|||
<div class="mw-collapsible-toggle" style="float: none;"> |
|||
<span class="up">[[File:Expand-small-silver.png|12px|right|link=]]</span> |
|||
</div> |
|||
<div class="mw-collapsible-content"> |
|||
<div style="text-align: right ; padding: 10px 0px 16px 0px ; ">'''{{{Authorization Course Name}}}'''<br>[[Authorizations/{{{Authorization Course Name}}}|Edit this authorization course info box]].<br>Copy and paste this into the tool's wiki page<br>under the <span style="font-family: monospace ; " >Template:EquipmentPage</span> template.</div><div style="text-align: right ; "><span style="background: MistyRose ; border: solid cadetblue ; border-radius: 40px ; padding: 4px 10px 4px 10px ; font-family: monospace ; text-align: right ; " ><nowiki>{{:Authorizations/</nowiki>{{{Authorization Course Name}}}<nowiki>}}</nowiki></span></div> |
|||
</div> |
|||
</div></td></tr></table><br> |
|||
<noinclude> |
<noinclude> |
||
{{Documentation}} |
{{Documentation}} |
||
| Line 13: | Line 22: | ||
{ |
{ |
||
"params": { |
"params": { |
||
"Authorization |
"Authorization Course Name": { |
||
"description": "Name of |
"description": "Name of the authorization course. Important: Must match the name of this page.", |
||
"example": "Hot Air Balloon", |
"example": "Hot Air Balloon", |
||
"required": true |
"required": true |
||
"suggestedvalues": [ |
|||
"testing" |
|||
| ⚫ | |||
}, |
}, |
||
" |
"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", |
|||
| ⚫ | |||
"required": true |
|||
}, |
|||
| ⚫ | |||
"description": "Name of channel.", |
|||
"example": "#aviation-club" |
|||
}, |
|||
"Prerequisites": { |
|||
"description": "Any other auths the member needs to complete first, etc.", |
|||
"example": "Completed auth for [[Parachute]]" |
|||
}, |
|||
| ⚫ | |||
"description": "Free text field to provide steps needed to complete.", |
|||
"example": "[https://canvas.pumpingstationone.org/courses/40 Complete the Canvas course]" |
|||
}, |
|||
| ⚫ | |||
"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." |
|||
}, |
|||
| ⚫ | |||
"description": "Tools or gear the member should bring.", |
|||
"example": "Aviator goggles, cape, propane" |
|||
}, |
|||
| ⚫ | |||
"description": "Free text field to provide extra notes.", |
|||
"example": "Will be rescheduled if there's bad weather.", |
|||
"type": "content" |
|||
} |
|||
}, |
}, |
||
"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." |
"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", |
|||
| ⚫ | |||
| ⚫ | |||
"Discord Channel Name", |
|||
| ⚫ | |||
"Prerequisites", |
|||
"Step 1", |
|||
"Step 2", |
|||
"Step 3", |
|||
"Step 4", |
|||
"Step 5", |
|||
"Required Materials", |
|||
"Notes" |
|||
] |
|||
} |
} |
||
</templatedata></noinclude> |
</templatedata></noinclude> |
||
Revision as of 21:24, 28 March 2025
|
Authorization Course Info |
Error creating thumbnail: Unable to save thumbnail to destination |
{{{Authorization Course Name}}} Schedule Frequency: {{{Schedule Frequency}}} {{#if:{{{Discord Channel Link}}}|{{#if: {{{Discord Channel Name}}}|Discord Channel: [{{{Discord Channel Link}}} {{{Discord Channel Name}}}] |}}|}}{{#if:{{{Prerequisites}}}|Prerequisites: {{{Prerequisites}}} |}}{{#if:{{{Step 1}}}|Step 1: {{{Step 1}}} |}}{{#if:{{{Step 2}}}|Step 2: {{{Step 2}}} |}}{{#if:{{{Step 3}}}|Step 3: {{{Step 3}}} |}}{{#if: {{{Step 4}}} |Step 4: {{{Step 4}}} |}}{{#if:{{{Step 5}}}|Step 5: {{{Step 5}}} |}}{{#if:{{{Required Materials}}}|Required Materials: {{{Required Materials}}} |}}{{#if:{{{Notes}}}|Notes: {{{Notes}}}|}} |
| Tools covered: {{:Special:WhatLinksHere/Authorizations/{{{Authorization Course Name}}}}}
{{{Authorization Course Name}}} [[Authorizations/{{{Authorization Course Name}}}|Edit this authorization course info box]]. Copy and paste this into the tool's wiki page under the Template:EquipmentPage template. {{: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: |}}
{{#if:none
| none
| [[File:{{#switch:
| warning = Cmbox deletion.png
| editnotice = Imbox notice.png
| system
| #default = Imbox notice.png
}}|40x40px|link=|alt=]]
}} | {{#if:
|
| {{#if: {{#ifexist:
{{#if:
|
| {{#switch: Template
|
| File
| MediaWiki
| Category = Template talk
| #default = Template
}}:{{#switch: AuthorizationCourseInfo | sandbox | testcases = AuthorizationCourseInfo | #default = AuthorizationCourseInfo }}/doc }}
| yes
}}
|
The above documentation is transcluded from [[{{#if:
|
| {{#switch: Template
|
| File
| MediaWiki
| Category = Template talk
| #default = Template
}}:{{#switch: AuthorizationCourseInfo | sandbox | testcases = AuthorizationCourseInfo | #default = AuthorizationCourseInfo }}/doc }}]]. ([{{fullurl:{{#if:
|
| {{#switch: Template
|
| File
| MediaWiki
| Category = Template talk
| #default = Template
}}:{{#switch: AuthorizationCourseInfo | sandbox | testcases = AuthorizationCourseInfo | #default = AuthorizationCourseInfo }}/doc }}|action=edit}} edit] | [{{fullurl:{{#if:
|
| {{#switch: Template
|
| File
| MediaWiki
| Category = Template talk
| #default = Template
}}:{{#switch: AuthorizationCourseInfo | sandbox | testcases = AuthorizationCourseInfo | #default = AuthorizationCourseInfo }}/doc }}|action=history}} history]) }}:{{#switch: AuthorizationCourseInfo | sandbox | testcases = AuthorizationCourseInfo | #default = AuthorizationCourseInfo }}/doc }} | action=edit&preload=Template:Documentation/preload-module-doc }} create] a documentation page for this Scribunto module }}:{{#switch: AuthorizationCourseInfo | sandbox | testcases = AuthorizationCourseInfo | #default = AuthorizationCourseInfo }}/sandbox | [[{{#switch: Template
|
| File
| MediaWiki
| Category = Template talk
| #default = Template
}}:{{#switch: AuthorizationCourseInfo | sandbox | testcases = AuthorizationCourseInfo | #default = AuthorizationCourseInfo }}/sandbox|sandbox]] ([{{fullurl: {{#switch: Template | | File | MediaWiki | Category = Template talk | #default = Template }}:{{#switch: AuthorizationCourseInfo | sandbox | testcases = AuthorizationCourseInfo | #default = AuthorizationCourseInfo }}/sandbox | action=edit }} edit] | diff) | sandbox ([{{fullurl: {{#switch: Template
|
| File
| MediaWiki
| Category = Template talk
| #default = Template
}}:{{#switch: AuthorizationCourseInfo | sandbox | testcases = AuthorizationCourseInfo | #default = AuthorizationCourseInfo }}/sandbox | action=edit&preload=Template:Documentation/preload-{{#ifeq: Template|Module|module-}}sandbox }} create] | [{{fullurl: {{#switch: Template | | File | MediaWiki | Category = Template talk | #default = Template }}:{{#switch: AuthorizationCourseInfo | sandbox | testcases = AuthorizationCourseInfo | #default = AuthorizationCourseInfo }}/sandbox | action=edit&preload=Template%3A%7B%7B%23switch%3A+AuthorizationCourseInfo%0A%7C+sandbox%0A%7C+testcases+%3D+AuthorizationCourseInfo%0A%7C+%23default+%3D+AuthorizationCourseInfo%0A%7D%7D&summary=Create+sandbox+version+of+%5B%5BTemplate%3A%7B%7B%23switch%3A+AuthorizationCourseInfo%0A%7C+sandbox%0A%7C+testcases+%3D+AuthorizationCourseInfo%0A%7C+%23default+%3D+AuthorizationCourseInfo%0A%7D%7D%5D%5D }} mirror]) }} and {{
#ifexist: {{#switch: Template
|
| File
| MediaWiki
| Category = Template talk
| #default = Template
}}:{{#switch: AuthorizationCourseInfo | sandbox | testcases = AuthorizationCourseInfo | #default = AuthorizationCourseInfo }}/testcases | [[{{#switch: Template
|
| File
| MediaWiki
| Category = Template talk
| #default = Template
}}:{{#switch: AuthorizationCourseInfo | sandbox | testcases = AuthorizationCourseInfo | #default = AuthorizationCourseInfo }}/testcases|testcases]] ([{{fullurl: {{#switch: Template | | File | MediaWiki | Category = Template talk | #default = Template }}:{{#switch: AuthorizationCourseInfo | sandbox | testcases = AuthorizationCourseInfo | #default = AuthorizationCourseInfo }}/testcases | action=edit }} edit]) | testcases ([{{fullurl: {{#switch: Template
|
| File
| MediaWiki
| Category = Template talk
| #default = Template
}}:{{#switch: AuthorizationCourseInfo | sandbox | testcases = AuthorizationCourseInfo | #default = AuthorizationCourseInfo }}/testcases | action=edit&preload=Template:Documentation/preload-{{#ifeq: Template|Module|module-}}testcases }} create]) }} pages. }}:{{#switch: AuthorizationCourseInfo | sandbox | testcases = AuthorizationCourseInfo | #default = AuthorizationCourseInfo }}/doc }}|/doc]] subpage.
}}{{#switch: Template
| File =
| Module = [[Special:PrefixIndex/Template:{{#switch: AuthorizationCourseInfo
| sandbox | testcases = AuthorizationCourseInfo | #default = AuthorizationCourseInfo }}/|Subpages of this module]]. | Template = [[Special:PrefixIndex/Template:{{#switch: AuthorizationCourseInfo
| sandbox | testcases = AuthorizationCourseInfo | #default = AuthorizationCourseInfo }}/|Subpages of this template]]. | #default = [[Special:PrefixIndex/Template:{{#switch: AuthorizationCourseInfo
| sandbox | testcases = AuthorizationCourseInfo | #default = AuthorizationCourseInfo }}/|Subpages of this page]]. }}
}}{{#ifexist:Template:AuthorizationCourseInfo/Print
|
}} | {{{imageright}}} |
{{#switch:
| | warning | editnotice | system =
| #default =
}} }}{{#if:
{{#switch: AuthorizationCourseInfo
| doc
| testcases = strange
}}
|
}} <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": "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", "required": true }, "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": "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.", "type": "content" } }, "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>